|
-
Aug 7th, 2007, 09:44 AM
#1
Thread Starter
Lively Member
[2005] small problem - binding and new row
I have this little problem: I have drag table from Data Source to form and delete navigator (I will use this form ONLY for adding new records) so I have binded text boxes. Now problem is how to 'tell' on form_load to prepare text boxes (like when I press plus [+] sign in navigator for new record) to enter new record. Example: I have manualy add one record to db in server explorer and that record is shown in text boxes and I can edit this and save. What command triger entering new row?
Thanks
-
Aug 7th, 2007, 03:43 PM
#2
Thread Starter
Lively Member
Re: [2005] small problem - binding and new row
nobody know how to get this one working?!?
My work i on hold and I'm so close to the end...
Just wanna know the code that is behind 'plus' sign in BindingNavigator...
Last edited by mikey_rs; Aug 7th, 2007 at 04:57 PM.
>>> If I'm not back in five minutes... just wait longer <<< Ace Ventura
-
Aug 17th, 2007, 10:31 PM
#3
Re: [2005] small problem - binding and new row
The BindingNavigator is simply a UI for a BindingSource. When you press the + button on a BindingNavigator all that happens is it invokes the AddNew method of the BindingSource. If you've deleted the BindingNavigator then you simply have to call the AddNew method of the BindingSource yourself. I suggest that you immediately consult the MSDN library and read about the BindingSource class and its members.
-
Aug 24th, 2007, 07:18 AM
#4
Thread Starter
Lively Member
Re: [2005] small problem - binding and new row
That I needed to hear. I get it most of all but for beginer this is so much information (in VB6 it was easyest but more limited i think) and need to code it few times to get everything in place in my head. Maybe I'm little 'slow' but can helped.
>>> If I'm not back in five minutes... just wait longer <<< Ace Ventura
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
|