Solved

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

Posted on 2016-09-08
3
47 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 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Requirements JQuery 1.6+ HTML CSS Introduction This article was inspired by an EE question (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28372511.html) on how to make a page show some balloons animate up a page…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

759 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now