Solved

Building easy SQL queries

Posted on 2011-02-23
3
237 Views
Last Modified: 2012-05-11
Hi,
I have a c# application accessing a mysql database. I am currently writing SQL statements to fire to mysql to populate a dataset. Is there an easy wizard which can generate these statements at run time (e.g. a drag and drop tool)?
Any advice would be appreciated.
Thanks
0
Comment
Question by:fred2k3
3 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
Comment Utility
You might want to look into Linq-2-SQL or Entity Framework if you want it to write all the SQL for you:

    Linq-2-SQL: http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx

    Entity Framework: http://msdn.microsoft.com/en-us/library/bb386876.aspx
0
 
LVL 29

Accepted Solution

by:
anarki_jimbel earned 500 total points
Comment Utility
0
 
LVL 3

Expert Comment

by:paulwquinn
Comment Utility
From your original question, it seems you have the data available in another format... can you tell us what that format is?
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

771 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

12 Experts available now in Live!

Get 1:1 Help Now