Hi everyone,
how could i update in datagrid & then update in the database???

Thx & Regards


begin 666 smiley_doh.gif
M1TE&.#EA$ `0`.8``/GRZ_;NY/GMWN[N[OGKV?GHT_CFS_CDR>3DY-[FWOGA
MPOG?OOG;M?G7K?G4I=C8V.+2OO_,F?/0H_C+D?+,F_C*C]_1OOC)C?C&A<S,
MS/''D_#"A?2_?/F^<_:Y:[#,T/&]>=>^GO>U:_FW8OFT6Z["O[V\N_*R7^"W
M@OBN3ZV]O?BM2_BJ1;2TM-NJ;/FH0/FD-ZNVK/FB,[^MEYFRM<RE=?F>*?F;
M(JBLF_F9'+:CC*^HGJ>GI:6AG-.93OF7&?B4$=J7/\Z52O2-!LZ10>Z+"KZ6
M8:"9@9F9F9F9F:J5>XV=G["6<]"--J:2>)R4A)Z7?HJ7F8^5EJJ*8-:#&->!
M$IJ(<(:(B)N':Z"&9):#;)Q\49YZ2X]^:(Y]7X%[=(=[:WQ\?(IT5Y5R1(ER
M5:%N+85O4W9W=HAM2(1K4HIH/'UH2XEB+WME27]E1&9F9F9F9G%B37-;.VY8
M.V%2/U=54UQ00%)+0DM(1 ```````````````````````````"'Y! 44`!\`
M+ `````0`! ```?C@!^"@C%07EH\/6%2-(.")61X=&MO&1D#)E=+@SAW9A8"
M!3LF"!D]`RU1'R5W2@$"!@HA/0]G`V\(4A]B9@"P"@P2.DI6/7$S4B5X$ 2Q
M# X1&!PN1CYU9T=T! <+7]Y.3&!=4RQV1UEKW T4&ALU6"<I+#!R7EYM# T.
M$Q@='O$O8-B04R9;@P@5^GD@D>*%C!L_S,7 @^)"OQ$D5CB\`80*GA(?T+@!
MT0'C"B%$F@`I,H<-H3MC1LA[L64+ER%R[H 4U$E.$($Y@%3)B</1*C62Y,RQ
0@X?-3J.KCI3Q<B2&T4 `.P``
`
end

Re: Update in DataGrid by Cor

Cor
Mon Jul 26 03:37:28 CDT 2004

Webform or windowsform?

> how could i update in datagrid & then update in the database???
>
> Thx & Regards
>
>
>



Re: Update in DataGrid by Mariame

Mariame
Mon Jul 26 03:47:10 CDT 2004

Thx for ur reply
its a webform
"Cor Ligthert" <notfirstname@planet.nl> wrote in message
news:ef%23mJwucEHA.2944@TK2MSFTNGP11.phx.gbl...
> Webform or windowsform?
>
> > how could i update in datagrid & then update in the database???
> >
> > Thx & Regards
> >
> >
> >
>
>



Re: Update in DataGrid by Cor

Cor
Mon Jul 26 03:58:50 CDT 2004

Mariame,

That needs more than with a winfowsform, so I can not give it you only
basicly because you have to make decissions first .

Do you use a dataset, than you have to save the dataset in a session, (or in
a viewstate what I would not do).

Then you can from the button events from the datagrid update that dataset
and update that using the dataadapter in your database.

Do you use a datareader bounded to the datagrid, than you can make, when
there is an update buttonclick, update the database using the
command.executenonquery or another one in that range with an Insert or an
Update SQL string.

I hope this helps something?

Cor