You have a bug in your code where the DataTable doesn't have what you think
it should...seriously, it's hard to guess at what the issue could be, but it
certainly seems to be something in the way you are doing things...
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Lam" <ja**********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
hi
I wrote a aspx page in c#. It execute the query to SQL 2000 database
and return a DataTable table, bind it to the DataGrid and display on the
screen. The page refresh every 10 seconds.
it has been running successfully most of the time. but some times it
gives
me error
"DataBinder.Eval: 'System.Data.DataRowView' does not contain a property
with
the name ID"
then it shows some error with the DataBind() method in dataGrid.
does any knows what's wrong?
Thanks a lot
Lam