Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine DataBindings at runtime
Message
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Determine DataBindings at runtime
Miscellaneous
Thread ID:
01051886
Message ID:
01051886
Views:
64
Hello all, I have a form whose textboxes can be bound to either of two DataSets, is there a way to determine which DataSet they're bound to at runtime ?

// pseudo code
if(this.txtAddr1.DataBinding is MyDataSet1)
    someaction;
else
        someotheraction;
Regards,
Peter J. Kane



Pete
Next
Reply
Map
View

Click here to load this message in the networking platform