c# - Sequence of data inside dataset not maintained while inserting to table -
i selecting data excel sheet , inserting table.when read data excel dataset sequence of data same excel sheet.i inserting data row row using foreach loop in table follows
foreach (datarow drow in dset.tables["table1"].rows) { //passing row , inserting data using procedure } foreach loop selecting rows randomly?? .all data inserted sequence of rows changed.because of wrong sequence getting wrong results in app . why so?not able understand why sequence changes automatically. please help. stuck.
Comments
Post a Comment