Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete and BindingContext() question
Message
From
05/04/2005 19:27:40
 
 
To
05/04/2005 12:56:20
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01001572
Message ID:
01001746
Views:
29
Well, Denis, I have a question for you ... I cannot find a DataSource or DataMember property for TextBox controls. So, what exactly are you doing?

~~Bonnie



>Hi,
>I using ArrayList as DataSource for my form.
>The form has DataGrid and Textboxes.
>DataGrid.DataSource = Me.oArrayList
>DataGrid.DataMember = ""
>
>Textbox.DataSource = Me.oArrayList
>Textbox.DataMember = "valid_object_property"
>
>All works fine untill I delete all items from ArrayList.
>DataGrid is empty, but textboxes still contains last item information.
>
>How can I refresh textboxes when ArrayList.count = 0?
>
>Thanks
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform