Solved

Building easy SQL queries

Posted on 2011-02-23
3
238 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 29

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
[MYSQL]: Delete is very slow 4 52
Class object 2 26
In WPF / C# binding a local database in code behind 1 24
Connection String 16 41
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

943 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

10 Experts available now in Live!

Get 1:1 Help Now