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