We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataGrid in VB.Net

Thread ID:

Created:

Updated:

Platform:

Replies:

8632 Nov 14,2003 05:48 AM UTC Dec 4,2003 11:04 PM UTC WinForms 2
loading
Tags: FAQ
Sree Harshavardhana
Asked On November 14, 2003 05:48 AM UTC

Hai, My problem is I am using DataGrid in VB.Net with dataset object. Here I can get the records from the Database. But to see the records I have to click the '+' to expand Grid. Is there any solution where I can see the records directly with expanding Grid? And another problem, even though if i make datagrid as read only the cursor will be on first column. If I want visible any controls on the grid, I could not do. Is there any method to hide the cursor from the grid? It is very much helpfull to me if you can solve these problems. I hope that I receive postive replay from you. Thanking you, Sree Harshavardhana.

John Persson
Replied On November 22, 2003 09:46 AM UTC

> Hai, > > My problem is I am using DataGrid in VB.Net with dataset object. Here I can get the records from the Database. But to see the records I have to click the '+' to expand Grid. Is there any solution where I can see the records directly with expanding Grid? > > And another problem, even though if i make datagrid as read only the cursor will be on first column. If I want visible any controls on the grid, I could not do. Is there any method to hide the cursor from the grid? > > It is very much helpfull to me if you can solve these problems. I hope that I receive postive replay from you. > > Thanking you, > > Sree Harshavardhana. Try this: SQLAdapter.TableMappings.Add("Table", TableName) SQLAdapter.Fill(myDataSet) DataGrid1.DataSource = myDataSet.Table(TableName)

Lavanya.A
Replied On December 4, 2003 11:04 PM UTC

Hi, Another possible way is to take the dataset to a datatable. And bind it directly, instead of using dataset.tables(0). Lavanya.A > Hai, > > My problem is I am using DataGrid in VB.Net with dataset object. Here I can get the records from the Database. But to see the records I have to click the '+' to expand Grid. Is there any solution where I can see the records directly with expanding Grid? > > And another problem, even though if i make datagrid as read only the cursor will be on first column. If I want visible any controls on the grid, I could not do. Is there any method to hide the cursor from the grid? > > It is very much helpfull to me if you can solve these problems. I hope that I receive postive replay from you. > > Thanking you, > > Sree Harshavardhana.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;