首先,可以存入session中
其次,如果你左边的是treeview你可以用
foreach(ForumInfo info in fInfo)
{
TreeNode newNode = new TreeNode();
newNode.Text = info.ForumName.ToString();
newNode.Value = info.ForumId.ToString();
newNode.Target = "ContentFrame";
newNode.NavigateUrl = @"forumMain.aspx?forumId="+newNode.Value;
node.ChildNodes.Add(newNode);
nodeChange=newNode;
}
类似的语句来写,点击的时候直接就跳到了右边的页面,还可以将值传递过去的
其次,如果你左边的是treeview你可以用
foreach(ForumInfo info in fInfo)
{
TreeNode newNode = new TreeNode();
newNode.Text = info.ForumName.ToString();
newNode.Value = info.ForumId.ToString();
newNode.Target = "ContentFrame";
newNode.NavigateUrl = @"forumMain.aspx?forumId="+newNode.Value;
node.ChildNodes.Add(newNode);
nodeChange=newNode;
}
类似的语句来写,点击的时候直接就跳到了右边的页面,还可以将值传递过去的
解决方案 »
- xsl很难的问题
- GET的数据可以用Request.Url.Query得到,那么POST的应该用什么得到呢?
- 急,在线考试,RadioButton问题。。
- 100分求如何构造一个string数组
- 关于asp.net大文件上传组件的问题。
- (狂散分!!2008年SQL防注入第一帖)SQL防注入解决方案大征集
- 没有可用的错误消息,结果代码: E_FAIL(0x80004005)。
- 两个 Page_Load ?
- 数据库时间比较的问题,麻烦指教菜鸟
- 谁弄过WFS查询的吗?时间类型无法查询,求救各位大侠!
- 在线急求:最后编写好的ASP.NET文件怎么在局域网的其他机器上访问啊?????????
- 会FreeTextBox3.1.6高手请教如何添加上传Flash和视频
必需是要从上一页面Post过来的.
{
document.getElementById("TextBox1").innerText = top.form1.左边控件ID.value;
}
具体示情况而定
function get_value()
{
var val=document.getElementById("Text").value;
window.parent.main.location="你的页面.aspx?text="+val;
}