.aspx page ,
"<asp:imagebutton com="" commandargument="<%#Eval("ERROR_FILE1") + ","+Eval("ERROR_FILE2")+","+Eval("ERROR_FILE3")%>" commandname="<%# Eval("ERROR_ID") %>" id="ImgB_DELETE" imageurl="../images/Manager/trash.png" onclientclick="return confirm('Are you sure you want to delete this Error Report?')" oncommand="Delete" runat="server"></asp:imagebutton>"
.cs page
string[] Argument = e.CommandArgument.ToString().Split(new char[] { ',' });
string File1 = Argument[0].ToString();
string File2 = Argument[1].ToString();
string File3 = Argument[2].ToString();
No comments:
Post a Comment