随笔分类 - ASP.NET
摘要:服务方法 1 [HttpGet] 2 public string GetWebName(string name,string pwd) 3 { 4 Dictionary<string, string> dict = new Dictionary<string, string>(); 5 dict.A
阅读全文
摘要:第一种服务方法 [FromBody]string 单值参数 1 [HttpPost] 2 public string PostWebNameOne([FromBody]string para) 3 { 4 Dictionary<string, string> dict = new Dictionar
阅读全文
摘要:添加两个主题文件和样式:Blue Red在主题应用页面添加一个下拉框 列表值:Blue Red在主题应用页面的后台代码:protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { Session["Theme"] = DropDownList1.SelectedValue.ToString(); Response.Redirect("YZFoot.aspx?themes=" + Session["Theme"].ToString ())
阅读全文
摘要:今天学习Html控件 提交传值A.aspx<form action ="B.aspx" name="form1" method="post"> 此处添加 action 和method1、input file 控件<input id="File1" type="file" name="shangc"/> 其中的name 是自己添加和命名2、select 选择控件<select id="Select1" name="D1
阅读全文

浙公网安备 33010602011771号