DataGrid的问题
初学者请大家多多关照:
我的代码是这样写的
select = "select lbmc_xm,xmmc,sl_zjl,dw_zjl,dj_zjl,je_ys,jmbl,je_jmhys from v_mzhf_cf_xfmx "+ls_where+" order by sj_jz desc ";
SqlDataAdapter myCommand = new SqlDataAdapter(select, myConnection);
DataSet ds = new DataSet();
myCommand.Fill(ds,"v_mzhf_cf_xfmx");
dataGrid1.SetDataBinding(ds,"v_mzhf_cf_xfmx");
我如何给dataGrid1增加行记录对金额的合计值呢?
谢谢大家帮忙啊!
[此贴子已经被作者于2006-3-15 9:27:22编辑过]