上一页 1 ··· 3 4 5 6 7
摘要: HttpWebRequest request; HttpWebResponse response; ASCIIEncoding encoding = new ASCIIEncoding(); request = WebRequest... 阅读全文
posted @ 2014-05-22 17:12 以沫浅夏 阅读(317) 评论(0) 推荐(0)
摘要: Image image = Image.FromFile(@"C:\Users\swkj\Documents\Visual Studio 2012\Projects\WebApplication9\WindowsFormsApplication1\ali.jpg");//这是你图片文件的 ... 阅读全文
posted @ 2014-05-20 16:33 以沫浅夏 阅读(465) 评论(0) 推荐(0)
摘要: delete from t_AttendanceRecorddbcc checkident('t_AttendanceRecord',reseed,0)truncate table 表名称 阅读全文
posted @ 2014-03-25 13:50 以沫浅夏 阅读(292) 评论(0) 推荐(0)
摘要: 第一种方法DropDownList1.Items.Insert(0,"请选择XXX");第二种方法在第一个位置插入一个项就可以DropDownList1.Items.Insert(0, new ListItem("---请选择---", "0")); 阅读全文
posted @ 2014-03-20 10:31 以沫浅夏 阅读(493) 评论(0) 推荐(0)
摘要: 在program.cs中Login login=new Login();if( login.ShowDialog()==DialogResult.Ok)//注意这里要显示模态对话框{Application.Run(new 主界面());}然后在登录的登录按钮事件中加上this.DialogResult=DialogResult.Ok; 阅读全文
posted @ 2014-03-13 16:40 以沫浅夏 阅读(443) 评论(0) 推荐(0)
摘要: winform: //bool formMove = false;//窗体是否移动 //Point formPoint;//记录窗体的位置 private void Login_MouseDown(object sender, MouseEventArgs e) {//formPoint = new 阅读全文
posted @ 2014-03-13 16:16 以沫浅夏 阅读(417) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7