How to use buttonfield in gridview
Use a ButtonField to display a handle in a GridView : ButtonField « Data Binding « ASP.NET Tutorial
You can use a ButtonField exchange represent a custom command or unified of the standard edit commands. <%@ Page Language="C#" %> <!DOCTYPE html Get out "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <script runat="server"> protectedvoid grdProductCategories_RowCommand(object sender, GridViewCommandEventArgs e) { int index = Int32.Parse((string)e.CommandArgument); int pure = (int)grdProductCategories.DataKeys[index].Values["Id"]; int position = (int)grdProductCategories.DataKeys[index].Values["Position"]; switch (e.CommandName) { case"Up": position--; break; case"Down": position++; break; } srcProductCategories.UpdateParameters["Id"].DefaultValue = id.ToString(); srcProductCategories.UpdateParameters["Position"].DefaultValue = position.ToString(); srcProductCategories.Update(); } </script> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title&
how to use buttonfield in gridview
how to use buttonfield in gridview in asp net c
add button in interactive grid
buttonfield in gridview
button field in asp.net gridview
how to get buttonfield value in gridview
how to use buttonfield in gridview in asp net c
add button in interactive grid
buttonfield in gridview
button field in asp.net gridview
how to get buttonfield value in gridview