The text of this article is not in this database — only its details are. Read it on the old site: Insert, Update and Delete Data in GridView Using WCF Service
20 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.

Ramendra kumar vermaPosted Jan 15, 2018, 7:54 AM
It should be jquery code save data with jquery in webservice better way
chetan dudhatPosted Dec 20, 2015, 1:30 PM
You can find solution here : http://www.dotnetcode2u.com/2015/08/wcf-insert-update-delete-edit-select.html
satish GPosted Nov 8, 2014, 12:42 PM
HI, I have to enter the data in to text boxes then add button, when we click the add button data should be added to the grid. below the grid we should have Save button to save the data in to Database. How can we achive this? Can u please explain. I have tried but getting strucked at add button. i have taken the List<products>. i have collected the textbox inserted data in to List and in the Service method also m returning the List parameter but sttill m getting the error while binding the data to Grid.
click ryanPosted Sep 10, 2014, 5:35 AM
Hi, How can we use the service for android app? please help :)
megha jainPosted Apr 22, 2014, 10:10 AM
I am following your article exactly as mentioned. but in the line of code: var reviewList = await objServiceClientobjService.GetInWorkReviewAsync();The 'reviewList' variable gets a whole string of database contents means into a serialised form but I would like it as deserialised form or into a list to display into rows. I have been trying to follow the code lines below but none works and System.Data is not supported in windows 8 and I am using visual studio 2012 express for windows 8. IEnumerable sequence = dt.AsEnumerable(); OR List list = dt.AsEnumerable().ToList(); OR List newList = new List(); So could someone explains where am I doing things wrong? Do I need to make any changes to web.config on wcf service side? It would be great help if you can guide me. thanks
darsh antanieditedPosted Apr 17, 2013, 6:45 AMEdited Apr 17, 2013, 6:46 AM
I can bind this data in simple way as well.if I do it simply and I use WCF what is the core difference?? I don't know much about WCF so asking this question.
Rajendran MPosted Jan 2, 2013, 9:54 AM
Nice article. Thank you.
amarnath reddy ambatiPosted Dec 21, 2012, 2:30 AM
Thank u
Nitesh SuvarePosted Nov 26, 2012, 9:31 AM
WHAT IS BUTTON1.TEXT=="UPDATE" IN ABOVE CODE??
himesh pandiyaeditedPosted Oct 24, 2012, 5:26 AMEdited Oct 24, 2012, 5:27 AM
brother i need it in silverlight not in asp.net please help me
Rohatash KumarPosted Oct 16, 2012, 11:01 PM
Table script: create table RegistrationTable ( UserID int primary key, UserName varchar(50), Password varchar(20), Country varchar(30), Email varchar(20) )
anil babuPosted Oct 16, 2012, 7:02 AM
plz give me table script, I am creating But getting an error create table RegistrationTable( UserID int primary key, UserName varchar(50), Password varchar(20), Country varchar(30), Email varchar(20))
Rohatash KumarPosted Oct 16, 2012, 7:00 AM
You can try it without zip file. I have define it step by step. after that if you have any problem at any point. you can ask me. Anil
anil babuPosted Oct 16, 2012, 6:44 AM
can you give me zip file
Rohatash KumarPosted Oct 3, 2012, 2:22 AM
Thanks Kunal
Kunal VaishyaPosted Oct 1, 2012, 4:13 AM
nice one dear
Rohatash KumarPosted Aug 22, 2012, 6:18 AM
Thanks Shreeniwas.
shreeniwas kushwahPosted Aug 21, 2012, 8:46 AM
Lots thanks mr Rohtash Ji
Rohatash KumarPosted Aug 20, 2012, 11:22 PM
Thanks Suci M
Suci MPosted Jul 29, 2012, 3:36 AM
Nice Article