public void AddEditContactDetails(int id, string Name, string Mobile, string Addr, string Email) { DataTable dt = new DataTable(); using (AustraliaDAL.DataSet1TableAdapters.tbl_ContactUsTableAdapter objcontact = new AustraliaDAL.DataSet1TableAdapters.tbl_ContactUsTableAdapter()) { dt = objcontact.AddEditContactDetails(id, Name, Mobile, Addr, Email); } }
public void AddEditContactDetails(int id, string name, string mobile, string address, string email) { DataTable dt = new DataTable(); using (AustraliaDAL.DataSet1TableAdapters.tbl_ContactUsTableAdapter objcontact = new AustraliaDAL.DataSet1TableAdapters.tbl_ContactUsTableAdapter()) { objcontact.AddEditContactDetails(id, name, mobile, address, email); } }