$ .00
-------------------------------------------------------------------------------------------------------
connection:
conn.ConnectionString = "data source=(local);initial catalog=PizzaInfo;integrated security=true;";
conn.Open();
comm.Connection = conn;
comm.CommandText = "select * from CustPizza where CatalogID=4";
SqlDataReader dr = comm.ExecuteReader();
this.DataGrid1.DataSource = dr;
this.DataGrid1.DataBind();
dr.Close();
------------------------------------------------------------------------------------------------------
I have created a datagrid and bound checkbox to toppings, i wish to know how to find out how many items the user checked and also to place the values checked into MS SQL database.
Please help. Thank you.
Replies
Know the answer? Post it — somebody with the same question will find it here.