摘要:
前台 后台:usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Net;usingSystem.Windows;usingSystem.Windows.Controls;usingSystem.Windo... 阅读全文
摘要:
前台 后台:usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Net;usingSystem.Windows;usingSystem.Windows.Controls;usingSystem.Windo... 阅读全文
摘要:
在windows7、8系统下使用plsqldev查询数据库,发现中文信息为乱码,开始的时候认为是数据库导入的问题。结果相同的数据在xp下面结果正常,在windows7、8下结果出错为乱码。经过查询资料,确定是windows7、8和plsqldev兼容性的问题,需要设置中文方式。解决问题方法如下:在p... 阅读全文
摘要:
select * from table1orderbyCHARINDEX(','+CONVERT(varchar(10),ID)+',',',123,789,456,')select Product.*, CHARINDEX(','+CONVERT(varchar(10),ID)+',',',123... 阅读全文
摘要:
调用窗体(父):Form1,被调用窗体(子):Form2 方法1: 所有权法 //Form1: //需要有一个公共的刷新方法 public void Refresh_Method() { //... } //在调用Form2时,要把Form2的所有者设为Form1 Form2 f2 = new Form2() ; f2.Owner = this; f2.ShowDialog() ; //Form2: //在需要对其调用者(父)刷新时 Form1 f1 ; f1 = (Form1)this.Owner; f1.Refresh_Method() ; 方法2:自身传递法 //Form1: //需要有 阅读全文
|