Rupert

::Me(C#,VC,MonoTouch,MonoforAndroid);

导航

上一页 1 ··· 95 96 97 98 99 100 101 102 103 ··· 108 下一页

2012年8月23日

摘要: c# MessageBox 用法大全我们在程序中经常会用到MessageBox。 MessageBox.Show()共有21中重载方法。现将其常见用法总结如下:1.MessageBox.Show("Hello~~~~");最简单的,只显示提示信息。2.MessageBox.Show("There are something wrong!","ERROR");可以给消息框加上标题。3.if(MessageBox.Show("Delete this user?","Confirm Message", 阅读全文

posted @ 2012-08-23 17:30 ArRan 阅读(183) 评论(0) 推荐(0) 编辑

摘要: stringtrim=text.Trim(); //删除文本的首尾空格/////////?组件.Tabindex=1~? 属性的设置,是当客户按下tab键的时候索引顺序!请注意用户体验!/////////表格datagridview1.绑定dataGridView列标题行,bandin数据源后,列的名称可能是英文,但标题行要表示为中文。解决方法:2.单元行的一些技巧DataGrid:int row = this.dataGrid1.CurrentCell.RowNumber; //单元格获取行号DataGridView:int row = this.dataGridView1.CurrentC 阅读全文

posted @ 2012-08-23 16:59 ArRan 阅读(172) 评论(0) 推荐(0) 编辑

摘要: public class operateDB{ private static string conStr; public static OleDbConnection cnn; OleDbDataAdapter da; OleDbCommandBuilder cb; OleDbCommand cmd; //构造函数 #region initialize public operateDB() { // // TODO: 在此处添加构造函数逻辑 // cnn=new OleDbConnection(); da=new Ol... 阅读全文

posted @ 2012-08-23 15:49 ArRan 阅读(1378) 评论(0) 推荐(0) 编辑

上一页 1 ··· 95 96 97 98 99 100 101 102 103 ··· 108 下一页