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
Mursaleen Hassan
NA
22
4.5k
In Javascript array use Asp.net Foreach Loop
Apr 23 2018 6:37 AM
@foreach (
var
i
in
Model)
{
@:
var
stops_data = [[{
"Geometry"
: {
"Latitude"
: @i.tlat.ToString(),
"Longitude"
: @i.tlng.ToString() } },
@: {
"Geometry"
: {
"Latitude"
: @i.flat.ToString(),
"Longitude"
: @i.flng.ToString() } }];
}
I am tired to use asp.net foreach to in javascript code.
thanks for advance
Reply
Answers (
1
)
How to Call Solver in C# ?
How to debug Soap API in Dotnet application ?