objDataAdapter isn't of type System.Data.OleDb.OleDbDataAdapter.....but
other than that we can't tell you anything more.
Add a breakpoint to the line and a add a watch to "objdataAdapter" it'll
tell you what type it is...
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!)
"thomson" <sa**********@yahoo.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Hi all,
Iam getting a Specified cast not valid on this line
((System.Data.OleDb.OleDbDataAdapter)objDataAdapte r).AcceptChangesDuringFill=false;
Please help me out
thanks in advance
thomson