mssql中 windows登入的连接字符串 怎么写? 如题。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 string str = "Server=.;User=sa;PWD=000;DataBase=test"; SqlConnection conn = new SqlConnection(str); SqlDataAdapter pos = new SqlDataAdapter("select * from stress", conn); DataSet dspos = new DataSet(); pos.Fill(dspos, "tables"); this.dataGridView1.DataSource = dspos.Tables["tables"]; "Server=.;Database=Test;Integrated Security=true" 这样看看. 这个很简单,可是我不会,求了 MSDN有chm版本的开发帮助吗 标准按钮何在 href 与onclick 求解算法题 如何根据文件的创建时间或者修改时间,删除文件???(急。。。。) mysqldump 不能保存到有“and ”的目录 windows datagrid里面如何得到行头那个铅笔事件 100分求一个常用的对数据库操作的类 怎么样窗体停靠在屏幕的一侧,而且是自动隐藏的,就像QQ和Windows的任务栏? ArrayList如何按两种条件排序 工厂模式中,具体产品的接口要一致吗?
string str = "Server=.;User=sa;PWD=000;DataBase=test";
SqlConnection conn = new SqlConnection(str);
SqlDataAdapter pos = new SqlDataAdapter("select * from stress", conn);
DataSet dspos = new DataSet();
pos.Fill(dspos, "tables");
this.dataGridView1.DataSource = dspos.Tables["tables"];