[code=C#]
sql = @"select a.name,a.sex,from cure as a,cper as g where 1=1";
                conn.Open();
             SqlDataAdapter ada = new SqlDataAdapter(sql, conn);
             DataSet ds = new DataSet();
             ada.Fill(ds);
             this.dataGridView1.DataSource = ds.Tables[0].DefaultView;
             code]表里只有3条数据而在dataGridView1上显示的数据是重复了20遍,变60条了, 为什么会这样啊? 
             而把cper as g去掉就正常了,但cper as g不能去掉 怎么解决?[/