摘要:
//鼠标跟随一串文字 private void Form2_MouseMove(object sender, MouseEventArgs e) { this.label1.Location = new Point(e.X, e.Y); } 阅读全文
摘要:
读取xml文件时,查询中 DataSet ds = new DataSet(); ds.ReadXml("xx.xml"); DataRow[] drs = ds.tables[0].Select("Id=" + ID ); 报错:在 Range 对象中,Min (12)必须小于或等于 max (- 阅读全文
摘要:
string[] lines = File.ReadAllLines("aa.txt",Encoding.GetEncoding("GB2312"));string name = lines[0]; 阅读全文