摘要:
Geoprocessor gp = new Geoprocessor(); gp.OverwriteOutput = true; IFeatureLayer inputfeaturelayer = pMap.get_Layer(0) as IFeatureLayer; IFeatureLayer c 阅读全文
摘要:
打开access数据库,在左边对象栏里有个查询,点在设计视图创建查询,点关闭,然后你可以看到左上角有个写着SQL的按钮,点击就可以输入SQL了 阅读全文
摘要:
System.Data.OleDb; //导入名空间 private Button1_Click(object sender,System.EventArgs e) { if(TextBox1.Text.ToString().Trim()!=""||TextBox1.Text.ToString().Trim()!=String.Empty()) { OleDbCo... 阅读全文
摘要:
阅读全文
摘要:
SqlConnection conn = new SqlConnection("uid=sa;pwd=*;database=login;server=server"); SqlCommand myCom = conn.CreateCommand(); myCom.CommandType = CommandType.Text; if(txtB_user.Text.Leng... 阅读全文
摘要:
string password = txtPassword.Text.ToString(); string name = txtUserName.SelectedItem.ToString(); string connecitonString = "server=(local);" + "intetrated securi... 阅读全文