上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页
摘要: 1.INSERT INTO SELECT语句 语句形式为:Insert into Table2(field1,field2,...) select value1,value2,... from Table1 要求目标表Table2必须存在,由于目标表Table2已经存在,所以我们除了插入源表Tabl 阅读全文
posted @ 2016-06-01 16:27 C#winform软件设计 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 在Asp.net的HttpCookie中写入汉字,读取值为什么全是乱码?其实这是因 为文字编码而造成的,汉字是两个编码,所以才会搞出这么个乱码出来!其实解决的方法很简单:只要在写入Cookie时,先将其用Url编码,然后再写入, 当我们读取时再解码就OK了,希望更多的***妹能解决它,呵呵! 例子: 阅读全文
posted @ 2016-05-31 17:09 C#winform软件设计 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 1.遍历所有cookie foreach (string _key in Request.Cookies.AllKeys)//遍历主键 { HttpCookie ck = Request.Cookies[_key];//得到主键 foreach (string sub_key in ck.Value 阅读全文
posted @ 2016-05-31 14:54 C#winform软件设计 阅读(404) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-05-28 16:56 C#winform软件设计 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-05-28 16:42 C#winform软件设计 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-05-20 17:56 C#winform软件设计 阅读(0) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文
posted @ 2016-05-20 17:20 C#winform软件设计 阅读(880) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文
posted @ 2016-05-20 17:14 C#winform软件设计 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 应用程序配置文件是标准的 XML 文件,XML 标记和属性是区分大小写的。它是可以按需要更改的,开发人员可以使用配置文件来更改设置,而不必重编译应用程序。配置文件的根节点是configuration。我们经常访问的是appSettings,它是由.Net预定义配置节。我们经常使用的配置文件的架构是象 阅读全文
posted @ 2016-05-19 17:55 C#winform软件设计 阅读(14705) 评论(0) 推荐(0) 编辑
摘要: 本文实例讲述了C#操作session的类。分享给大家供大家参考。具体分析如下: 这个C#类对session操作进行了再次封装,可以大大简化session的常用操作,同时这个类可以将session值设置为数组,也可以将值读取为数组列表,如果你有这方面的需要可以使用这个类,扩这自己对这个C#类进行扩展。 阅读全文
posted @ 2016-05-19 15:03 C#winform软件设计 阅读(553) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页