Guest User

Untitled

a guest
Jan 15th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. a1 a2 a3 a4
  2. -----------
  3. 1 11 21 31
  4. 2 12 22 32
  5. 3 13 23 33
  6. 4 14 24 34
  7. 5 15 25 35
  8. 6 16 26 36
  9. 7 17 27 37
  10. 8 18 28 38
  11. 9 19 29 39
  12. 10 20 30 40
  13.  
  14. array = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,......40
  15.  
  16. array = 1, 11, 21, 31,2,12,22,32,3,13,23,24,....10,20,30,40
  17.  
  18. SqlDataReader rdr = null;
  19. // create a connection object
  20. SqlConnection conn = new SqlConnection(
  21. "Data Source=(local);Initial Catalog=Northwind;Integrated Security=SSPI");
  22. // create a command object
  23. SqlCommand cmd = new SqlCommand("select * from a1,a2,a3,a4", conn);
Add Comment
Please, Sign In to add comment