Edit column in gridView
-
i have gridview in which i have 5 columns.last one column is update <Columns> <asp:BoundField DataField="UserfirstName" HeaderText="Name" ItemStyle-CssClass="grid-text"> <ItemStyle CssClass="grid-text" /> </asp:BoundField> <asp:BoundField DataField="ProcessName" HeaderText="Process Name" ItemStyle-CssClass="grid-text"> <ItemStyle CssClass="grid-text" /> </asp:BoundField> <asp:BoundField DataField="Coname" HeaderText="Company Name" ItemStyle-CssClass="grid-text"> <ItemStyle CssClass="grid-text" /> </asp:BoundField> <asp:BoundField DataField="EndDate" HeaderText="End Date" /> <asp:CommandField HeaderText="Update" SelectText="Update" ShowSelectButton="True" /> </Columns> when user will click on ...i want to make 2 colums(Name,EndDate) editable for user. Can any one help me in tht?
-
i have gridview in which i have 5 columns.last one column is update <Columns> <asp:BoundField DataField="UserfirstName" HeaderText="Name" ItemStyle-CssClass="grid-text"> <ItemStyle CssClass="grid-text" /> </asp:BoundField> <asp:BoundField DataField="ProcessName" HeaderText="Process Name" ItemStyle-CssClass="grid-text"> <ItemStyle CssClass="grid-text" /> </asp:BoundField> <asp:BoundField DataField="Coname" HeaderText="Company Name" ItemStyle-CssClass="grid-text"> <ItemStyle CssClass="grid-text" /> </asp:BoundField> <asp:BoundField DataField="EndDate" HeaderText="End Date" /> <asp:CommandField HeaderText="Update" SelectText="Update" ShowSelectButton="True" /> </Columns> when user will click on ...i want to make 2 colums(Name,EndDate) editable for user. Can any one help me in tht?
In Edititemtemplate field use textboxes for (Name , EndDate) . when u click update button only that fields changes.