添加类文件说明...

master
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
{
/// <summary>
/// 网页数据管理类
/// </summary>
public static class HttpUtils
{
/// <summary>

View File

@ -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");

View File

@ -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");

View File

@ -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;
}