S
swethabilla
Hi,
I am trying to submit to a SQL server database using a secondary data
connection via a web service .
When I hit submit I do get the "Form submitted successfully" dialogue
but the data does not commit to the database.
Can anyone please tell me how to fix this..
The webmethod for the Submit looks like this , where "Services " is my
database table.
[WebMethod]
public void SetDataSet(DataSet1 Data)
{
if (Data.HasChanges())
{
sqlDataAdapter1.Update(Data.Services);
}
}
Thanks,
Swetha
I am trying to submit to a SQL server database using a secondary data
connection via a web service .
When I hit submit I do get the "Form submitted successfully" dialogue
but the data does not commit to the database.
Can anyone please tell me how to fix this..
The webmethod for the Submit looks like this , where "Services " is my
database table.
[WebMethod]
public void SetDataSet(DataSet1 Data)
{
if (Data.HasChanges())
{
sqlDataAdapter1.Update(Data.Services);
}
}
Thanks,
Swetha