Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with data binding for grid
Message
From
26/06/2008 16:01:51
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01326791
Message ID:
01327041
Views:
10
This message has been marked as the solution to the initial question of the thread.
Hi Linda,

>I have a form with a DataGridView on it. I am able to select the business object to bind to the table but I am unable to edit the columns. When I pull up the edit columns option, none of the columns are displayed. I have done this successfully many times before and can't figure out what the problem is this time. Any ideas? Thanks.

When you select the gridview object in design mode there is a smart tag in the upper right corner of th grid. Clicking on this will give you a pop up menu where you can edit columns. There will be none there but the bottom corner of this form has a checkbox that says something like AutoGenerate Columns. You can uncheck this, and then add the columns you want typically as Bound columns. Check out the jump start section where Kevin walks through Enhancing the grids.

Hope that helps.
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform