列子:
public static M_modell abc(int id)
{
M_modell news = new M_modell();
news.Id = int.Parse(Request.Form["Id"]);
news.Category = int.Parse(Request.Form["Category"]);
news.Title = Request.Form["Title"];
news.CreateTime = DateTime.Parse(Request.Form["CreateTime"]);
return news
}然后再去这个值怎么取呢?
public static M_modell abc(int id)
{
M_modell news = new M_modell();
news.Id = int.Parse(Request.Form["Id"]);
news.Category = int.Parse(Request.Form["Category"]);
news.Title = Request.Form["Title"];
news.CreateTime = DateTime.Parse(Request.Form["CreateTime"]);
return news
}然后再去这个值怎么取呢?
解决方案 »
- 双击GridView一行后数据如何显示到TextBox中
- 如何改变DATATABLE的视图来改变显示而不是每次都读数据库
- 实现购物车的问题。
- |M| 奇怪为什么 Label lblSubTotal = (Label)gvSaleOrderView.FooterRow.FindControl("lblSubTotal"); 改不到我要的控件
- 急:如何实现查询的汇总?
- 刚做的网站cidea.cn今天开通的,在测试中......
- 关于多个表(每个表中读取多个记录)显示的问题
- ????????请各位大虾看看是哪里出错了??????
- 请教个三个表联查输出的问题!
- asp.net
- 关于动态菜单的问题
- 无限级的数据库设计优劣
string Title = news.Title;
^^^……
string aa = news.Id;