Solved

Example for drag and drop for SQL fields in ASP.NET c#

Posted on 2016-09-08
3
58 Views
Last Modified: 2016-09-13
Hi,

Can EEs provide me an example that will read a table from SQL that allows users to select fields to display using drag and drop?  thanks
0
Comment
Question by:mcrmg
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
zephyr_hex (Megan) earned 500 total points
ID: 41790409
I will give you a general idea of how to do this, but a complete example is asking a lot for "free" help.

You can use JQuery UI to get the "droppable" effect.  Store the value of each dropped element.  You will probably want a button so the user can identify when they are done selecting elements.  On button click, send the values of the dropped elements to server side code using AJAX and perform your SQL query.

If you have any specific questions about the implementation, please let me know.
0
 

Author Comment

by:mcrmg
ID: 41790535
thank you..I will follow the direction and post back ..thanks
0
 

Author Closing Comment

by:mcrmg
ID: 41795914
thanks
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question