D
Dessipris Antonis
Hi,
I have built a navigation control... with buttons such
as "Search", "New", "Edit", "Delete", "Save", "Previous",
"Next" etc etc...
Everything works pretty fine except the "New"
function... What i wanna do, is when i press the "New"
Button i should add a new empty row to the dataset
like
ds.tables(TempTable).Rows.Add(ds.Tables(TempTable).NewRow)
and refresh the bindingmanagerbase and make it point to
the last row of my dataset (which is the new inserted row)
so someone can fill the values for the new record and
press the "Save" button.
My problem is that though the dataset has changed and has
one more row, everything i tried to do with the
BindManagerBase didn't seem to work... and at the command
BmB.Position = Bmb.Count - 1
it points me to the position i was before
(I tried also to make BmB nothing and set it again to the
new dataset but nothing)
Does anyone have a clue how am i gonna make this work?!
Thank you
I have built a navigation control... with buttons such
as "Search", "New", "Edit", "Delete", "Save", "Previous",
"Next" etc etc...
Everything works pretty fine except the "New"
function... What i wanna do, is when i press the "New"
Button i should add a new empty row to the dataset
like
ds.tables(TempTable).Rows.Add(ds.Tables(TempTable).NewRow)
and refresh the bindingmanagerbase and make it point to
the last row of my dataset (which is the new inserted row)
so someone can fill the values for the new record and
press the "Save" button.
My problem is that though the dataset has changed and has
one more row, everything i tried to do with the
BindManagerBase didn't seem to work... and at the command
BmB.Position = Bmb.Count - 1
it points me to the position i was before
(I tried also to make BmB nothing and set it again to the
new dataset but nothing)
Does anyone have a clue how am i gonna make this work?!
Thank you