Manipulating SQL Server 2008 in VB.NET 2010

Submitted by: 
Visitors have accessed this post 28473 times.

' simple tutorial on how to interact to SQL SERVER DATABASE 2008 using Visual Basic.Net 2010
' general features:
' how to use ADO.Net in 2010
' pure SQL Statements (select, insert, delete, update)
' how to use sub procedures with parameters and how to call procedures directly.
' how to use try and catch
' how to use looping structure )(for each)

'if using/creating a procedures always declare as private/public not only as SUB
'in calling sub procedures and functions, always use CALL to make d program readable!

Entering .NET Framework 4

Cedrick Blas
[email protected]

Junior Analyst/Programmer

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


irun ko itong program mo, sa listview ok nman cia ngaadd. niattached ko naman database.
my kulang ba sa PC ko? nginstall nman aq visual studio 2010 at kasama nia na yong Sql Server 2008.
my nabasa ako sa mga forums na dun lang daw kc ngsasave sa Bin folder ung data. temporary lang.

kasi po nahihirapan ako mag connect ng MSSQL SMS 2008 sa VS2010 pahinge po ng way para ma connect! newbie lang po ako!

gumagana ba program mo

thanks alot, it's helpfull

dude...alam mo ba easiest way para masave ang image sa SQL as image data type. not just the directory. para hindi maxadong malaki ang kinakain na storage! bka sakaling mkatul0ng p0h

nag wo2rk kana sa company na work as programming... kailangan q na kz mag OJT baka m2lungan mu aq...... contact me 09306492326


just Send your msg at my yahoo account/FB: [email protected]

System Developer and Web Developer

>Programming in The Future Technology<

mag hanap ka sa web. marami jan... ano ba skills mo? Prog.languages na prefare mo?

haha. pacomment lang. galing2 tlga oh. imba.

hahaha rosalie! tnx... lol .net kna

hahaha tnx naman.. :) mag .net kna

download na mga paps!

mali naman ung program mo hahaha

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You may insert videos with [video:URL]
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe> [video]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.