摘要:
分页protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e) { this.DataGrid1.CurrentPageIndex = e.NewPageIndex; this.datagridview(); }隐藏列 this.DataGr... 阅读全文
摘要:
1、通过命令插入数据SqlCommand sqlcmd=new SqlComand("insert into table ("iditem","nameitem","sexitem")values(@id,@name,@sex)",con)2、创建参数sqlcom.Paramaters.Add(new SqlParamater("@id",SqlDbType.Varchar,10)); 即将插入... 阅读全文