1
0
mirror of https://e.coding.net/circlecloud/CitySunlight.git synced 2024-12-04 12:58:46 +00:00

添加类文件说明...

This commit is contained in:
j502647092 2015-06-19 16:11:52 +08:00
parent 84e04c50b6
commit f73640e13e
4 changed files with 9 additions and 4 deletions

View File

@ -5,6 +5,9 @@ using System.Web;
namespace CitySunlight namespace CitySunlight
{ {
/// <summary>
/// 网页数据管理类
/// </summary>
public static class HttpUtils public static class HttpUtils
{ {
/// <summary> /// <summary>

View File

@ -6,6 +6,9 @@ using System.Web;
namespace CitySunlight namespace CitySunlight
{ {
/// <summary>
/// 商品分类管理类
/// </summary>
public static class ProductClassManager public static class ProductClassManager
{ {
public static SqlHelper sql = new SqlHelper("Data Source=.;Initial Catalog=myApplication;Persist Security Info=True;User ID=sa;Password=325325"); public static SqlHelper sql = new SqlHelper("Data Source=.;Initial Catalog=myApplication;Persist Security Info=True;User ID=sa;Password=325325");

View File

@ -6,6 +6,9 @@ using System.Web;
namespace CitySunlight.Product namespace CitySunlight.Product
{ {
/// <summary>
/// 商品管理类
/// </summary>
public static class ProductManager public static class ProductManager
{ {
private static SqlHelper sql = new SqlHelper("Data Source=.;Initial Catalog=myApplication;Persist Security Info=True;User ID=sa;Password=325325"); private static SqlHelper sql = new SqlHelper("Data Source=.;Initial Catalog=myApplication;Persist Security Info=True;User ID=sa;Password=325325");

View File

@ -19,7 +19,6 @@ namespace CitySunlight
/// </summary> /// </summary>
public string ConnectionString public string ConnectionString
{ {
set { connectionString = value; } set { connectionString = value; }
} }
@ -174,7 +173,6 @@ namespace CitySunlight
cmd.Parameters.Add(parapmeter); cmd.Parameters.Add(parapmeter);
} }
} }
con.Open(); con.Open();
result = cmd.ExecuteScalar(); result = cmd.ExecuteScalar();
con.Close(); con.Close();
@ -222,7 +220,6 @@ namespace CitySunlight
cmd.Parameters.Add(parameter); cmd.Parameters.Add(parameter);
} }
} }
con.Open(); con.Open();
count = cmd.ExecuteNonQuery(); count = cmd.ExecuteNonQuery();
con.Close(); con.Close();
@ -240,7 +237,6 @@ namespace CitySunlight
{ {
con.Open(); con.Open();
table = con.GetSchema("Tables"); table = con.GetSchema("Tables");
} }
return table; return table;
} }