Blog Stats
  • Posts - 178
  • Articles - 0
  • Comments - 234
  • Trackbacks - 171

 

July 2004 Entries

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Code Generation

I got tired of writing classes for database objects and built an automated code generation application that generates class objects in either Visual Basic .NET or Visual C# .NET, generates a class for database access for updates, inserts, deletes, lists, and selects and then plugs the classes into a Visual Studio .NET project, generates the needed stored procedures, etc. If anyone is interested in the project send me an email and I will give you a link for download as soon as it is in a decent enough...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

A better way to launch the Data Connection Properties dialog box

I found myself in need of allowing the user to build dynamic connection strings and needed to show the Universal Data Link dialog and retrieve the properties of the connection string that was built. I have noticed a few solutions that use the ADODB library but I think this is a better way: string path = AppDomain.CurrentDomain.Bas... + System.DateTime.Now.ToStrin... ","")+".udl"; //Create a file stream object that can be pointedly...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

 

 

Copyright © Jason Bentley