Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataColumn property
Message
From
10/12/2003 21:18:57
Gerald Caussade
Department Mental Health - Missouri
Farmington, Missouri, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
DataColumn property
Miscellaneous
Thread ID:
00857952
Message ID:
00857952
Views:
76
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
Next
Reply
Map
View

Click here to load this message in the networking platform