上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 76 下一页
摘要: php 生成 Json 部分 <?php $arr_result = array(); //返回值 $arr_result['result'] = '0'; $arr_result['callerid'] = '139411288888'; echo json_encode($arr_result) 阅读全文
posted @ 2016-06-20 10:50 海乐学习 阅读(401) 评论(0) 推荐(0)
摘要: 引用 Newtonsoft.Json.dll //C# 读取JSON Newtonsoft.Json.Linq.JObject jsonStr = Newtonsoft.Json.Linq.JObject.Parse(strResult); this.txtResult.Text = jsonStr 阅读全文
posted @ 2016-06-20 10:49 海乐学习 阅读(1473) 评论(0) 推荐(0)
摘要: vertical-align:middle; 阅读全文
posted @ 2016-04-20 21:02 海乐学习 阅读(269) 评论(0) 推荐(0)
摘要: 案一:Try...Catch(执行效率不高) private bool IsNumberic(string oText) { try { int var1=Convert.ToInt32 (oText); return true; } catch ... 阅读全文
posted @ 2016-04-04 11:39 海乐学习 阅读(45168) 评论(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 海乐学习 阅读(2976) 评论(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 海乐学习 阅读(16873) 评论(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 海乐学习 阅读(25591) 评论(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 海乐学习 阅读(4421) 评论(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 海乐学习 阅读(5773) 评论(0) 推荐(0)
摘要: var test=document.getElementsByTagName('html')[0].innerHTML; alert(test); 阅读全文
posted @ 2016-03-25 09:26 海乐学习 阅读(15699) 评论(0) 推荐(0)
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 76 下一页