摘要:
后台public void bind() { string sqlstr = "select * from t1"; DataSet myds = constring.Query(sqlstr); GridView2.DataSource = myds; GridView2.DataBind(); }//翻页 protected void GridView2_PageIndexChanging(o... 阅读全文
摘要:
一.注释-- 单行注释,从这到本行结束为注释sql 语法,类似C++,c#中///* … */ 多行注释,类似C++,C#中/* … */二.变量(int, smallint, tinyint, decimal,float,real, money ,smallmoneysql 语法, text ,image, char, varchar。。。。。。)语法:DECLARE {... 阅读全文