还有:
标准表达式中数据类型不匹配。 
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.Data.OleDb.OleDbException: 标准表达式中数据类型不匹配。源错误: 
行 25:                 OleDbDataAdapter myCommand1 = new  OleDbDataAdapter("select * FROM last WHERE Aid=2 order by Aid desc", myConnection);
行 26:  DataSet ds = new DataSet();
行 27:  myCommand.Fill(ds, "tableone");
行 28:                 myCommand1.Fill(ds, "last");
行 29:  MyList.DataSource = ds.Tables["tableone"].DefaultView;
 源文件: D:\Site\网站需求\new\New\www.cs    行: 27 

解决方案 »

  1.   

    DropList.DataSource = ds;
    DropList.DataTextField=想要显示的列;
    DropList.DataValueField=显示的列的value;
    DropList.DataBind();
    就可以了!
      

  2.   

    兄弟,在这里面问技术问题没人理你,只有灌水区人气旺啊,
    我的问题也没人理啊
    http://expert.csdn.net/Expert/topic/2955/2955529.xml?temp=.3065302
      

  3.   

    第2个问题,new  OleDbDataAdapter()没有
    new  OleDbDataAdapter(string connectionstring)这样的重载,楼主好好看一下帮助.
      

  4.   

    检查你的查询字符串,你把last换成[last]试试,last在sql中是关键字
      

  5.   

    MyList.DataSource = ds;
    MyList.DataTextField="列名";
    MyList.DataValueField="列名";
    MyList.DataBind();
      

  6.   

    DropList.DataSource = ds;
      

  7.   

    有没有高手给我你们的MSN,在线讨论呢?
      

  8.   

    空引用异常,跟踪下你的代码,看看
    DropList.DataSource = ds.Tables["tableone"].DefaultView;
    中的DataTable的各项属性
      

  9.   

    to Firestone2003(笨笨小猪)
    你的方法我试过了,行不通的!
      

  10.   

    myCommand.Fill(ds,"tableone");
    你的数据填充没有成功,
    单步调试看看你的dataSet是不是有数据。
      

  11.   

    myCommand.Fill(ds,"tableone");
    这句有问题,可能是你的myCommand对象没取到合适的值.
      

  12.   

    行 21:  myCommand.Fill(ds,"tableone");這句有問題
    查 myCommand 是否實作了