|
Hi Guys,
I have one pbm in datagrid. Iadd checkbox in datagrid when we add data from the data table. Here last empty row in datagrid also have a checkbox. How can i remove this check box.
da = New SqlDataAdapter(str, con) col = New DataColumn("Select", System.Type.GetType"System.Boolean")) col.DefaultValue = False dt2.Columns.Add(col) da.Fill(dt2) dgreservation.DataSource = dt2
This is the code i used to add a checkbox in data grid....
Please Help Me...
Thank you.
|