打赏
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 60 下一页
摘要: 作者:Infinities Loop 概述 ViewState是一个被误解很深的动物了。我希望通过此文章来澄清人们对ViewState的一些错误认识。为了达到这个目的,我决定从头到尾详细的描述一下整个ViewState的工作机制,其中我会同时用一些例子说明我文章中的观点,结论。比如我会用静态控件(d 阅读全文
posted @ 2017-06-09 09:02 刘奇云 阅读(319) 评论(0) 推荐(0)
摘要: URL中的字符只能是ASCII字符,但是ASCII字符比较少,而URL则常常包含ASCII字符集以外的字符,如非英语字符、汉字、特殊符号等等,所以要对URL进行转换。这个过程就叫做URL编码,或者叫URL转义,实质上就是将包含非ASCII字符的URL转换为有效的ASCII字符格式。 在进行URL编码 阅读全文
posted @ 2017-06-09 08:32 刘奇云 阅读(583) 评论(0) 推荐(0)
摘要: public class BaseCookies { #region Cookies public static void SetCookieValue(string key, string value) { HttpCookie cookie = new HttpCookie(key, value 阅读全文
posted @ 2017-06-08 17:40 刘奇云 阅读(4193) 评论(0) 推荐(0)
摘要: 一般情况下,在我们做访问权限管理的时候,会把用户的正确登录后的基本信息保存在Session中,以后用户每次请求页面或接口数据的时候,拿到 Session中存储的用户基本信息,查看比较他有没有登录和能否访问当前页面。 Session的原理,也就是在服务器端生成一个SessionID对应了存储的用户数据 阅读全文
posted @ 2017-06-08 17:35 刘奇云 阅读(194) 评论(0) 推荐(0)
摘要: 我们在程序中经常会用到MessageBox。 MessageBox.Show()共有21中重载方法。现将其常见用法总结如下: 1.MessageBox.Show(“Hello~~~~”); 最简单的,只显示提示信息。 2.MessageBox.Show(“There are something wr 阅读全文
posted @ 2017-06-07 16:10 刘奇云 阅读(1856) 评论(0) 推荐(0)
摘要: using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsApplication1 { public partial c... 阅读全文
posted @ 2017-06-07 15:27 刘奇云 阅读(3762) 评论(0) 推荐(0)
摘要: 效果: 阅读全文
posted @ 2017-06-07 15:13 刘奇云 阅读(228) 评论(0) 推荐(0)
摘要: using DBUtility; using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; using System.Web.Script.Serialization; namespace Re... 阅读全文
posted @ 2017-06-06 15:39 刘奇云 阅读(175) 评论(0) 推荐(0)
摘要: 如何将图片和声音转化成byte[],并通过webservice进行传输? 如何将webservice传输过来的byte[],转化成我们想要的文件? (一)文件转化为byte[] 方法一:使用MemoryStream(MemoryStream的数据来自内存中缓冲区) System.IO.MemoryS 阅读全文
posted @ 2017-06-06 11:55 刘奇云 阅读(4281) 评论(0) 推荐(0)
摘要: 上传: 下载: 阅读全文
posted @ 2017-06-02 17:47 刘奇云 阅读(429) 评论(0) 推荐(0)
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 60 下一页