//在DataTable上加上,请选择数据行。
CodeDetailService service = new CodeDetailService();
DataTable dt = service.GetCodeDetail("MeterUseType");
DataRow dr = dt.NewRow();
dr["CodeId"] = "";
dr["CodeName"] = "总量";
dt.Rows.InsertAt(dr, 0);
cbb_Subentry.DataSource = dt;
cbb_Subentry.DisplayMember = "CodeName";
cbb_Subentry.ValueMember = "CodeId";