You Need to create One WebMethod in WebService
which will interact to you DataBase
[WebMethod]
public Void InsertItems(string FirstName)
{
try
{
}
catch (Exception ex)
{
}
finally
{
}
}
after Creating Your Method you need to add the reference of it in your web application
Then you need to create an Object of that webservice
Like
Webervice.MyWebservice Obj = new Webervice.MyWebservice()
Obj.
and then you just need to pass your Parameters to that like
obj.InsertItems(txt_FirstName.text);