Error 1 'AdvoDiary.DataSet' is a 'namespace' but is used like a 'type' D:\AdvoDiary\AdvoDiary\ReportViewer\rptBilling.cs 25 9 AdvoDiary

namespace AdvoDiary.ReportViewer

public partial class rptBilling : Form


    Common sCom;
    DBHelper myDB;
    string sOLE;
    clsGlobalVar objGlob;
    OleDbConnection cn;
    OleDbDataAdapter sDA;
    DataSet sDS;
    OleDbCommand cmd;

While the code is very sparce, the error message tells you what is wrong. In the namespace AdvoDiary, DataSet is a namespace. I would suggest you look inside DataSet for the type that you want.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.