怎样让
Sub DataGrid1_ItemCommand(sender As Object, e As DataGridCommandEventArgs)
if e.commandname="sss" then dim itemtype as listitemtype
itemtype=e.item.itemtype
if itemtype=listitemtype.item or itemtype=listitemtype.alternatingitem then dim button as linkbutton
button=ctype(e.Item.FindControl("linkbutton1"),linkbutton)
'''''
button.attributes.add("onclick","MM_openBrWindow('mrg.aspx','aaa','scrollbars=yes,width=400,height=250')") end if
end if
End Sub
弹出新的窗口?
Sub DataGrid1_ItemCommand(sender As Object, e As DataGridCommandEventArgs)
if e.commandname="sss" then dim itemtype as listitemtype
itemtype=e.item.itemtype
if itemtype=listitemtype.item or itemtype=listitemtype.alternatingitem then dim button as linkbutton
button=ctype(e.Item.FindControl("linkbutton1"),linkbutton)
'''''
button.attributes.add("onclick","MM_openBrWindow('mrg.aspx','aaa','scrollbars=yes,width=400,height=250')") end if
end if
End Sub
弹出新的窗口?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货