Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with data binding for grid
Message
De
26/06/2008 16:01:51
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01326791
Message ID:
01327041
Vues:
11
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform