Posted By

krisdb on 08/02/07


Tagged

c


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

umang_nine


foreach table


 / Published in: C#
 

  1. foreach (DataRow dataRow in ds.Tables["table"].Rows)
  2. {
  3. foreach (DataColumn dataColumn in ds.Tables["table"].Columns)
  4. Response.Write(dataRow["column"] + "<Br>");
  5. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: krisdb on February 19, 2008

You need to login to post a comment.