上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 77 下一页
摘要: 案一:Try...Catch(执行效率不高) private bool IsNumberic(string oText) { try { int var1=Convert.ToInt32 (oText); return true; } catch ... 阅读全文
posted @ 2016-04-04 11:39 海乐学习 阅读(45171) 评论(2) 推荐(0)
摘要: using System.Runtime.InteropServices;//放wav public partial class frmMain : Form { 系统放 播放音乐 wav mp3 [DllImport("winmm.dll")] public static extern bool PlaySound(string pszSound, int hmo... 阅读全文
posted @ 2016-03-28 10:13 海乐学习 阅读(2980) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Windows.Forms; using System.Reflection; namespace DMS { /// /// C#操作Excel类 /// class ExcelOperate... 阅读全文
posted @ 2016-03-26 20:34 海乐学习 阅读(16879) 评论(0) 推荐(1)
摘要: //多表多行多列的情况 foreach (DataTable dt in YourDataset.Tables) //遍历所有的datatable { foreach (DataRow dr in dt.Rows) ///遍历所有的行 foreach (DataColumn dc in dt.Colu... 阅读全文
posted @ 2016-03-26 20:32 海乐学习 阅读(25594) 评论(0) 推荐(0)
摘要: System.Data.DataSet objSet = new DataSet(); System.Data.DataTable objTable = new DataTable("test"); objTable.Columns.Add("CodeID", typeof(string)); objTable.Columns.Add("FilterCitem ", typeof(stri... 阅读全文
posted @ 2016-03-26 20:31 海乐学习 阅读(4427) 评论(0) 推荐(0)
摘要: <?php header("Content-Type: application/msword"); header("Content-Disposition: attachment; filename=doc.doc"); //指定文件名称 header("Pragma: no-cache");hea 阅读全文
posted @ 2016-03-25 10:18 海乐学习 阅读(5775) 评论(0) 推荐(0)
摘要: var test=document.getElementsByTagName('html')[0].innerHTML; alert(test); 阅读全文
posted @ 2016-03-25 09:26 海乐学习 阅读(15702) 评论(0) 推荐(0)
摘要: TR标签的隐藏与显示:block(显示)和none(隐藏) <tr style="display:none"> 阅读全文
posted @ 2016-03-24 18:41 海乐学习 阅读(44948) 评论(0) 推荐(0)
摘要: dataGridView1.AutoGenerateColumns = false; 阅读全文
posted @ 2016-03-18 09:48 海乐学习 阅读(2842) 评论(0) 推荐(0)
摘要: 效果图: <table id='grid' class='easyui-datagrid' style='width:1500px;height:450px' url='Ajax-index.php?module=<{$module_name}>&action=Ajax_GridView_Selec 阅读全文
posted @ 2016-02-01 16:17 海乐学习 阅读(497) 评论(0) 推荐(0)
上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 77 下一页