TCmUser 类的一个查找方法
public override void Select()
    {
        string strSql = GetSelectString();
        TSqlDB oDB = new TSqlDB(strSql);
        if (!oDB.EOF)
        {
            FUserID       = oDB["user_id"      ].ToString();
            FUserSort = oDB["user_sort"].ToString();         问题的地方。我点的时候。点不出ToInt
            FUserTime     = oDB["user_tmie"    ].ToString();
            FUserName     = oDB["user_name"    ].ToString();
            FUserPwd      = oDB["user_pwd"     ].ToString();
            FUserRealName = oDB["user_realname"].ToString();
            FUserTel      = oDB["user_tel"     ].ToString();
            FUserEmail    = oDB["user_email"   ].ToString();
            FUserStatus   = oDB["user_status"  ].ToString();
        }
        oDB.Free();
    }
TSqlDB里的  
// 默认索引器
    public object this[string index]
    {
        get
        {
            object Result;
            try
            {
                Result = FDataSet.Tables[0].Rows[FCurrIndex][index];
            }
            catch (ArgumentException e)
            {
                Result = "无此字段名(" + index + ")<BR>" + e.Message;
            }
            catch (Exception e)
            {
                Result = "结果集中无记录<BR>" + e.Message;
            }
            return new TSqlDBItem(Result);
        }
    }
TSqlDBItem类里有ToInt这些方法。但是我点不出来
public TSqlDBItem(object Obj)
 {
        FObject = Obj;
 }
    public override string ToString()
    {
        string Result = "";
        if (FObject != null)
        {
            Result = FObject.ToString();
        }
        return Result;
    }
    public int ToInt()
    {
        int Result = 0;
        if ((FObject != null) && (FObject.ToString() != ""))
        {
            Result = System.Convert.ToInt16(FObject);
        }
        return Result;
    }
    public DateTime ToDateTime()
    {
        DateTime Result = DateTime.Now;
        if ((FObject != null) && (FObject.ToString() != ""))
        {
            Result = System.Convert.ToDateTime(FObject);
        }
        return Result;
    }
}

 
											





 
	    



 
											