Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

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

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
jazzIIIlove
Asked:
jazzIIIlove
  • 2
  • 2
1 Solution
 
jazzIIIloveAuthor Commented:
Nice article but it's in ASP.NET. Isn't there any example of console app or so?

Regards.
0
 
Kyle AbrahamsSenior .Net DeveloperCommented:
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
 
jazzIIIloveAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now