小弟新手  这个问题看了好几天资料都没解决 对.NET还比较陌生 但很感兴趣    请高手帮忙解决下  在线等  万分感谢
  可以的话远程协助也可以 学习了
 问过很多人 有的说命名空间问题 有的说 动态库没引出来    不知道怎么解决了   各位帮下忙 谢谢了 
刚在这个网申请账号 没分 - -编译器错误信息: CS0246: 找不到类型或命名空间名称“db”(是否缺少 using 指令或程序集引用?)源错误:
行 18:     protected Label lblTime;
行 19:     protected Label lblZgbm;
行 20:     private db obj = new db();
行 21:     protected TextBox txtBalance;
行 22:     protected TextBox txtContractID
 
源文件: f:\OA项目\OA项目\oaPro\clfukuan\askClfk.aspx.cs    行: 20 
asp.CS里面
 
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;public class askClfk : Page
    
{
    // Fields
    protected Button btOk;
    protected DropDownList ddlPayMode;
    protected DropDownList ddlPayType;
    protected DropDownList ddlPayUnit;
    protected DropDownList ddlProjects;
    protected HtmlForm form1;
    protected Label Label1;
    protected Label lblBank;
    protected Label lblBankID;
    protected Label lblMSG;
    protected Label lblTime;
    protected Label lblZgbm;
    private db obj = new db();
    protected TextBox txtBalance;
    protected TextBox txtContractID;
    protected TextBox txtContractPrice;
    protected TextBox txtDate;
    protected TextBox txtNowPay;
    protected TextBox txtPayyed;
    protected TextBox txtRich;
    protected TextBox txtShouldPay;
    protected TextBox txtTitle;
    protected TextBox txtWillPay;
DB里面~
public class db
{
    // Fields
    private OleDbDataAdapter adp;
    private OleDbCommand com;
    private OleDbConnection con;
    private DataSet ds;
    private OleDbDataReader rd;
    private static string strconn;    // Methods
    static db();
    public db();
    public void bindCheckboxlist(string sql, CheckBoxList cbl);
    public void bindCheckboxlist(string sql, CheckBoxList cbl, string strChecked);
    public void binddatagrid(string sql, DataGrid dg);
    public void bindDataGridWithKeyField(string sql, DataGrid dg, string id);
    public void binddatalist(string sql, DataList dl);
    public void bindDropList(string sql, DropDownList ddl);
    public void bindDropListOnePar(string sql, DropDownList ddl);
    public void bindGridView(string sql, GridView gv);
    public void bindGridView(string sql, GridView gv, string keyFields);
    public void bindGridView(string sql, GridView gv, string keyFields, string gvCapital);
    public void bindlistbox(string sql, ListBox listb);
    public void bindlistboxOnePar(string sql, ListBox listb);
    public void bindRadioButtonlist(string sql, RadioButtonList rbl);
    public void bindRepeater(string sql, Repeater rp);
    public static void checkLoginName();
    public void Close();
    public static OleDbConnection CreateConn();
    public void datatable2db(DataTable dt);
    public void execnonsql(string sql);
    public void execnonsql(string sql, string strLog, string strTitle);
    public int exeExecuteScalar(string sql);
    public string exeExecuteScalarStr(string sql);
    public string GetCustomerMac();
    public DataSet getdataset(string sql);
    public DataTable getdataTable(string sql);
    public string GetDeptID(string zgbm);
    public string GetDeptName(string zgbm);
    private string GetIP();
    public string getManageValue(string mName);
    public OleDbDataReader getreader(string sql);
    public string getZgxm(string zgbm);
    public bool isLookBus(string busRoadNo, string zgbm);
    public bool isOpera(string qxmc);
    public bool isOperaAq(string qxmc);
    public bool isOperaXz(string qxmc);
    public bool isOperaYy(string qxmc);
    public void New();
    public void Open();
    public string str2HTML(string str);
    public string Timepan2String(DateTime dt);
    public string Timepan2String(DateTime dtOld, DateTime dtNew);
    public void toLog(string LogComment, string logTitle);
    public string Zgbm2Zgxm(string str);