window.parent.document.getElementByid("父船体控件id").value=...;
解决方案 »
- 语法错误。 在查询表达式 'ID not in (select top 12*1 ID from prod_news order by infotime des
- 我就这么点分了?求一个存储过程里面带有触发器例子?等待好心人
- 后台提交页面后无法获取返回数据求解!烦请过去帮忙看下可否?
- 请广大同志帮忙测试一开发好的威客程序
- 怎么使用类文件
- 请教一个关于VS2005的问题:)请大侠们帮忙!
- 如何在页面向应DropDownList的SelectedIndexChange事件 ??
- 关于页面动态加载用户自定义控件,状态维持的问题
- ASP.net中如何引用另一个文件
- 我的asp.net为什么用不成
- 各位高手帮忙看下
- 请问这两种判断空值(null)有什么不同?(有码)
protected void Page_Load(object sender, EventArgs e)
{
txtUserName.Text = Session["userName"] == null ? string.Empty : (string)Session["userName"];
txtAddress.Text = Session["Address"] == null ? string.Empty : (string)Session["Address"];
txtAge.Text = Session["Age"] == null ? string.Empty : (string)Session["Age"];
}
在你的B页面上选择某一列的信息时
Session["userName"]="";
Session["Age"]=
Person person=new Person
person.userName="";//将你选中的行的每列信息赋给Person这个实例
然后
Session["person"]=person
Response.Redirect(URL);
接着在A页面Page_Load事件中如下操作
Person person= Session["person"]== null ? null : (Person)Session["person"];
if(person!=null)
{
//将person个属性的值赋给对应的文本框
}
http://www.cnblogs.com/chenping-987123/archive/2010/08/27/1809877.html
修改一下alert那边就可以了。