DataTable dt = new DataTable(); SqlDataAdapter sda = new SqlDataAdapter("select [FirstName] + ' ' + [LastName] AS Full_Name from FriendsPersonal", con); sda.Fill(dt); GridView1.DataSource = dt; GridView1.DataBind(); GridView1.Visible = true;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)