Posted on: 1/20/2014 8:18:13 PM | Views : 771

hi,
im trying to get data from databse into  textboxes and values .I dont know how to bind same column with different row values  to their fields

public void GetData() { DateTime startDate = Convert.ToDateTime(txt_StartDate.Text); // Getting the TimeSheet ID ClearTSDetails(); int timeSheetID = TimeSheetIDGet(startDate); // Getting the TimeSheet Details DataSet dsTimeSheetDetails = TimeSheetUpdateDetailsGet(timeSheetID); DataTable dt = new DataTable(); if (dsTimeSheetDetails.Tables.Count > 0 && dsTimeSheetDetails.Tables[0].Rows.Count > 0) { String privDayOfWeek = String.Empty; String currDayOfWeek = String.Empty; String serviceList = String.Empty; String Venues = String.Empty;//adding venues to ma ...

Go to the complete details ...