0
Reply

requesting help for checkbox in datagrid

toot_fran

toot_fran

Mar 22 2005 1:59 AM
1.7k
$ .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.