Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataColumn property
Message
From
11/12/2003 01:16:01
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
10/12/2003 21:18:57
Gerald Caussade
Department Mental Health - Missouri
Farmington, Missouri, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00857952
Message ID:
00857981
Views:
29
If you drop the exact same reference that is in the property into the Watch window, is the DataColumn still null?

>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform