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

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -