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