Visual Studio 2008 Beta 2 Professional Edition
Posted on September 25, 2007 - Filed Under What's New |
I have just downloaded Visual Studio 2008 Beta 2 Professional. It is a 3.05 gb image file which took me two consecutive nights to download over a 300kbps wireless broadband connection. I was so excited that I immediately installed it on my AMD Sempron 1.5ghz 256mb PC and created a simple windows database application to test it. I placed a DataGridView object and a button and encoded the following to fill the DataGridView with some records coming from my MS SQLExpress 2005 database.
Public Class Form1
Private dbconn As New SqlClient.SqlConnection(”Data Source=MISBRAIN2\SQLEXPRESS;Initial Catalog=registrardb;Integrated Security=True”)
Private dbadapter As New SqlClient.SqlDataAdapter(”Select * from [Student Directory Table]“, dbconn)
Private dbdataset As New DataSet
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
dbdataset.Clear()
dbadapter.Fill(dbdataset, “Student Directory Table”)
Me.DataGridView1.DataSource = dbdataset.Tables(”Student Directory Table”).DefaultView
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim f As New Form2
f.Show()
End Sub
End Class
I have been programming in VB.NET since Visual Studio.NET 2003’s era and I was thankful that this coding style of mine smoothly works up to Visual Studio 2005 to 2008. I was also surprised that I can create report using the ReportViewer object and getting report source from a rdlc report file (not Crystal Report). Wow! Visual Studio 2008 is really cool! It was just my first time to explore it and I am very sure there are still a lot more new features to discover. This beta version will expire on March 2008 according to its license agreement and that will be more than enough to learn it in advance. Try it now!
Comments
Leave a Reply