visual stdio 2008 C# SQL 2005。下面几句哪位大神能不能逐行的解释注释一下,一定重谢,一定采纳
protectedvoiddlNews_ItemCommand(objectsource,DataListCommandEventArgse)26{27intid=Con...
protectedvoiddlNews_ItemCommand(object source, DataListCommandEventArgs e)
26 {
27 int id =Convert.ToInt32(dlNews.DataKeys[e.Item.ItemIndex].ToString());
28 Response.Write("<script language=javascript>window.open('showNews.aspx?id="+ id +"','','width=520,height=260')</script>");
29
30 } 展开
26 {
27 int id =Convert.ToInt32(dlNews.DataKeys[e.Item.ItemIndex].ToString());
28 Response.Write("<script language=javascript>window.open('showNews.aspx?id="+ id +"','','width=520,height=260')</script>");
29
30 } 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询