Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Please help me with this code i want to web service instead of sql

C#
private void btnDelete_Click(object sender, EventArgs e)
        {
            System.Data.OleDb.OleDbCommandBuilder cb;
            cb = new System.Data.OleDb.OleDbCommandBuilder(da);

            dsl.Tables["Workers"].Rows[inc].Delete();
            MaxRow--;
            inc = 0;
            NavigateRecords();

            DashCap.Update(dsl, "Workers";

            MessageBox.Show("Record Delete");
        }
Posted
Updated 19-Oct-11 22:17pm
v2

We can't really code a web service for you: that's your job! But, there is a guide to getting a simple WCF service running on a web host here: How to get a basic WCF service working on a web hosting service[^]
 
Share this answer
 
Webservice:
How to create[^]
How to call[^]

Now you have to make some efforts...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900