asp.net常用的命名空间及含义

using System;//引入核心命名空间,是一切类的基础 
using System.Collections.Generic;//引入集合类命名空间,能够使用泛型类等集合类 
using System.ComponentModel;//引入ComponentModel命名空间 
using System.Data;//引入数据操作命名空间,能够使用如DataSet数据集类 
using System.Drawing;//引入绘图命名空间,能够使用如Color的类—image 
using System.Text;//引入文本操作命名空间,能够使用如StringBuilder、字符操作等类 
using System.Windows.Forms; //引入窗体命名空间,支持窗体相关的类 
using System.Text; //文本操作 
using Microsoft.Win32; //对注册表操作 
using System.Collections; //使用Arraylist 
using System.Security.Cryptography;//加密解密 
using System.IO; //文件操作 
using System.Runtime.InteropServices;//调用DLL DllImport 
using System.Management; //获取硬件信息 
using System.Net; //获取IP地址用到 
using System.Net.NetworkInformation; //ping 用到 
using System.Text.RegularExpressions; //正则 
using System.Data.SqlClient;//sql数据库操作 
using Microsoft.VisualBasic; //简体转繁体时用到 
using System.Web; //html UrlEncode

 

加密解密

Server的调用 

System.Web.HttpContext.Current.Server.UrlDecode

System.Web.HttpContext.Current.Server.UrlEncode

System.Web.HttpUtility.UrlDecode

System.Web.HttpUtility.UrlEncode

response调用

System.Web.HttpContext.Current.Response
--------------------- 
作者:bejingcode 
来源:CSDN 
原文:https://blog.csdn.net/yhd0916/article/details/54344545 
版权声明:本文为博主原创文章,转载请附上博文链接!

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值