RE: Use DataGrid To Add New Records

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

From: Patrick Laferriere (plaferriere_at_transitions.com)
Date: 03/19/04


Date: Fri, 19 Mar 2004 05:19:59 -0800

Jeff,
I read that article before and it helped but didn't solve the issue.
What I need is an article or an example of how to make the grid act like
it's editing, IE the text boxes for each column, but do an update
instead. I somehow have to loop through the dataset to get the columns
and then build the columns in the datagrid based on those columns. A
snippet would be helpful.

Thanks in advance,
PatLaf

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Datagrid Add new Row problkem
    ... I think basically your code of second option is OK. ... It should be after datagrid data ... Loop scope. ... > Dim NestedCell As New TableCell ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • RE: Feeling Stupid Now
    ... did the DataGrid worked well now? ... Microsoft Online Support ... | "brian" wrote: ... |> END SNIPPET ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: DynamicColumnsAccessingRowsDataGrid
    ... Is there away I can check the viewstate in the page load event after I click the submit button? ... Eliyahu Goldin wrote: ... I dynamically create the columns for the datagrid and add them to it. ... In the submit button I loop through the datagrids items and if checked I will save the product to the cart. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: DataGrid bug?
    ... You can compare these in a loop to find our that's not the case even though you're not using filtering and sorting. ... Next wrong assumption is what row indexes in the DataGrid would not change while this loop is executed. ... I DataGrid DataView DataTable ... I get the exception only if I select a cell in the rightmost column of the DataGrid before I try to delete some rows. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Datagrid Add new Row problkem
    ... It should be after datagrid ... Loop scope. ... >> Dim NestedCell As New TableCell ... >> Dim dgItem As DataGridItem ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)