The Application Development Experiences of an Enterprise Developer

Sample Using Statement in VB.NET 2005

Posted by bsstahl on 2006-04-28 and Filed Under: development 

Using wsBlogService As New BlogService.Blog
          Me.Text = wsBlogService.DisplayBlog("BlogName", 0)
     Catch objException As System.Exception
          Me.Text = String.Format("", objException.Message, wsBlogService.url)
     End Try
End Using

Tags: code sample 

About the Author

Barry S. Stahl Barry S. Stahl (him/his) - Barry is a .NET Software Engineer who has been creating business solutions for enterprise customers for more than 30 years. Barry is also an Election Integrity Activist, baseball and hockey fan, husband of one genius and father of another, and a 30+ year resident of Phoenix Arizona USA. When Barry is not traveling around the world to speak at Conferences, Code Camps and User Groups or to participate in GiveCamp events, he spends his days as a Solution Architect for Carvana in Tempe AZ and his nights thinking about the next AZGiveCamp event where software creators come together to build websites and apps for some great non-profit organizations.

Social Media

Tag Cloud