C# 取form表单的数据
时间:2017-08-08 14:36:52
收藏:0
阅读:342
//key代表form表单中html元素的name属性值
public static string StringForm(string key)
{
string result = null;
result = HttpContext.Current.Request.Form[key];
return string.IsNullOrEmpty(result) ? "" : result;
}
原文:http://www.cnblogs.com/niuniu0108/p/7306359.html
评论(0)