|
-
March 29th, 2009, 02:14 AM
#1
Binding in 1 direction only (control to dataset)
Hi,
I am using form 2.0 to create a form in visual studio 2008. In this form, there is a textbox. I bind this textbox to a datatable , which will be populated by the data in the sql server database, when the form is launched.
Now here is the problem. I want my textbox to be empty initially, so that when user enter a value and press the save button, the value in the textbox will goes into the datatable.
But whenever I launch my form, my textbox always get populated by some value (I am not suprise since my textbox is binded to a datatable's column).
So question is how to I make my textbox empty initially while it is still bind to the datatable?
Last edited by hanct; March 29th, 2009 at 06:07 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|