Re: ASP.NET Datagrid filling textboxes

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Aaron (a_benage_at_hotmail.com)
Date: 07/19/04

  • Next message: Harshdeep Mehta: "Re: Scroll"
    Date: Mon, 19 Jul 2004 14:26:01 -0700
    
    

    > First off, yeah I think there are much better ways to do what you are
    > doing, but I don't know what you are doing that you need to go to the
    > next record..?
     
    Basically, the user updates a record and then needs to move to the next
    record for editing. They would like to do this with one click of the
    "Update Button". (Update the current row, then move to the next one, and
    populate the text boxes for editing)

    > Second, there is no "next record", at least available from the
    > EventArgs (e). If you need to get to other values that were stored in
    > the datagrid, you'll have to access them via
    >
    > myDataGrid.Items(rowNumber).cells(0..1..2..3..)
    >
    > Hope this helps,
    Yes, this does help a lot. Thanks.

    Aaron


  • Next message: Harshdeep Mehta: "Re: Scroll"

    Relevant Pages

    • Re: Need help selecting controls for app
      ... When editing Level 3, the user doesn't get the whole picture unless ... > Level node the DataGrid can be populated with the attributes of the Level. ... So a display might look ... I don't want to have to scroll to see the ...
      (microsoft.public.dotnet.framework.windowsforms.controls)
    • RE: Long list of items in my datagrid, editing is a pain!!
      ... Microsoft Online Support ... | Subject: RE: Long list of items in my datagrid, editing is a pain!! ... | For paging, since you're not using the ADO.NET data components (DataSet, ...
      (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
    • Re: Posting Changes to Datagrids
      ... "scs" wrote in message ... > I am using VB .NET and trying to update a datagrid with user inputs. ... datagrid and all textbox columns in the collection are set to allow editing. ...
      (microsoft.public.dotnet.general)
    • Re: Datagrid cell position and textboxes
      ... editable, which provided the full editing, databinding function for use. ... Yes, in .Net Compact Framework, the DataGrid is readonly, and this is by ... suggest post in corresponding compact framework newsgroup, ...
      (microsoft.public.dotnet.framework.performance)
    • Re: DataGrid sort when Editing
      ... > When you are editing a row of a datagrid, and then you sort the datagrid, ... I am simply clearing the edititemindex. ...
      (microsoft.public.dotnet.framework.aspnet.datagridcontrol)