Displaying SQLServer data to user
Hey everyone,
I have created a user login module and i want the user info to be displayed when he chooses to. I used SqlDataAdapter and data source as follows:
DataSet ds = new DataSet();
myCommand.Fill(ds);
DataView source = new DataView(ds.Tables[0]);
MyDataGrid.DataSource = source ;
MyDataGrid.DataBind();
the code works fine and it displays the users info correctly however i was wondering if there is a way to hide the first row that by default displays containing the database fields (name of fields) or at least if there is a way to edit those (just for display).
thanks
Susan
|