Sending data from dhtmlxform into server using mvc

My question is how to send the dhtmlXform data’s into the sql database.
i have inserted two text box’s(user name,password) and one button(Submit).
when i click the button the textbox values should be populated in the sql database.
i have tried to send the dhtmlXform data’s to sql database using the following code.

Explanation for this code is given below:

myForm = new dhtmlXForm("myForm", formData);	 // attach dhtmlXform attach	

   myForm.attachEvent("onButtonClick", function(name){  //Button OnclickEvent
   myForm.send("Login.ashx");	});  // send the data' into class file

 Please help me with this problem .
please provide me with useful links if possible.

We’ve answered you here: