Click here to Skip to main content
15,892,737 members
Articles / Database Development / SQL Server

Stored Procedure Generator

Rate me:
Please Sign up or sign in to vote.
4.42/5 (9 votes)
31 Jul 2008CPOL1 min read 31.4K   977   50  
This software generates Insert, Update, Delete, and Select stored procedures (whichever you want) for selected tables.
using System;
using System.Collections.Generic;
using System.Windows.Forms;


namespace StoredProcedureGenerator
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
            Application.Run(new DbConnectionForm());
        }

        static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
        {
            MessageBox.Show(e.Exception.Message);
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Myer's Technologies
Pakistan Pakistan
I have more than 8 years of Software development experience. I worked in different software companies. Now a days I am running my own software business as well as Lecturer in Computer Science in Govt. College GT Road Jhelum.

Comments and Discussions