hi all,
i am trying to add check box to my datagrid view and update checked rows to sql server. please help me.
i am using vs 2005 and sql 2000
thanks in advance.
hi all,
i am trying to add check box to my datagrid view and update checked rows to sql server. please help me.
i am using vs 2005 and sql 2000
thanks in advance.
What exactly is the help you need? What are you doing now and what problem are you having?
You need to specify your problem, or nobody will answer.
Add a template field in the datagrid edit columns field.
Then in edit template fields add the check box and assign the problem as needed
Add boolean field to your datasource,
Dim dt As New DataTable
dt.Columns.Add("Test", GetType(Boolean))
dt.Rows.Add(True)
dt.Rows.Add(False)
DataGridView1.DataSource = dt
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.