Guest User

Untitled

a guest
Oct 16th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. foreach (DataRow row in dt.Rows)
  2. {
  3. HttpContext.Current.Response.Write("<TR>");
  4. for (int i = 0; i < dt.Columns.Count; i++)
  5. {
  6. HttpContext.Current.Response.Write("<Td align='left'>");
  7. HttpContext.Current.Response.Write(row[i].ToString());
  8. HttpContext.Current.Response.Write("</Td>");
  9. }
  10.  
  11. HttpContext.Current.Response.Write("</TR>");
  12. }
Add Comment
Please, Sign In to add comment