Author: phddas | Posted on: 9/24/2009 1:16:42 PM | Views : 233

Hi
I have a Data Access Layer method which takes some parameter and updates the same. Its purpose is to take information a customer typed in a ContactUs form and enter them in a data base.
In the code behind call, what is the correct syntax to pass those arguments to the function?
here is my best try which is not cutting it.
thx
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class styles_contact_totalAutoCare : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { totalCareAutoTableAdapters.ContactUsTableAdapter ContactUsAdapter = new totalCareAutoTableAdapters.ContactUsTableAdapter(); int new_ContactUs = Convert.ToInt32(ContactUsAdapter.insertContactUs(@name, @mobileNumber ...

Go to the complete details ...