{
GridViewRow Row = (GridViewRow)(Button)e.CommandSource).NamingContainer;
Label lblPrice=(Label)row.FindControl("lblPrice");
if (e.CommandName=="AddCart")
{
}
}
# Command Name is the property of
Inside the
Text = "Add to cart";
Command Name = "AddCart";
Command Argument = '<%#DataBinder.Eval(Containe.DataItem,"Product_id")%>'
No comments:
Post a Comment