Handling json data returned from asp net web services

Handling json data returned from asp net web services

kudvenkat

9 лет назад

97,688 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@devendrakushwaha8545
@devendrakushwaha8545 - 13.04.2021 15:00

but its not working on live server its working on localhost

Ответить
@learningroom07
@learningroom07 - 24.01.2021 05:31

I want to send this to other website, should I?

Ответить
@CarlosAlbertoBrasil
@CarlosAlbertoBrasil - 27.10.2019 20:13

Could you help me here? I'm using something similiar, bus I have in may WS person's data, like name, birthday, id, weight, but I need to integrate iwht my sistem, which have his car type, car color and car plate.
I how should I integrate them? because, if I need to sort this list, by person name I will need to mix the whole data from the WB with my DB?

Ответить
@jalalshaibany7607
@jalalshaibany7607 - 05.11.2018 20:15

Neat and clean content, thank you very much.

Ответить
@sadiqsadiq452
@sadiqsadiq452 - 07.09.2018 15:28

how to read json data from mobile to wcf

Ответить
@TellaTrix
@TellaTrix - 05.06.2018 19:54

Nice content venkat. Clearly understood the ajax capability.

Ответить
@shahidvayam
@shahidvayam - 17.09.2017 12:41

Hi can any body suggest to retrieve huge dataset say 1 million records available on the table by serialisation approach.. suggest the Best way to do that..

Ответить
@OldManRiversUTube
@OldManRiversUTube - 14.08.2017 15:25

Using IE11 (Vs12), I can only get approach 1 to work if I replace url with url: 'EmployeeService..asmx/GetEmployeeById' (Note double dot). I had to do same with previous video.Colour me confused!!!Haven't tried approach 2 yet but I'll post when I've done it

Ответить
@mryoso22
@mryoso22 - 11.08.2017 21:08

which is better approach for you?

Ответить
@satishmanepalli7282
@satishmanepalli7282 - 15.07.2017 19:55

It is very clear...........nice video

Ответить
@sambireddyannapureddy4220
@sambireddyannapureddy4220 - 08.01.2017 20:35

I am getting an error like "undefined" when i follow the first approach.Why?

Ответить
@VivekG17
@VivekG17 - 21.10.2016 12:53

Sir,
I am trying to send the object and getting back the generic list of object in json format back in response.
But In response error function is executed and in in consol.log(data) getting object with extra appended Object {"d":null}
Why Please Help Me .
Thaks

Ответить
@braScene
@braScene - 26.07.2016 16:58

I've just found answer to my question in previous video, amazing :D !!

Ответить
@alimuc
@alimuc - 28.06.2016 14:57

I'm getting [object][object] in alertbox when I apply it on actual online server. is there a solution to this problem?

Ответить
@naihan1978
@naihan1978 - 12.03.2016 01:46

Thanks!!!!

Ответить
@mmhgarcia
@mmhgarcia - 04.12.2015 19:20

Hi kudvenkat.
When I run my web app in local mode, it runs perfect !! but, when deploy to a server, ajax calls does returns any data.
Any property to change in web service ? Thnks.

Ответить
@ashishkalra4769
@ashishkalra4769 - 26.10.2015 13:11

Hi Venkat,
When i tried the second approach i could see the response in Fiddler but it was not getting reflected in the textboxes. I suspect the service is returning string instead of JSON because when i used JSON.parse in the ajax call to convert the response text boxes started getting populated.

success:function(response)
{
var data=JSON.parse(response);
$('#txtName').val(data.Name);
...
...
..
..
}

Ответить
@developernader
@developernader - 27.07.2015 12:50

Thank you very much

Ответить
@gopikrishnan3406
@gopikrishnan3406 - 10.06.2015 17:35

Why do we removed contenttype from the $.ajax() script ??

Ответить
@ruthyayele168
@ruthyayele168 - 08.06.2015 23:10

thanks Venkat!
would you pass the strong datatype from UI to MVC Action using JQuery:

Ответить
@davidespada01
@davidespada01 - 08.06.2015 09:43

Thank you Sir, Plz continue ..

Ответить