Hi, i am new to windows application.
I have successfully list DataGridView with contain in a table.
But now i want add a checkbox in DataGridView and assign value in ID field to the checkbox.
How can i do this.... ...Its urgent...
Advance Thanks
I have successfully list DataGridView with contain in a table.
Code:
SqlConnection conn = new SqlConnection(map); string sql = "Select * from Table_Name"; SqlDataAdapter adap = new SqlDataAdapter(sql, conn); SqlCommandBuilder build = new SqlCommandBuilder(adap); DataTable dt = new DataTable("Table_Name"); adap.Fill(dt); dataGridView1.DataSource = dt;
How can i do this.... ...Its urgent...
Advance Thanks
Comment