SHARE
TWEET

Untitled

a guest Jun 18th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DataTable dt = new DataTable();
  2. dt.Clear();
  3.  
  4. dt.Columns.Add("PESO");
  5. dt.Columns.Add("ALTURA");
  6.  
  7. DataRow row1 = dt.NewRow();
  8. row1["PESO"] = "MAGRO";
  9. row1["ALTURA"] = "BAIXO";
  10. dt.Rows.Add(row1);
  11.  
  12. DataRow row2 = dt.NewRow();
  13. row2["PESO"] = "MAGRO";
  14. row2["ALTURA"] = "ALTO";
  15. dt.Rows.Add(row2);
  16.  
  17. DataRow row3 = dt.NewRow();
  18. row3["PESO"] = "OBESO";
  19. row3["ALTURA"] = "BAIXO";
  20. dt.Rows.Add(row3);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top