Signo.X
Well-known member
Hello all,
I'm working on a window form, that reads the data from a MS access DB, the form has 2 text boxed, one to display the infomation about the Empyloyee Id and the other one to display information about the employee name, so far all what i did is created 2 text booxes and bind the data from the data base from the desiered field into the text boxes using the databinding property in the form, i could see the first record from the employee id and name perfectely into the text boxes, but then i wanted to move to the next record in the data base, so what i did inside the form_load(....,..) method is created a currency manager var then assinged it to a context binding as the following..
dim cMngs as CurrencyMananger
cMngr = BindingContext(DB1ataset,"tablename")
then i created a button on the form , and in the button on_click event i added :
cMngr.position += 1
when i run the form and click the button nothing happens!! then form should get the next record but it doesnt!!
can any one help please?
also if there you any quick start online tutotrial about similar issues please let me know.
Thanks in advanced!!
~ Signo.X
I'm working on a window form, that reads the data from a MS access DB, the form has 2 text boxed, one to display the infomation about the Empyloyee Id and the other one to display information about the employee name, so far all what i did is created 2 text booxes and bind the data from the data base from the desiered field into the text boxes using the databinding property in the form, i could see the first record from the employee id and name perfectely into the text boxes, but then i wanted to move to the next record in the data base, so what i did inside the form_load(....,..) method is created a currency manager var then assinged it to a context binding as the following..
dim cMngs as CurrencyMananger
cMngr = BindingContext(DB1ataset,"tablename")
then i created a button on the form , and in the button on_click event i added :
cMngr.position += 1
when i run the form and click the button nothing happens!! then form should get the next record but it doesnt!!
can any one help please?
also if there you any quick start online tutotrial about similar issues please let me know.
Thanks in advanced!!
~ Signo.X