03 2016 档案

摘要: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 海乐学习 阅读(2964) 评论(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 海乐学习 阅读(16857) 评论(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 海乐学习 阅读(25581) 评论(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 海乐学习 阅读(4415) 评论(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 海乐学习 阅读(5748) 评论(0) 推荐(0) 编辑
摘要:var test=document.getElementsByTagName('html')[0].innerHTML; alert(test); 阅读全文
posted @ 2016-03-25 09:26 海乐学习 阅读(15657) 评论(0) 推荐(0) 编辑
摘要:TR标签的隐藏与显示:block(显示)和none(隐藏) <tr style="display:none"> 阅读全文
posted @ 2016-03-24 18:41 海乐学习 阅读(44891) 评论(0) 推荐(0) 编辑
摘要:dataGridView1.AutoGenerateColumns = false; 阅读全文
posted @ 2016-03-18 09:48 海乐学习 阅读(2805) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示