If I insert rollno in textbox show all subjects marks in different textboxes and should be editable.
Thanks...
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.
Afzaal Ahmad ZeeshanPosted Apr 3, 2015, 11:00 AM
For example, you can trigger ajax requests, like this...
$.ajax({
url: 'server-side-page.aspx',
data: $('#textBoxId').val()
success: function (data) {
// data contains the result from server,
// append it to the tables or what ever
}
});
You can at the very same time, have this code on the server side to fetch data from database.
@{
// initialize and fetch data from database
// and populate your web page, which would be
// returned by the ajax request.
}
This way you can download data for the Roll Number that is entered into TextBox. You can learn more about jQuery ajax here.
KAMAL ANSARIPosted Apr 3, 2015, 10:50 AM
Afzaal Ahmad ZeeshanPosted Apr 3, 2015, 9:12 AM
Sharing these information would help us to guide you any further.