Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 131
  • Last Modified:

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

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
mcrmg
Asked:
mcrmg
  • 2
1 Solution
 
zephyr_hex (Megan)DeveloperCommented:
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
 
mcrmgAuthor Commented:
thank you..I will follow the direction and post back ..thanks
0
 
mcrmgAuthor Commented:
thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now