string array using asp.net:
string[] arrID = new string[20];
int Count;
Count = dsSearch.Tables[0].Rows.Count;
for (int i = 0; i < 3; i++)
{
arrID[i] = dsSearch.Tables[0].Rows[i]["UserId"].ToString() + ",";
aa += arrID[i];
}
bb= aa.Trim(','); //last , are Deleted
No comments:
Post a Comment