Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach (DataRow row in dt.Rows)
- {
- HttpContext.Current.Response.Write("<TR>");
- for (int i = 0; i < dt.Columns.Count; i++)
- {
- HttpContext.Current.Response.Write("<Td align='left'>");
- HttpContext.Current.Response.Write(row[i].ToString());
- HttpContext.Current.Response.Write("</Td>");
- }
- HttpContext.Current.Response.Write("</TR>");
- }
Add Comment
Please, Sign In to add comment