Solved

Building easy SQL queries

Posted on 2011-02-23
3
241 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
ID: 34965128
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 30

Accepted Solution

by:
anarki_jimbel earned 500 total points
ID: 34966962
0
 
LVL 3

Expert Comment

by:paulwquinn
ID: 35023527
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 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