protected void dlcategory_ItemCommand(object source, DataListCommandEventArgs e) { if (e.CommandName == "category") { LinkButton LinkButton1=(LinkButton)e.Item.FindControl("LinkButton1"); Response.Redirect("~/subcategory.aspx?subcat=" + e.CommandArgument + ""); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)