Sql = "Select top 9 ID ,Title From Image_Topic Where GroupID = 13 Order By AddTime Desc";
Comm = new SqlCommand( Sql, Conn );
Adapter = new SqlDataAdapter( Comm );
Adapter.Fill(Rs);
Table = Rs.Tables[0];
//把数据输出页面一Sql = "Select top 9 ID ,Title From Image_Topic Where GroupID = 10 Order By AddTime Desc";
Comm = new SqlCommand( Sql, Conn );
Adapter = new SqlDataAdapter( Comm );
Adapter.Fill(Rs);
Table = Rs.Tables[0];
//把数据输出页面二,问题是输出二里竟然包括输出一!是不是我哪里没关闭?
Comm = new SqlCommand( Sql, Conn );
Adapter = new SqlDataAdapter( Comm );
Adapter.Fill(Rs);
Table = Rs.Tables[0];
//把数据输出页面一Sql = "Select top 9 ID ,Title From Image_Topic Where GroupID = 10 Order By AddTime Desc";
Comm = new SqlCommand( Sql, Conn );
Adapter = new SqlDataAdapter( Comm );
Adapter.Fill(Rs);
Table = Rs.Tables[0];
//把数据输出页面二,问题是输出二里竟然包括输出一!是不是我哪里没关闭?
Adapter.Fill(Rs, "table1");
Table = Rs.Tables["table1"];..............
Adapter.Fill(Rs, "table2");
Table = Rs.Tables["table2"];
Sql = "Select top 9 ID ,Title From Image_Topic Where GroupID = 10 Order By AddTime Desc";
Comm = new SqlCommand( Sql, Conn );
Adapter = new SqlDataAdapter( Comm );
Rs.Clear();
Adapter.Fill(Rs);
Table = Rs.Tables[0];