摘要:
//$.get("/Home/index/" + $("#S_BookName").val(), function (data) { //MVC控制器返回View(Model) 是没有绑定后的html页面 // console.log(data); // //var Number1 = data.indexOf("");//第二个索... 阅读全文
摘要:
string UserName = context.Request["username"]; string PassWord = context.Request["pwd"]; //连接数据库 SqlConnection con = new SqlConnection("server=.;database=test;uid=... 阅读全文
摘要:
textBox1.Text = dateTimePicker1.Value.ToString("yyyy-MM-dd HH:mm:ss"); int[] arr = { 100, 20, 2, 4, 104, 1, 21, 101, 102, 201, 202 }; var data = arr.Where(n => n... 阅读全文
摘要:
public ActionResult Index(string id)//主页 //参数string searchString 访问方式为index?searchString=xxxx 。参数string id 访问方式为index/x { string searchString = id; //return View... 阅读全文
摘要:
return new HttpStatusCodeResult(HttpStatusCode.BadRequest); //HttpStatusCode statusCode 枚举 // HttpStatusCode.BadRequest = 400, public HttpStatusCodeResult(HttpStatusCode statusCode);//带参的构造函数 Htt... 阅读全文
摘要:
阅读全文