Click here to Skip to main content
15,885,244 members
Articles / Database Development / SQL Server

Stored Procedure Generator

Rate me:
Please Sign up or sign in to vote.
4.58/5 (14 votes)
20 Jun 2007CPOL2 min read 63.1K   3.3K   40  
This utility creates basic Select, Insert, Update and Delete Stored procedure for the selected Tables.
/******************************************************************
 * Author: Saket Sinha
 * Date Created: 24 June 2007
 * Please do not remove or change the Authors name if using this
 * utility
 * Copyright: Saket Sinha Australia
 *****************************************************************/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace BasicStoredProcedureCreator
{
    public partial class MDIMain : Form
    {
        #region Constructor
        public MDIMain()
        {
            InitializeComponent();
        }
        #endregion

        #region Event Handlers
        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenDatabasebrowser();
        }

        private void btnOpenDatabaseBrowser_Click(object sender, EventArgs e)
        {
            OpenDatabasebrowser();
        }
        #endregion

        #region Methods
        private void OpenDatabasebrowser()
        {
            Main mainForm = new Main();
            mainForm.MdiParent = this;
            mainForm.Show();
        }
        #endregion
    }
}

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
Web Developer
Australia Australia
I am working as a Microsoft .Net Analyst\Programmer in Transact (Telecommunication commpany), located in Australian Capital territory. Its been 3 years since I am doing .Net development work. Finally I have decided to jump into "code project" to contribute my learnings over the years.
I am thinking of completing MCPD so wish me luck !! Smile | :)

Comments and Discussions