Hello again.

I would like to ask if anyone knows how to use datagrid, that when i clicked or double clicked a data shown in datagrid it will appear in a textbook.. thanks in advance.

Recommended Answers

All 5 Replies

Is this a Visual Basic or a C# question?
I both cases you could better use a DataGridView instead of a DataGrid.

Is this a Visual Basic or a C# question?
I both cases you could better use a DataGridView instead of a DataGrid.

i think datagridview is not available in vb.net

Datagridview is available in vb.net

datagridview is not shown in my toolbox. can you teach me how to.

actually i'm using this codes

Dim Col As Integer = 0
messagebox.show(DataGrid1.Item(DataGrid1.CurrentRowIndex, Col))

but i don't know how to display the selected item in other form even i had declared a public variable in my module to use.

datagridview is not shown in my toolbox. can you teach me how to.

actually i'm using this codes

Dim Col As Integer = 0
messagebox.show(DataGrid1.Item(DataGrid1.CurrentRowIndex, Col))

but i don't know how to display the selected item in other form even i had declared a public variable in my module to use.

http://knol.google.com/k/-/-/1lfp8o9xxpx13/tsnq2b/vb-net-datagrid-5.jpg

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.