把它跟在
URL?后面
或放在SESSION里
URL?后面
或放在SESSION里
解决方案 »
- asp.net 生成真静态页都有什么合理方案
- “DropDoLisex”有一个无效 SelectedValue,因为它不在项目列表中。
- updatapanel中script事件问题
- 如何让添加到数据库中的字符自动换行?
- ★如何通过代码实现编码一个项目?
- 在aspx文件中使用css样式的奇怪问题!同样的设置div背景的样式在html文件中可以使用!但在aspx问件中却不能使用!请大家指教!
- 如何在ASP.NET(C#)把TextBox的Text里输入的值转成ASCII码,急....
- 问一个特殊的树型控件的问题
- Datareader读出的数据有很多行和列,怎样将其中的一行的所有字段赋给一个ArrayList阿?
- 上传问题(急)
- 用回车键触发button的oncliclk事件是哪个属性???
- How SOAP(Simple Object Access Protocol) was invented
StringBuilder str=new StringBuilder(100);
for(int i=0;i<DataGrid1.Items.Count;i++)
{
CheckBox Select=(CheckBox)DataGrid1.Items[i].FindControl("CheckBox1");
if (Select.Checked==true)
{
System.Web.UI.WebControls.DataGridItem dgi=this.DataGrid1.Items[i];
str.Append(dgi.Cells[1].Text.Trim()+","+dgi.Cells[2].Text.Trim());
str.Append("*");
}
else
{
}
}
string s=str.ToString();
s=s+"";
StringBuilder strScript = new StringBuilder();
strScript.Append(@"<script language=JavaScript>" + "\n");
strScript.Append(@" top.returnValue='" + s+ "';" + "\n");
strScript.Append(@" top.close();" + "\n");
strScript.Append(@"</script>");
Page.RegisterStartupScript("setValue", strScript.ToString());