示例#1
0
 protected void Load_Category(int catid)
 {
     SqlProduct.SelectCommand = "SELECT * FROM [dbo].[vw_nthing_CatProducts] where CategoryId = " + catid;
     SqlProduct.DataBind();
     CategoryItems.DataSource = SqlProduct;
     CategoryItems.DataBind();
 }