模态窗体一般不可以直接进行服务器端交互,不过可以变通实现,新建一个asp,内置frame,代码如下:search.asp
<html>
<head>
<title>Search</title>
</head>
<frameset cols="*">
<frame src="SelectPersonFromOrg.aspx?SRC=<%=Request.QueryString("SRC")%>&SRCCTL=<%=Request.QueryString("SRCCTL")%>">
</frameset>
</html>至于在winsearch中得到winmain的dataset1恐怕有些困难,你可以使用session来保存dataset1,然后在winsearch中读取
<html>
<head>
<title>Search</title>
</head>
<frameset cols="*">
<frame src="SelectPersonFromOrg.aspx?SRC=<%=Request.QueryString("SRC")%>&SRCCTL=<%=Request.QueryString("SRCCTL")%>">
</frameset>
</html>至于在winsearch中得到winmain的dataset1恐怕有些困难,你可以使用session来保存dataset1,然后在winsearch中读取
解决方案 »
- 关于兼容性的问题~~~~~~~~~~~~~~~~~~~~~求高手解答~~~~~~~~~~~~~~~~~
- Button事件
- 怎么理解面向对象
- 问个问题,关于自定义出错信息的
- 多层架构中大家是怎么设计事务的呢
- 读textBox值乱码问题,找了三天三夜的资料,都没解决,请高手们帮帮忙?在线等!
- NET下 大家用什么发送EMAIL?
- 关于web.config中的form验证的roles
- 请问如何自己动态在ASPnetMenu中建立新的菜单项?
- datagrid绑定数据时可以象如Delphi里面的dbgrid那样直接通过属性设置而不写任何代码即可实现数据绑定吗?
- 有做过电子商务的人吗?
- 新建一个webform的pagelayout默认格式为GridLayout能更改为FlowLayout么?
2
http://dotnet.aspx.cc/ShowDetail.aspx?id=49ML4AO8-5PB3-4KNY-NJZD-LJOIOXV4M1X4
http://www.csdn.net/Develop/read_article.asp?id=15113