⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 排序(datagrid)2.txt

📁 C# 是创新性的新式编程语言
💻 TXT
字号:
SqlDataAdapter adapter=new SqlDataAdapter("select * from titles where price!=0",
	"server=localhost;database=pubs;uid=sa;pwd=;");
DataSet ds=new DataSet();
adapter.Fill(ds);
DataView view=new DataView(ds.Tables[0]);
view.Sort="Title ASC";
MyDataGrid.DataSource=view;
MyDataGrid.DataBind();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -