heres my code can someone please identify the error, it doesnt copying data from one table.. my main task is to copy data from one table into another using dt... (dt_Attendanceis hving data but doesnt fwd to attendance_record tble )
private bool copydata()
{ bool a = true; DataTable dt_Attendance = BusinessLogicLayer.CSL.Repository.GetAttendanceRecord(SiteConfiguration.InProduction, Session["Application_ID"].ToString(), ddlLocation.SelectedItem.Value.ToString());` try`` { a = BusinessLogicLayer.CSL.Repository.BulkCopy(SiteConfiguration.InProduction, Session["Application_ID"].ToString(), "Attendance_Records", dt_Attendance); } catch (Exception ex) { } retu a; } protected void Button1_Click(object sender, EventArgs e) { copydata();
}
}
}
