Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9113329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T03:56:24+00:00 2026-06-17T03:56:24+00:00

I currently use SQL queries (select, procedures, functions) for communication with database. Till now

  • 0

I currently use SQL queries (select, procedures, functions) for communication with database.

Till now I have not used Dataset. I really can’t get the concept of dataset. I just know that they can be used to select, insert, update, or delete from database too.

But why would be even need a dataset, when we can use the SQL commands to do the same tasks.

Is dataset better in terms of security? Or is it faster?

Update:

So I read this forum ashutosh gave
http://social.msdn.microsoft.com/Forums/en/adodotnetdataset/thread/100cce91-cf9c-46c9-986a-98a409a196f2

DataSet on the other side can be created from designer. Designer allows you to create tables, relations, contraints,… Drag and drop from Server Explorer might be another benefit. With DataAdpater you can create a typed DataSet upon the queries. If you’re application requires import/export, you’ll have to write this functionality on your own when using custom entities. With DataSet this ain’t a problem, allowing you to import/export data into XML. It can also be bound to DataGridView or any other similar control. DataSet also supports one level of history, allowing you to revert to previous version of each row.

Quite helpful, But still question persists, should I use Datasets or queries to handle database. Like editing records, updating, deleting and such.

I use my queries like:

    SqlCommand cmdCheck = default(SqlCommand);
    string strQry ="Update, Delete, Insert queries";

    cmdCheck = new SqlCommand(strQry, Connection);
    openConnection();
    cmdCheck.ExecuteCommand();
    CloseConnection();

and DataAdapter For select queries.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T03:56:25+00:00Added an answer on June 17, 2026 at 3:56 am

    Not any good answer till now. 🙁

    So I would think it is better to use queries than Datasets.
    because
    – Datasets can be difficicult to manage for large datas. I think they may cause slow data transfers.
    – the Sql queries are short and simple to write.
    – I know sql queries better because i have not used datasets till now.

    If i am wrong do reply with resonable answers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have two almost identical SQL queries, which I use against my SQLITE3
We're currently using a PostgreSQL database and OrmLite. We now have a use case
I am currently developing an application that makes use of an SQL database. In
We currently have in production SQL Server 2005 and we use it's full text
I have a SQL query that I'm currently solving by doing two queries. I
I currently use SQL Server to store products in a large catalog web site.
I currently use Zend_Db to manage my queries $stmt = $db->prepare(INSERT INTO test (ID_Test)
I currently use mysql_real_escape_string to escape a variable when querying the database to prevent
The following two SQL queries return the same results: SELECT * FROM Table1 WHERE
I have a SQL script that is being executed in TOAD. Currently, I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.