Solved

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

Posted on 2016-09-08
3
99 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 43

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
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)
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…

739 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