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;

Recommended Answers

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.

Jump to Post

All 2 Replies

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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.