易截截图软件、单文件、免安装、纯绿色、仅160KB

asp.net + mysql 报错问题

报错:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xx' at line 1
xx是存储过程名字

存储过程:
SQL code:

create procedure xx
begin
select bb from test;
end;



C# 业务层:
        public DataSet testa()
        {
            DataBase db = new DataBase();
            return db.GetDataSet("xx");
        }

谢谢!
数据层:
        public DataSet GetDataSet(String ProcName)
        {
            Open();
            MySqlDataAdapter adapter = new MySqlDataAdapter(ProcName, conn);
            DataSet ds = new DataSet();
            adapter.Fill(ds);
            Close();
            return ds;
        }

????有人会吗?
给我说说呗

我的神啊!!!!
我急用啊 就是 老出错  给我说说呗 谢谢大家le !


相关问答:

mysql连接tomcat - Java / Web 开发

我已经按照教程上配置tomcat的server.xml
<Context path = "/POS" docBase = "POS" debug = "5" reloadable = "true" crossContext = "true" workDir = &quo ......

ASP链接SQL的简单登陆界面 - .NET技术 / ASP.NET

protected void btnLogin_Click(object sender, EventArgs e)
  {
  SqlConnection conn = new SqlConnection("Server = (local);user id = sa;pwd = 1;database = Login");
&nb ......

ASP.NET关于强制转换问题 - .NET技术 / ASP.NET

3个radioButton
 一个Button
一个label
C# code:

protected void Button1_Click(object sender, EventArgs e)
{
string str = null;
RadioButton rdo=(RadioButton)sender;
......

asp.net程序员求职 - .NET技术 / 非技术区

本人工作经验一年以上
熟悉asp.net
熟悉javascript
熟悉Css
熟悉ajax
熟悉sqlserver2005
有一年的项目经验
具体项目和其他的就不在这写了
有意者联系:
QQ:359233910
引用
本人工作经验一年以上
熟悉asp ......

asp.net生成图形问题? - .NET技术 / ASP.NET

例如我有一件事。今天完成百分之20,就用一个圆形,分两部分,一部分弧区(一种颜色)是显示以完成部分,另一部分用另一种颜色显示,表示为完成部分,并把数字写在上面,这样的话,怎么实现,有没有什么实例。或者要 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号