On Wed, Nov 16, 2011 at 10:20 AM, Santosh V <[email protected]> wrote: > > > Whats the difference between the below two > > Suppose i have a button ,a dropdown and gridview on a form > > 1.On click of a button i want to read the value in dropdown and pass it > to my stored procedure and execute. > get the dataset and bind it to gridview > > 2. On click of a button client side pass the url of dummmy page and the > parameters > and call the jquery get request. > when the dummy page loads....read the value of the dropdown from the query > string > execute the stored procedure and get the dataset. > > > Also is there a better way. --------------------
Difference is ajax and javascript doing the request for the data as a message to the server instead of the code behind dong the same functionality. Which is better? Do you want to code in html5 environment and escape from as much code behind programming? -- Stephen Russell 901.246-0159 cell -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
