I have this for loop in ASPX
for (i = 0; i < ds.Tables[0].Rows.Count; i++)
{
strFname += ds.Tables[0].Rows[i]["first_name"].ToString();
strLname += ds.Tables[0].Rows[i]["last_name"].ToString();
str = String.Format("{0} {1} ", strFname, strLname);
}
I want that the Fname will be next to The Fname, and in the next row the same (until the last)
Iwant that in every row the first name will be next to the last name (in every line only one Fname and one Lname)
and the same thing in the next row. how can I do it?
Thank you!
1 Answer