Gridview bound to Datatable. Update doesn't work, need help  
Author Message
Saki





PostPosted: Mon Feb 19 08:15:10 CST 2007 Top

ASP.Net >> Gridview bound to Datatable. Update doesn't work, need help Hello.

I have a Gridview on my webpage. To this gridview, I bind a
datatable. The results are correctly displayed. But after I edit
some values and trigger the [GridView1_RowUpdating] event, the
values [e.NewValues] & [e.OldValues] are empty. What am I doing
wrong?

Thanks in advance.


--
--------------------------------- --- -- -
Posted with NewsLeecher v3.9 Beta 1
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -

Web Programming422  
 
 
Eliyahu





PostPosted: Mon Feb 19 08:15:10 CST 2007 Top

ASP.Net >> Gridview bound to Datatable. Update doesn't work, need help By any chance, do you set Visible property for these columns to false?

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"Jaymz" <EMail@HideDomain.com> wrote in message
news:WdiCh.56$EMail@HideDomain.com...
> Hello.
>
> I have a Gridview on my webpage. To this gridview, I bind a
> datatable. The results are correctly displayed. But after I edit
> some values and trigger the [GridView1_RowUpdating] event, the
> values [e.NewValues] & [e.OldValues] are empty. What am I doing
> wrong?
>
> Thanks in advance.
>
>
> --
> --------------------------------- --- -- -
> Posted with NewsLeecher v3.9 Beta 1
> Web @ http://www.newsleecher.com/?usenet
> ------------------- ----- ---- -- -
>
>