Home » FAQ » ASP.NET » Miscellaneous » I get the error System.__ComObject when using recordset
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() ;
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with