Live Chat Icon For mobile
Live Chat Icon

I get the error System.__ComObject when using recordset

Platform: ASP.NET| Category: Miscellaneous

This error occurs if you are trying to fetch the recordset value as follows


rs.Fields('productname') 

To avoid this error try
VB.NET


rs.Fields('productname').Value.ToString() 

C#


rs.Fields['productname').Value.ToString() ;

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.