这是我的数据库表。现在我想Branch_Id,ACC_NO和Acc_Type,使它看起来像000178963503或000211111102相结合,并在下拉列表显示它 我的代码是
string[] account_number;
string account;
for (int j = 0; j < dtAcc.Rows.Count;j++)
{
account = Convert.ToString(dtAcc.Rows[j][2])+Convert.ToString(dtAcc.Rows[j][5]) + Convert.ToString(dtAcc.Rows[j][3]); ///Account Number
account_number =account.Split(' ');
}
Drp_AccType.DataSource = account_number;
Drp_AccType.DataBind();
感谢
...感谢它的工作 – sun 2012-01-12 07:47:17