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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridListControl and VS 2005

Thread ID:

Created:

Updated:

Platform:

Replies:

36993 Nov 14,2005 06:11 PM UTC Nov 14,2005 08:13 PM UTC Windows Forms 2
loading
Tags: GridControl
Chad Elliot
Asked On November 14, 2005 06:11 PM UTC

I have installed the Essential Grid V 3.2 on a machine with Visual Studio 2005 Beta. All of my code seems to work except for when I try to bind a dataset to a GridListControl. I understand that there are issues with VS 20005 and V 3.2 of the Essential Grid, but I was wondering if there is a current work around. Here is the issue. When I try to bind a data set to a grid list control, I get one of two results. If I set MultiColumn = false, the grid is filled with a single column and every row is blank. If I set MultiColumn = true, no columns or rows appear, but the scrollbar acts like there are records. Here is the code I used: Dim MyDataSet As New DataSet Dim con As New SqlConnection Dim com As New SqlCommand Dim da As New SqlDataAdapter con.ConnectionString = "integrated security=SSPI;data source=SQL1;initial catalog=db_Core" com.Connection = con com.CommandText = "select CLIENT_ID, CLIENT, Sources from tbl_Cid_XREF With (nolock) order by tbl_Cid_XREF.CLIENT" da.SelectCommand = com da.Fill(MyDataSet, "Table") GridListControl1.MultiColumn = True GridListControl1.DataSource = MyDataSet.Tables("Table")

Administrator [Syncfusion]
Replied On November 14, 2005 06:29 PM UTC

If you try using a .Net 2.0 DataGridView and set its DataSource to the same DataTable, does it show up there? Do you get any exceptions being thrown? The GridListControlSample we ship works OK if you set its DataSource to a DataTable using version 3.3 of our libraries and .NET 2.0 release version.

Chad Elliot
Replied On November 14, 2005 08:13 PM UTC

Unfortunately, no errors are generated. When I set the DataSource property of a DataGridView, the data displayed correctly. I tried GridListControlSample and it worked just fine, but the ComboBoxBaseGridDemo did not. When I tried to run the program, Visual Studio told me there were build errors, but when I looked for the errors in Visual Studio, none where found.

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

;