摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web; /// <summary>/// 页面请求Hepler/// </summary>public class HttpHelper{ // 阅读全文
posted @ 2017-08-09 08:58 田坤坤 阅读(1338) 评论(0) 推荐(0)
摘要: create procedure p_Basic_Core_SystemMenuGroup_CTC_User(@ID varchar(50),@AppCode varchar(50))asbegin select a.UserCode,a.GroupGuid,a.CreateUserCode,a.C 阅读全文
posted @ 2017-08-09 08:56 田坤坤 阅读(237) 评论(0) 推荐(0)
摘要: 刚装完window 7系统 和 IIS,可程序始终跑不起来,报IIS未完整安装错误 进行如下安装果断跑起来了(需用administrator 帐号进系统): 1.打开运行输入 cmd 2.输入 cd C:\Windows\Microsoft.NET\Framework\v4.0.30319 3.输入 阅读全文
posted @ 2017-08-08 16:41 田坤坤 阅读(767) 评论(1) 推荐(1)
摘要: 区分.net、c#、asp.net三者间的关系 1、.net(dot net) .net是一个平台,抽象的平台概念。 实现形式是库:①定义了基本的类型(通用类型系统CTS,common type system)。 ②包含.net公共语言运行库(CLK,common language runtime, 阅读全文
posted @ 2017-08-08 16:33 田坤坤 阅读(387) 评论(0) 推荐(0)
摘要: 分享一些网站能精准查询IP的 https://www.chaidu.com/App/Web/IP/ http://www.ipip.net/ip.html http://www.hao7188.com/ 阅读全文
posted @ 2017-08-08 16:07 田坤坤 阅读(415) 评论(0) 推荐(0)
摘要: (function($){ $.fn.插件名 = function(settings){ var defaultSettings = { } /* 合并默认参数和用户自定义参数 */settings = $.extend({},defaultSettings,settings);return thi 阅读全文
posted @ 2017-08-08 13:34 田坤坤 阅读(145) 评论(0) 推荐(0)
摘要: insert into 表名1 ( 字段A ,字段B ,字段C) SELECT 字段A ,字段B ,字段C FROM 表名2 (where条件看情况而定) 阅读全文
posted @ 2017-08-08 13:30 田坤坤 阅读(817) 评论(0) 推荐(0)
摘要: //key代表form表单中html元素的name属性值 public static string StringForm(string key) { string result = null; result = HttpContext.Current.Request.Form[key]; retur 阅读全文
posted @ 2017-08-08 13:27 田坤坤 阅读(4937) 评论(1) 推荐(1)
摘要: #region 判断网络文件是否存在 //bool result = false;//下载结果 //string fileUrl = "http://localhost:7070/FileUpload/135112100.jpg"; //WebResponse response = null; // 阅读全文
posted @ 2017-08-08 13:26 田坤坤 阅读(590) 评论(0) 推荐(0)
摘要: public Stream FileToStream(string fileName) { // 打开文件 FileStream fileStream = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.Read) 阅读全文
posted @ 2017-08-08 13:24 田坤坤 阅读(14329) 评论(0) 推荐(1)