As Recordset.MoveNext function is no longer available in VB.NET(searched alot on internet), I want a way to solve my problem..
(Using MSSQL, just seen movenext function somewhere which is not supported with SQLDATASET.)
I want to use something which work like MoveNext function and make the changes in the database instantly. Moreover after changes made, it should also reflect into database instantly..
As I said, I searched alot on internet, I am now confused what to use...
The following options I got on Internet
1)Using SQLDataset and use SQLDataAdapter with it
Problem :- I have to update the dataset everytime because I want instant change in main database as it change in dataset.
2)Using DataReader, something like while rdr.read()(many people suggested this.)
Problem :- But I also want to update in database and reader just read the database.. If I use dataAdapter along with this to update database then it'll keep the connection open for sometime.
3) Some Data bindingNavigator function I seen somewhere but can't get it. If this option is good option then please add a link in comment plz...
Please suggest any other option if possible...
Note:- The question is somewhat discussion type (but its not discussion) which is not allowed maybe but it might help me.... If its not appropriate question then after getting some good suggestions, I'll close it...
Thanx in advance...
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…