上一页 1 ··· 25 26 27 28 29
摘要: http://www.cnblogs.com/hcbin/archive/2010/05/04/1727071.html 阅读全文
posted @ 2015-09-30 17:16 人生为卒 阅读(113) 评论(0) 推荐(0) 编辑
摘要: //mscorlib.dll, v4.0.0.0&&Microsoft.Office.Interop.Excel.dll, v14.0.0.0/// /// 导出Excel /// /// 要导出的数据表public void ExcelPort(Dat... 阅读全文
posted @ 2015-09-30 08:57 人生为卒 阅读(328) 评论(0) 推荐(0) 编辑
摘要: private void gridView1_RowCellClick(object sender, RowCellClickEventArgs e) {//及时更新点击行数据this.gridView1.UpdateCurrentRow();GridView view = (Gri... 阅读全文
posted @ 2015-09-28 18:02 人生为卒 阅读(1645) 评论(0) 推荐(0) 编辑
摘要: 引用Dll:Newtonsoft.Json.dll1.创建Url Url组成 主机名 端口号 路径 参数string strUrl = "http://192.199.101.101:... 阅读全文
posted @ 2015-09-25 17:55 人生为卒 阅读(314) 评论(0) 推荐(0) 编辑
摘要: private void Form1_Load(object sender, EventArgs e) { SqlConnection con = new SqlConnection(@"SERVER=localhost;UID=sa;DATABASE=GG;Mu... 阅读全文
posted @ 2015-09-25 16:31 人生为卒 阅读(162) 评论(0) 推荐(0) 编辑
摘要: http://jingyan.baidu.com/article/656db918b3fe44e381249c1c.html转载 阅读全文
posted @ 2015-09-25 16:21 人生为卒 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 方法1:控件自带进入Run Designer:① 设置属性:Views-Options-OptionsView-ShowFooter=true②对于需要值操作的列进行操作:SummaryItem-SummaryType-Sum(可以设置sum,max,min,等)方法2:重写方法//要操作的表dt;... 阅读全文
posted @ 2015-09-25 16:05 人生为卒 阅读(1566) 评论(0) 推荐(0) 编辑
摘要: 新增列:名为SlctValue,类型为string,并放在第一列dt.Columns.Add("SlctValue", typeof(string)).SetOrdinal(0);移除列dt.Columns.Remove(列名)新增行DataRow dr = dt.NewRow();移除行dt.Ro... 阅读全文
posted @ 2015-09-25 15:03 人生为卒 阅读(319) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29