Home | 2.0 Content | Code Samples | Tips and Tricks | Tutorials | ASP.Net Books | Resources | Hosting
The Best Place Yet for ASP.Net - ASPNet101.com
Power Search


Don't Miss any New Content!
Sign up for Newsletter!

  Menu  
  Code Samples
Tips and Tricks
Tutorials
ASP.Net FAQ
What's New?
Resources
Hosting
Recommended Books
Home
 
     
  Our Sponsors :  
 
ASPExpress.com
WebHost4Life
DotNetSlackers
 
     

If you find this site helpful, please donate to help keep it online


DataBase Code Conversion Tool
(Switch between SQL and OleDb Managed Providers)

All you need to do is to paste your code into the top window. Then, depending on how you'd like it changed, choose the appropriate button (OleDb to SQL or SQL to OleDB).

Also - you can rest assured that no data is being saved on our end - it is merely changed and passed directly back to the output textbox

Disclaimer: Since there are some properties/methods, etc that do not have 1 for 1 crossovers between providers, some cleanup may still be necessary. This conversion tool is meant to convert the Major items which distinguish the SQL Managed Provider from the OleDb Managed Provider.

Also - Keep in mind - there is no way to know your connection string, so it wil also not change your database connection string. A generic connection string for the appropriate database will be provided at the end of the conversion code.


Input:

Result -- :



*Some items that may not have direct sibling classes across providers:
OleDbLiteral, OleDbSchemaGuid, OleDbPermission, OleDbPermissionAtribute.

Please let us know how this works for you :
Feedback is readily appreciated!




Changes:
v2 - case sensitivity no longer a problem (12/4/2002)
v3
- added generic connection string for use (12/14/2002)




Get your products seen by thousands of people every month!
Advertise with ASPNet101.com

Send us your comments, questions or suggestions : Suggestions
Copyright © 2008 ASPNet101.com All Rights Reserved
Home | 2.0 Content | Code Samples | Tips and Tricks | Tutorials | ASP.Net Books | Resources | Hosting