Working with DAL (Data Access Layers) and retreiving data
I am fairly new to .NET and a team meber has setup a DAL which we share, that simplifies stored procedures. I am trying to retrieve the data out of my stored procedure and display it in my label.
Here is the call to set the procedure:
DAL.SQLParameters objaprams =new GeorgiaPacific.AdminSys.DataAccess.DAL.SQLParameters ();
objaprams.AddParameter("@lEmployeeId",strUserid,ParameterDirection.Input);
DataTable objDataTable = objDal.GetDataTable("spAsMyRegistrations",objaprams);
Then I try to store the value returned from above in a label and I am getting stuck...
lblUserId.Text = ...