Professional Web Applications Themes

update a datagrid through dataset - ASP.NET Data Grid Control

Check out "Checking for Changed Items"this article, this explains one way to update back the dataset from datagrid. [url]http://msdn.microsoft.com/library/en-us/dv_vstechart/html/vbtchTopQuestionsAboutASPNETDataGridServerControl. asp?frame=true#vbtchtopquestionsaboutaspnetdatagri dservercontroleditingmultiplerows[/url] -- -Saravana [url]http://dotnetjunkies.com/WebLog/saravana/[/url] [url]www.ExtremeExperts.com[/url] "Jim" <peesa_govnohotmail.com> wrote in message news:urhs9oi8EHA.2804TK2MSFTNGP15.phx.gbl... > Hi all > > I have a datagrid which has a dataset as it's datasource. In order to send > an update to the database how do i get all the updates the user made on the > datagrid in the dataset? > in other words : what is the smartest way of 'updating' a datagrid > > > ch Jim > >...

  1. #1

    Default Re: update a datagrid through dataset

    Check out "Checking for Changed Items"this article, this explains one way to
    update back the dataset from datagrid.
    [url]http://msdn.microsoft.com/library/en-us/dv_vstechart/html/vbtchTopQuestionsAboutASPNETDataGridServerControl. asp?frame=true#vbtchtopquestionsaboutaspnetdatagri dservercontroleditingmultiplerows[/url]


    --
    -Saravana
    [url]http://dotnetjunkies.com/WebLog/saravana/[/url]
    [url]www.ExtremeExperts.com[/url]



    "Jim" <peesa_govnohotmail.com> wrote in message
    news:urhs9oi8EHA.2804TK2MSFTNGP15.phx.gbl...
    > Hi all
    >
    > I have a datagrid which has a dataset as it's datasource. In order to send
    > an update to the database how do i get all the updates the user made on
    the
    > datagrid in the dataset?
    > in other words : what is the smartest way of 'updating' a datagrid
    >
    >
    > ch Jim
    >
    >

    Saravana Guest

  2. #2

    Default update a datagrid through dataset

    Hi all

    I have a datagrid which has a dataset as it's datasource. In order to send
    an update to the database how do i get all the updates the user made on the
    datagrid in the dataset?
    in other words : what is the smartest way of 'updating' a datagrid


    ch Jim


    Jim Guest

  3. #3

    Default Re: update a datagrid through dataset

    You can loop through each row in datagrid and you get value of each column
    in save button click event.

    --
    -Saravana
    [url]http://dotnetjunkies.com/WebLog/saravana/[/url]
    [url]www.ExtremeExperts.com[/url]



    "Jim" <peesa_govnohotmail.com> wrote in message
    news:OGh2UDw8EHA.2012TK2MSFTNGP15.phx.gbl...
    > how do you get the columnvalues per row from a datagrid?
    > in which event does this happen?
    >
    > ch Jim
    > "Saravana" <saravanksct.co.in> wrote in message
    > news:ODAXCco8EHA.3028TK2MSFTNGP10.phx.gbl...
    > > Check out "Checking for Changed Items"this article, this explains one
    way
    > to
    > > update back the dataset from datagrid.
    > >
    >
    [url]http://msdn.microsoft.com/library/en-us/dv_vstechart/html/vbtchTopQuestionsAboutASPNETDataGridServerControl. asp?frame=true#vbtchtopquestionsaboutaspnetdatagri dservercontroleditingmultiplerows[/url]
    > >
    > >
    > > --
    > > -Saravana
    > > [url]http://dotnetjunkies.com/WebLog/saravana/[/url]
    > > [url]www.ExtremeExperts.com[/url]
    > >
    > >
    > >
    > > "Jim" <peesa_govnohotmail.com> wrote in message
    > > news:urhs9oi8EHA.2804TK2MSFTNGP15.phx.gbl...
    > > > Hi all
    > > >
    > > > I have a datagrid which has a dataset as it's datasource. In order to
    > send
    > > > an update to the database how do i get all the updates the user made
    on
    > > the
    > > > datagrid in the dataset?
    > > > in other words : what is the smartest way of 'updating' a datagrid
    > > >
    > > >
    > > > ch Jim
    > > >
    > > >
    > >
    > >
    >
    >

    Saravana Guest

  4. #4

    Default Re: update a datagrid through dataset

    thanks a lot!

    ch Jim
    "Saravana" <saravanksct.co.in> wrote in message
    news:ODAXCco8EHA.3028TK2MSFTNGP10.phx.gbl...
    > Check out "Checking for Changed Items"this article, this explains one way
    to
    > update back the dataset from datagrid.
    >
    [url]http://msdn.microsoft.com/library/en-us/dv_vstechart/html/vbtchTopQuestionsAboutASPNETDataGridServerControl. asp?frame=true#vbtchtopquestionsaboutaspnetdatagri dservercontroleditingmultiplerows[/url]
    >
    >
    > --
    > -Saravana
    > [url]http://dotnetjunkies.com/WebLog/saravana/[/url]
    > [url]www.ExtremeExperts.com[/url]
    >
    >
    >
    > "Jim" <peesa_govnohotmail.com> wrote in message
    > news:urhs9oi8EHA.2804TK2MSFTNGP15.phx.gbl...
    > > Hi all
    > >
    > > I have a datagrid which has a dataset as it's datasource. In order to
    send
    > > an update to the database how do i get all the updates the user made on
    > the
    > > datagrid in the dataset?
    > > in other words : what is the smartest way of 'updating' a datagrid
    > >
    > >
    > > ch Jim
    > >
    > >
    >
    >

    Jim Guest

  5. #5

    Default Re: update a datagrid through dataset

    how do you get the columnvalues per row from a datagrid?
    in which event does this happen?

    ch Jim
    "Saravana" <saravanksct.co.in> wrote in message
    news:ODAXCco8EHA.3028TK2MSFTNGP10.phx.gbl...
    > Check out "Checking for Changed Items"this article, this explains one way
    to
    > update back the dataset from datagrid.
    >
    [url]http://msdn.microsoft.com/library/en-us/dv_vstechart/html/vbtchTopQuestionsAboutASPNETDataGridServerControl. asp?frame=true#vbtchtopquestionsaboutaspnetdatagri dservercontroleditingmultiplerows[/url]
    >
    >
    > --
    > -Saravana
    > [url]http://dotnetjunkies.com/WebLog/saravana/[/url]
    > [url]www.ExtremeExperts.com[/url]
    >
    >
    >
    > "Jim" <peesa_govnohotmail.com> wrote in message
    > news:urhs9oi8EHA.2804TK2MSFTNGP15.phx.gbl...
    > > Hi all
    > >
    > > I have a datagrid which has a dataset as it's datasource. In order to
    send
    > > an update to the database how do i get all the updates the user made on
    > the
    > > datagrid in the dataset?
    > > in other words : what is the smartest way of 'updating' a datagrid
    > >
    > >
    > > ch Jim
    > >
    > >
    >
    >

    Jim Guest

Similar Threads

  1. Selected (CurrentCell) doesn´t update after i rebind a dataset to my datagrid?
    By Robert Pettersson in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: September 19th, 02:06 PM
  2. How many dataBase tables can a dataSet table update via dataGrid?
    By Gary Frank in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: August 27th, 01:15 PM
  3. HELP with dataset update
    By Brad Shook in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: November 12th, 06:11 PM
  4. Replies: 1
    Last Post: December 6th, 01:55 AM
  5. update dataset
    By pas07920 in forum ASP.NET General
    Replies: 10
    Last Post: July 25th, 06:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139