摘要:
案例:item.Attributes.Add("UserID", this.TreeView1.SelectedNode.ToolTip.ToString());txtThem.Text= item.Attributes["UserID"].ToString(); 阅读全文
posted @ 2013-05-22 08:51
一支烟╰☆╮抽掉昨天
阅读(152)
评论(0)
推荐(0)
摘要:
/// 取得用户客户端IP(穿过代理服务器取远程用户真实IP地址)///public static string GetClientIP(){//如果使用代理,获取真实IPstring userip = string.Empty;if (HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"] != ""){userip = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];}else{us 阅读全文
posted @ 2013-05-22 08:50
一支烟╰☆╮抽掉昨天
阅读(160)
评论(0)
推荐(0)
摘要:
序列化字符方法:注意这里的引用“System.Runtime.Serialization”和“System.ServiceModel.Web”using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Runtime.Serialization.Json;using System.ServiceModel.Web;///记得引用这个命名空间using System.IO;using System.Text;namespace BLL{//////序列化实体类///pu 阅读全文
posted @ 2013-05-22 08:49
一支烟╰☆╮抽掉昨天
阅读(148)
评论(0)
推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2013-05-22 08:46
一支烟╰☆╮抽掉昨天
阅读(17)
评论(0)
推荐(0)
浙公网安备 33010602011771号