Search Result

Collapse
2 results in 0.0030 seconds.
Keywords
Members
Tags
templatefield
  •  

  • DeanC
    started a topic Editing Gridview template field problem

    Editing Gridview template field problem

    I am having a problem when I am updating my rows. The data is being typed in is getting overriden by the data that was previously there. Does anyone know how to fix this?

    Code:
    protected void HFReportGrid_RowUpdating(object sender, GridViewUpdateEventArgs e)
        {
    TextBox Points = HFReportGrid.Rows[e.RowIndex].FindControl("txtPoints") as TextBox;
    TextBox Comment = HFReportGrid.Rows[e.RowIndex].FindControl("txtComment")
    ...
    See more | Go to post

  • How to work with templatefield checkboxes in GridView?

    Here's my data: (Table: EmployeePlan)
    Code:
    EmpID     Plan      Status
    abc123    PlanA     A
    abc123    PlanB     D
    abc123    PlanC     A
    xyz789    PlanA     D
    xyz789    PlanB     D
    xyz789    PlanC     A
    ...
    where Status "A" means an employee subscribed to a certain plan and "D" otherwise.

    I have created a GridView in ASP.Net, normalising the data by the...
    See more | Go to post
    Last edited by Frinavale; Dec 23 '09, 02:21 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.
Working...