Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Easy mmUltraGrid Question
Message
De
10/03/2005 15:49:02
 
 
À
10/03/2005 13:12:30
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
00994520
Message ID:
00994616
Vues:
12
Actually there is another way to go around that problem.

1. Manually design the schema and include only columns that you'll need. Make sure that the key property on the column is exactly the field name.

2. Use SetDataBinding method of the grid in Form Load event to bind the data source and maintain the schema. Do not use DataSource prop because the schema will be lost.

for example
Form_Load ...
DataSet ds = BizObj.LoadDataMethodWhatEver();
ultraGrid.SetDataBinding(ds,"TableOfInterest", true);
// the last parameter is hideNewColumns parameter that we need

Hope it helps.

Regards,
Nick
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform