Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataColumn property
Message
De
10/12/2003 21:18:57
Gerald Caussade
Department Mental Health - Missouri
Farmington, Missouri, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
DataColumn property
Divers
Thread ID:
00857952
Message ID:
00857952
Vues:
75
One of my properties on my derived TextBox called DMHTextBox is of type DataColumn. WhenI set the property in the property editor at design time, it shows a + sign with info in it about the column I selected. However, it shows nothing in the box directly to the right of the property. So there is the prop name DataColumn an empty box, but a + sign that can be expanded. It looks like I've selected a column.

However, when I call my custom DataBind method, I don't pass in the Column or DataView I use those set in Properties from design time. For some reason the DataColumn is null! I confirm this in the debugger, but it is "set" in the design mode! The DataView works fine, it is not null.

I think it is great that the property editor recognizes the type and allows you to pick the column. It seems to work for DataView, but not DataColumn.

Any ideas? Am I being clear? :)

-Jerry
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform