摘要:
public static bool cdir(string xmmc) { bool flag = false; DirectoryInfo aimpath = new DirectoryInfo(@"\\192.168.1.217\共享文件夹 "); if (connectstat(aimpat 阅读全文
posted @ 2019-12-29 15:09
Lionever
阅读(942)
评论(0)
推荐(0)
摘要:
一、查 SqlConnection conn = new SqlConnection(); conn.ConnectionString = sqlb.ConnectionString; conn.Open(); string sqlstr=""; SqlDataAdapter adap = new 阅读全文
posted @ 2019-12-29 15:05
Lionever
阅读(2683)
评论(0)
推荐(0)
摘要:
一、 DATAGRIDVIEW 数值传递给datable int cn = dataGridView1.Rows.Count; int col = dataGridView1.ColumnCount; for (int j = 0; j < col;j++ ) { DataColumn dc = n 阅读全文
posted @ 2019-12-29 14:55
Lionever
阅读(4604)
评论(0)
推荐(0)
摘要:
bool flag = false; Process pro = new Process(); try { pro.StartInfo.FileName = "cmd.exe"; pro.StartInfo.UseShellExecute = false; pro.StartInfo.Redirec 阅读全文
posted @ 2019-12-29 14:48
Lionever
阅读(2097)
评论(0)
推荐(0)
摘要:
SqlConnectionStringBuilder sqlb = new SqlConnectionStringBuilder(); sqlb.DataSource = "ip address"; sqlb.InitialCatalog = "databasename"; sqlb.UserID 阅读全文
posted @ 2019-12-29 14:45
Lionever
阅读(414)
评论(0)
推荐(0)
浙公网安备 33010602011771号