sql += " a.*, b.Name from dj as a, djspecial as b where a.SpecialID=b.SpecialID "; 要查两个表的内容时,下面的问题....... DataSet ds = new DataSet();
SqlDataAdapter ada = new SqlDataAdapter();
ada.SelectCommand = cmd;
ada.Fill(ds, this.pageBind.PageSize * (this.pageBind.CurrentPageIndex - 1), this.pageBind.PageSize, "tb_fcfb"); // "tb_fcfb" 这里,只能写一个表名吗? 不能写两个或更多吗?
SqlDataAdapter ada = new SqlDataAdapter();
ada.SelectCommand = cmd;
ada.Fill(ds, this.pageBind.PageSize * (this.pageBind.CurrentPageIndex - 1), this.pageBind.PageSize, "tb_fcfb"); // "tb_fcfb" 这里,只能写一个表名吗? 不能写两个或更多吗?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货