Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET .NET jQuery
hi i want to create a jquery popup window to enter some data into popup window and on_click of a button i want to save the data into sql server. how this can be done ?
 
Can any one help me on this please. One Example will be fine if possible.
Posted 8-Nov-12 19:43pm
Edited 8-Nov-12 19:46pm
v2
Comments
Karthik Harve at 9-Nov-12 0:46am
   
[Edit] removed pre tags.
saud_a_k at 9-Nov-12 1:23am
   
look into http://fancybox.net/ its easy to use another aspx page within a model popup
Ravi Tuvar at 9-Nov-12 1:30am
   
You can create ajax call to code behind method which saves data in sql server on save button in popup window

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

hi,
 
You can use ajax modal popup for displaying popup.
Onclick of the button in the popup, you can call a method which will use a stored procedure or a insert statment and load data to database.
 
modal poup
 
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ModalPopup/ModalPopup.aspx[^]
 

insert to sql database:
 
http://stackoverflow.com/questions/4762381/asp-net-using-a-form-to-insert-data-into-an-sql-server-table[^]
 
Hope this helps.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 5,130
1 DamithSL 4,237
2 Maciej Los 3,700
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,846


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 9 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100