摘要: //当前窗体的Load事件 private void provinceANDCity_Load(object sender, EventArgs e) { //连接字符串 string strConn = "Data Source=.;Initial Catalog=Province;User Id=sa;Pwd=o... 阅读全文
posted @ 2017-01-06 17:41 阿勇i 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 1 //带有ComboBox控件点Load事件 2 private void Library_Load(object sender, EventArgs e) 3 { 4 //创建连接字符串 5 string strConn = "Data Source=.;Initial Cata... 阅读全文
posted @ 2017-01-06 17:36 阿勇i 阅读(659) 评论(0) 推荐(0) 编辑
摘要: public int indexof(String str)返回字符串中出现str的第一个位置 public int indexof(String str,int fromIndex)返回字符串中从fromIndex开始出现str的第一个位置 public String substring(int 阅读全文
posted @ 2017-01-05 22:05 阿勇i 阅读(11400) 评论(0) 推荐(0) 编辑