请教在ASP.NET怎么输出SQL查询语句的值
请教在ASP.NET怎么输出SQL查询语句的值
日期:2017-07-21 21:49:49 人气:1
SqlConnection conn=....
SqlCommand com=new SqlCommand( "select sum(空位数量) as total from House1 ",conn);
Lable1.Text=com.ExecuteScalar().ToString();
请教在ASP.NET怎么输出SQL查询语句的值