Welcome to MSDN Blogs Sign in | Join | Help

David Waddleton's Geek Speak

Find out what Geeks talk about
test

This is a sample blog entry using a new tool, called VisualBlogger.



1Public Class Employee
2 Public Function GetEmployees() As DataSet
3 Dim ds As New DataSet
4 Dim oCon As New SqlConnection(ConfigurationSettings.ConnectionStrings("NorthwindConnection").ConnectionString)
5 Dim da As New SqlDataAdapter("Select * from Employees", oCon)
6 da.Fill(ds, "Employee")
7 Return ds
8 End Function
9End Class

 

Posted: Saturday, July 31, 2004 1:54 PM by David Waddleton
Filed under:

Comments

No Comments

New Comments to this post are disabled
Page view tracker