try to add new record with bindingsource component
-
hi i have a table t1 with some col c1,c2,c3. and a winform with some textbox binded to those filds via bindingsource and dataset. filling , loading , navigating and deleting are works but i dont know why ADDNEW dosnt work???? mey someone help me please.. thanks
-
hi i have a table t1 with some col c1,c2,c3. and a winform with some textbox binded to those filds via bindingsource and dataset. filling , loading , navigating and deleting are works but i dont know why ADDNEW dosnt work???? mey someone help me please.. thanks
Don't you have to provide SQL to do the update ? You may need to post some code.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
Don't you have to provide SQL to do the update ? You may need to post some code.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
i use all components needed in my winform: dataset , datatable , bindingsource , bindingnavigator , textboxes all commands in navigator work but the addnew command create a new row in bindingsource list and make it current and gets data from textboxes but it dosnt save the newrow data (current item ). dosnt attach added row to the bindingsource list.
-
i use all components needed in my winform: dataset , datatable , bindingsource , bindingnavigator , textboxes all commands in navigator work but the addnew command create a new row in bindingsource list and make it current and gets data from textboxes but it dosnt save the newrow data (current item ). dosnt attach added row to the bindingsource list.
ABBASI_RA wrote:
bindingsource , bindingnavigator
I never use these. So, I can't really comment further, except that I think you need to specify SQL to save, and I've not seen your code.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert