首页上一页 1 下一页尾页 1 条记录 1/1页
《C#数据库系统开发案例精选》中的问题
发表在C#图书答疑
2008-09-06
是否精华
是
否
版块置顶:
是
否
该书中财务凭证管理系统中SystemInfo\GetUserJbo.cs中
public SqlDataReader getselect()
{
con = getcon.GetCon();
com = new SqlCommand();
string P_StrUserInser = "select top 1* from tb_UserJob order by userId desc";
com.Connection = con;
com.CommandText = P_StrUserInser;
SqlDataReader dr =com.ExecuteReader();
return dr;
}
请问string P_StrUserInser = "select top 1* from tb_UserJob order by userId desc",select top 1*是什么意思?
public SqlDataReader getselect()
{
con = getcon.GetCon();
com = new SqlCommand();
string P_StrUserInser = "select top 1* from tb_UserJob order by userId desc";
com.Connection = con;
com.CommandText = P_StrUserInser;
SqlDataReader dr =com.ExecuteReader();
return dr;
}
请问string P_StrUserInser = "select top 1* from tb_UserJob order by userId desc",select top 1*是什么意思?