Hello,
I want to add various controls like checkbox, option button, textbox to data grid in windows applications. How we can do it?
Thanks.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Srig GopalPosted Apr 19, 2007, 1:02 PM
I am currently working on an application where I want to use DataGrid also. One thing is that I do not have access to an ADO server, so I am forced to using the windows form to create a datagrid. I am using VB.net 2003. Can someone please lead me to the right direction. thanks
I am able to create a datagrid using VB.net and the code is the following. but what I plan to do is perform simple mathematical calculations based on certain cell in the datagrid. Can someone please help me how I can do this. Any help on this is greatly appreciated, thanks.
the code is shown below:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim dt As New DataTable
dt.Columns.Add("X")
dt.Rows.Add(New Object() {"A"})
dg1.DataSource = dt
End Sub
Scott LyslePosted Mar 8, 2007, 9:51 PM