Is there a way once you load a dataset with records to for example use a
datareader to read the contents and make changes as you read each record
according to checks you make and save the record into a new dataset
eventually filtering all the records and making changes till the new dataset
COPY has all the records done but with the changes?
objDataAdapter.Fill(objDataSet, "messages")
you have this dataset now run the reader
objDataReader =
objCmdsqlCommand.ExecuteReader(System.Data.CommandBehavior.CloseConnection)
While objDataReader.Read()
'Here is all the code to modify etc...
strTotalMessages = strTotalMessages + 1
strT_UsernameDB = objDataReader("T_Username")
strF_UsernameDB = objDataReader("F_Username")
'..................................
End While
How to modify the current records opbjects and save them say to a new datset
named messagesEdited is the question.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/