单击webcontrol的提交数据后获取发布数据

时间:2012-08-16 11:18:35

标签: c# firebug web-controls postdata

我使用webcontrol查看网站内容表单。例如,从任何注册站点点击任何表单的提交按钮后。我怎样才能像萤火虫那样得到帖子数据?

这是我通过firebug获得的示例发布数据

  

sitetitle = [$ PostTitle $]&安培;通知= B&安培; noprice = 1&安培; sitedescription = [$ PostContent $]&安培; sitecatid = 11&安培; subcatid = 85安培; expire_days = 29&安培; cityid = 1&安培; subcity = BA +%C4 %90%C3%ACnh&安培; submit_post =%C4%90%C4%83ng +锡&安培; v =&安培; SITEID =安培;模式=安培;标志=&安培; lptime = 1345045566&安培; quickpost = 0

1 个答案:

答案 0 :(得分:0)

var context = HttpContext.Current;
var data = context.Request["expire_days"]; 

//Theses lines permit your to return expire_day