TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Diptyajit Dey
NA
98
22.5k
How to cal Web API in Asp.Net Code Behind Page ?
Apr 11 2017 6:41 AM
Url:
http://111.93.203.157:8063/api/notification/eventnews
Result Return:
{
"data": {
"result": [
{
"NewsEventId": 1,
"EventName": "Bijaya Sammelani",
"Description": "Happy Bijaya dasami",
"EventDate": "2017-10-13T00:00:00",
"CreatedDate": "2017-03-09T18:20:16.41",
"ActiveFlag": 0,
"EventImage": "2.png",
"EventImageURL": "http://111.93.203.157:8099/EventImage/"
},
{
"NewsEventId": 2,
"EventName": "Annual Day",
"Description": "Annual day of the Company",
"EventDate": "2001-04-20T00:00:00",
"CreatedDate": "2017-03-27T12:52:35.947",
"ActiveFlag": 0,
"EventImage": "3.png",
"EventImageURL": "http://111.93.203.157:8099/EventImage/"
}
],
"error": null
}
}
This my web api and return value.
I am not understand how to call this web api in my web application. My working in Web Form so i need to this api call my code behind page(.cs) page. I am not interested to use Ajax. Only need how to call this code behind page and Get this value.
Reply
Answers (
2
)
Binding 10K + elements to a dropdown list with selection
a gridview row databound value change