Solved

Connecting database, and doing create, select, insert, update, delete basically in C#.NET. Step by step example needed.

Posted on 2011-09-29
5
284 Views
Last Modified: 2012-05-12
Hi there;

I am practising my C#.NET knowledge regarding DML/CRUD operations. So, could someone provide me a simple, console application doing those?

Then, above that I need to adapt the selection to a data view.

Could you provide the example codes?

Kind regards.
0
Comment
Question by:jazzIIIlove
  • 2
  • 2
5 Comments
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 36815591
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36815934
Nice article but it's in ASP.NET. Isn't there any example of console app or so?

Regards.
0
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 36816363
http://www.codeproject.com/KB/books/1861004982.aspx

You can look here for the listview (ctrl + f -> listview).  You can use the code to pull from the DB . . . it's the same in ASP.Net as C# windows apps.

Most code from ASP .Net has a very similiar look and feel (though there is more session management in a web app).


Another good place:
http://www.dotnetperls.com/listview
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36908590
Hi there;

Ah, I tried but I am briefly new. So, no direct projects to run so that I can see the differences and logic rather than implementing the logic (which I don't know).

Kind regards.
0
 
LVL 4

Accepted Solution

by:
AnuTiji earned 500 total points
ID: 36916205
0

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Export import database 4 51
Connection String 16 57
free scanner TWAIN can be operated with a Web application 9 61
C# parent child form 5 28
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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