摘要:
获取当前用户ip public string getRemoteIp() { var ip = HttpContext.Request.Headers["X-Original-For"].FirstOrDefault(); if (string.IsNullOrEmpty(ip)) { ip = " 阅读全文
摘要:
1. [HttpPost] public JsonResult SaveLeaderSay() { var user = (BJCreation.UserSystem.Domain.User)Session[BJCreation.Helper.Utilies.SessionHelper.SESSIO 阅读全文
摘要:
c#数组没有Remove方法,转换为list再移除,因为list自带Remove方法 string aaa=a,b,c; var array=aaa.Split(',');// 数组 List<String> list = array.ToList();//转换为list for (int i=0; 阅读全文