cjard
Well-known member
- Joined
- Apr 25, 2006
- Messages
- 7,081
- Programming Experience
- 10+
Hi all
I want to programmatically create database stored procedures, and the text must obey a template. To provide some visiblity of what the user is doing, I want to programmatically generate the procedure header, have them type the body, and generate the footer myself too
To this end, the text has 3 parts:
CREATE PROCEDURE ____ (arguments...) IS BEGIN
<body part, user editable>
END PROCEDURE
Does anyone know of an edit control I can use to lock the portions of the text I can create programmatically (it is important that the parameters be nanmed a certain way and be in the right order.
Currently Im thinking of:
The labels are hence locked, and the textbox text is the sql query that the procedure runs etc..
ANyone know a component where I can do this without compounding labels etc?
I want to programmatically create database stored procedures, and the text must obey a template. To provide some visiblity of what the user is doing, I want to programmatically generate the procedure header, have them type the body, and generate the footer myself too
To this end, the text has 3 parts:
CREATE PROCEDURE ____ (arguments...) IS BEGIN
<body part, user editable>
END PROCEDURE
Does anyone know of an edit control I can use to lock the portions of the text I can create programmatically (it is important that the parameters be nanmed a certain way and be in the right order.
Currently Im thinking of:
VB.NET:
[/FONT]
[FONT=Courier New]--------------------------------------------------+[/FONT]
[FONT=Courier New]| tablelayout panel |[/FONT]
[FONT=Courier New]| +---------------------------------------------+ |[/FONT]
[FONT=Courier New]| | label, autosize, multiline, white background| |[/FONT]
[FONT=Courier New]| +---------------------------------------------+ |[/FONT]
[FONT=Courier New]| +---------------------------------------------+ |[/FONT]
[FONT=Courier New]| | textbox, autosize, multiline, white backgrnd| |[/FONT]
[FONT=Courier New]| +---------------------------------------------+ |[/FONT]
[FONT=Courier New]| +---------------------------------------------+ |[/FONT]
[FONT=Courier New]| | label, autosize, multiline, white background| |[/FONT]
[FONT=Courier New]| +---------------------------------------------+ |[/FONT]
[FONT=Courier New]+-------------------------------------------------+[/FONT]
[FONT=Courier New]
The labels are hence locked, and the textbox text is the sql query that the procedure runs etc..
ANyone know a component where I can do this without compounding labels etc?