Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Grid Tech Support » ElegantGrid Collapse All
Subject Author Date
Gunasekaran Velu Apr 7, 2008 - 6:57 AM



i am using ElegantGrid(unboundgridcontrol) for Retrieving more data’s from database.But its taking long time to get retrieve.How can i solve this problem?



Can anyone please help me out



 

Gunasekaran Velu Apr 9, 2008 - 3:22 AM

I tried to load data’s from database to boundgridview control in VB.Net.

Below is the code,

    Dim oleDbConnection As OleDbConnection = New OleDbConnection(connectionstring)

        Dim oleDbSelectCommand As New _

           OleDbCommand(select Query, oleDbConnection)

        Dim dataAdapter As New OleDbDataAdapter

        dataAdapter.SelectCommand = oleDbSelectCommand

        Dim dataSet As New DataSet(tablename)

        dataAdapter.Fill(dataSet)

        Dim table As DataTable = dataSet.Tables(0)

        BoundGridControl1.DataSource = table



The data’s are not getting added to the BoundGridviewControl.Please send me any  sample code in VB.Net to bound the data’s to grid view control.



Awaiting your reply

Technical Support Apr 10, 2008 - 9:43 AM

Here is the article that should help you: Data Bound Grid. Did you read it? If after reading it, you still encounter the above problems, please let us know.

Technical Support Apr 8, 2008 - 5:11 AM

If you are working with a database, it is more appropriate to use BoundGridControl. So you may want to try it. If you still have problems after that, please let us know.