mirror of
https://e.coding.net/circlecloud/CitySunlight.git
synced 2025-11-24 21:46:18 +00:00
添加类文件说明...
This commit is contained in:
@@ -5,6 +5,9 @@ using System.Web;
|
||||
|
||||
namespace CitySunlight
|
||||
{
|
||||
/// <summary>
|
||||
/// 网页数据管理类
|
||||
/// </summary>
|
||||
public static class HttpUtils
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -6,6 +6,9 @@ using System.Web;
|
||||
|
||||
namespace CitySunlight
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品分类管理类
|
||||
/// </summary>
|
||||
public static class ProductClassManager
|
||||
{
|
||||
public static SqlHelper sql = new SqlHelper("Data Source=.;Initial Catalog=myApplication;Persist Security Info=True;User ID=sa;Password=325325");
|
||||
|
||||
@@ -6,6 +6,9 @@ using System.Web;
|
||||
|
||||
namespace CitySunlight.Product
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品管理类
|
||||
/// </summary>
|
||||
public static class ProductManager
|
||||
{
|
||||
private static SqlHelper sql = new SqlHelper("Data Source=.;Initial Catalog=myApplication;Persist Security Info=True;User ID=sa;Password=325325");
|
||||
|
||||
@@ -19,7 +19,6 @@ namespace CitySunlight
|
||||
/// </summary>
|
||||
public string ConnectionString
|
||||
{
|
||||
|
||||
set { connectionString = value; }
|
||||
}
|
||||
|
||||
@@ -174,7 +173,6 @@ namespace CitySunlight
|
||||
cmd.Parameters.Add(parapmeter);
|
||||
}
|
||||
}
|
||||
|
||||
con.Open();
|
||||
result = cmd.ExecuteScalar();
|
||||
con.Close();
|
||||
@@ -222,7 +220,6 @@ namespace CitySunlight
|
||||
cmd.Parameters.Add(parameter);
|
||||
}
|
||||
}
|
||||
|
||||
con.Open();
|
||||
count = cmd.ExecuteNonQuery();
|
||||
con.Close();
|
||||
@@ -240,7 +237,6 @@ namespace CitySunlight
|
||||
{
|
||||
con.Open();
|
||||
table = con.GetSchema("Tables");
|
||||
|
||||
}
|
||||
return table;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user