摘要: 1、 如何解决单击记录整行选中的问题View->OptionsBehavior->EditorShowMode 设置为:Click2、 如何新增一条记录(1)、gridView.AddNewRow()(2)、实现gridView_InitNewRow事件3、如何解决GridControl记录能获取而没有显示出来的问题gridView.populateColumns();4、如何让行只能选择而不能编辑(或编辑某一单元格)(1)、View->OptionsBehavior->EditorShowMode 设置为:Click(2)、View->OptionsBehavi 阅读全文
posted @ 2013-06-18 18:07 贫僧小衲 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 需要写一个命令文件例如abc.txt ,然后写一个批处理文件myftp.bat,然后abc.txt 里面写:fox(FTP登陆用户名) fox(密码) bin put abc.txt bye然后在myftp.bat里面写ftp -s:abc.txt 192.168.1.111(主机IP地址) 阅读全文
posted @ 2013-06-18 18:06 贫僧小衲 阅读(152) 评论(0) 推荐(0) 编辑
摘要: private void myButton2_Click(object sender, EventArgs e) { //Execute("net user zero 0571m.com /add", 0); string output = Execute("ver" + "/r/n", 0); Console.WriteLine(output); } public static string Execute(string dosCommand, int outtime) ... 阅读全文
posted @ 2013-06-18 18:05 贫僧小衲 阅读(1231) 评论(0) 推荐(0) 编辑