上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 68 下一页
摘要: 1、在php.ini文件中改动error_reporting改为: error_reporting=E_ALL & ~E_NOTICE 2、如果你不能操作php.ini文件,你可以使用如下方法 在你想禁止notice错误提示的页面中加入如下代码: error_reporting(E_ALL^E_NO 阅读全文
posted @ 2017-02-16 15:35 海乐学习 阅读(17830) 评论(0) 推荐(0) 编辑
摘要: 1.在php.ini中打开extension=php_oci8扩展,重启服务。 2.将php/ext目录下的php_oci8.dll文件拷贝到system32目录下 3.安装 Oracle9i客户端精简版 后重启电脑 配置: 查询: 插入: 阅读全文
posted @ 2016-08-17 16:30 海乐学习 阅读(27176) 评论(0) 推荐(0) 编辑
摘要: string strURL = "http://localhost/WinformSubmit.php"; //string param = string.Format("do=login&u={0}&p={1}", username, password); //参数的另一种写法 string st 阅读全文
posted @ 2016-06-20 10:57 海乐学习 阅读(6649) 评论(0) 推荐(0) 编辑
摘要: 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 海乐学习 阅读(393) 评论(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 海乐学习 阅读(1466) 评论(0) 推荐(0) 编辑
摘要: vertical-align:middle; 阅读全文
posted @ 2016-04-20 21:02 海乐学习 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 案一:Try...Catch(执行效率不高) private bool IsNumberic(string oText) { try { int var1=Convert.ToInt32 (oText); return true; } catch ... 阅读全文
posted @ 2016-04-04 11:39 海乐学习 阅读(45073) 评论(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 海乐学习 阅读(2944) 评论(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 海乐学习 阅读(16851) 评论(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 海乐学习 阅读(25570) 评论(0) 推荐(0) 编辑
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 68 下一页