- $(function () {
- $("#button").click(function () {
- alert("You clicked Submit button");
- $.ajax({
- type: "POST",
- url: "Insert.aspx",
- data: "{'StudentId': 'B1111' ,'StudentName': 'Likhit'}"
- });
- $("#studenttable").append("
");B1111 Likhit - });
How to read values in ASP from jQuery
Above is my jQuery function.
- sid = Request.QueryString["StudentId"].ToString();
An exception of type 'System.NullReferenceException' occurred in App_Web_kqkv5dqo.dll but was not handled in user code
Additional information: Object reference not set to an instance of an object.
" Help me with suggestions.
Dharmraj ThakurPosted May 9, 2017, 9:31 AM
Ramesh PalanivelPosted May 9, 2017, 9:14 AM