![]() |
#2
bygg2007-04-03 15:37
|

this.TableView.Rows[3].Cells[1].Attributes.Add("onclick","location='http://localhost/xm/proshow3.asp?id=<%=DT&%>'");有问题,说传递参数类型有问题?
附DT代码:
int DT;
DT=this.GetID();
private int GetID()
{
int ID;
try
{
ID=int.Parse(this.Request.QueryString["Random"]);
if(ID<=0)
ID=1;
return ID;