I am creating a project in which I have to show all the columns of database table named LMTS_compatibility in a datagrid. How can I do it in VB.NET

I am able to connect but cannot enter the values in datagrid and display it.
Please Help!!!!!!!!!
:icon_cry:

Re: Display table in datagrid 80 80

I am creating a project in which I have to show all the columns of database table named LMTS_compatibility in a datagrid. How can I do it in VB.NET

I am able to connect but cannot enter the values in datagrid and display it.
Please Help!!!!!!!!!
:icon_cry:

I have got it.
But now I want to edit the datagrid during the runtime.
How can I do it ???:icon_sad:
Please Help!!!!!!!

Re: Display table in datagrid 80 80

In property builde u have buttom column in that edit,update,column s i there
take that
In propertis u have EditCommand double click onit
then write this code in that
Protected Sub DataGrid1_EditCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DataGrid1.EditCommand
DataGrid1.EditItemIndex = e.Item.ItemIndex
Call bind()
End Sub

Re: Display table in datagrid 80 80

Hi bro... Can I knw hw U get to view all the attribute in database in specific table.


I am creating a project in which I have to show all the columns of database table named LMTS_compatibility in a datagrid. How can I do it in VB.NET

I am able to connect but cannot enter the values in datagrid and display it.
Please Help!!!!!!!!!
:icon_cry:

Be a part of the DaniWeb community

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