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
Narasimha p
NA
62
10k
how to bind data fileupload control use database in mvc 5 with ajax(co
Jul 29 2020 11:54 PM
<input type="file" id="file" class="form-control" name="postedFiles" />
<input type="submit" class="btn btn-primary" value="GetDetail" id="btnGetDetails" />
$('#btnGetDetails').click(function(){
var tr = $(lnk).closest('tr');
var Id = $(tr).find('td').eq(1).html();
$.ajax({
url: "/Home/Index",
type: "GET",
data: { 'GetId': Id },
contentType: "application/json;charset=UTF-8",
dataType: "json",
success: function (result) {
$('#file').attr(result.photoPath);
alert(result.photoPath)
},
});
});
Reply
Answers (
2
)
how to check machine is connected in domain ?
Check username and password is incorrect in asp.net