hi,
in my application populating data from databse into textboxes for table its working fine but now two differnt tables also want to display in textboxes .When one table populates it data into textboxes simultaneously sencond table want to populate in theri
textboxes.
below code is working for one table
private void EditControlvalues1()
{
string Connection = System.Configuration.ConfigurationManager.ConnectionStrings["Conn"].ConnectionString;
SqlConnection cn = new SqlConnection(Connection);
cn.Open();
// SqlCommand cmd = new SqlCommand("select EmpName,StartDate,day,date,EndDate,Service,Venue,StartTime,EndTime,Breakfast,Lunch,Dinner,DailyTotal from EmpTimesheet where EmpId=" + userid, cn);
SqlCommand cmd = new SqlCommand("select EmpName,StartDate,EndDate,day,date,Service,Venue,StartTime,EndTime,Breakfast,Lunch,Dinner,DailyTotal,Total,Standa ...
Go to the complete details ...