|
-
Apr 25th, 2008, 10:38 PM
#2
Re: [2005] clear textbox will clear datagridview
You're binding data to the TextBoxes and then you're clearing the TextBoxes. That means that you are clearing the fields that are bound to the controls. I'm guessing that your intention is to not display a bound record but that's not what you're doing and it's not even possible. If you bind data then a bound item will be displayed. If you don't want to show any data then don't bind it.
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
|