I am having two text box
1> Topic name
2> Topic parent Id
If i enter topic name in first text box it should display its parent name in second text box all should fetch from database and dispaly it i am using entity framework
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
abhi lashPosted Sep 24, 2015, 5:18 AM
Jithil JohnPosted Sep 22, 2015, 3:17 AM
source: function (request, response) {
$.getJSON("/Admin/getData?term=" + request.term, function (data) {
response(data);
});
},
minLength: 2,
delay: 100
});
Dim getValues As List(Of String) = (From s In db.Accounts Where s.AccountCode.StartsWith(term.ToLower()) Select s.AccountCode).ToList()
Return Json(getValues, JsonRequestBehavior.AllowGet)
End Function
abhi lashPosted Sep 22, 2015, 3:04 AM
Jithil JohnPosted Sep 22, 2015, 2:33 AM