Click here to Skip to main content
15,915,864 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a stored procedure, whose script I am displaying in a text box in window forms.
Functionality includes, editing of the procedure from front end and it will execute and print the result in another text box. I have already displayed the script in the text box. Also, I have an execute button. Please help me in this regard, so that I can send the script directly from the text box to the database engine and can execute and show the results in another text box.


Priyadarshi
Posted
Comments
CHill60 22-Dec-15 3:32am    
What have you tried? Share the code you are struggling with
Tomas Takac 22-Dec-15 3:33am    
What have you tried? Can you show some code? Everybody here will gladly help you if you have a specific problem. Right now it seems you are asking somebody to write that code for you.
7045Jeegnesh 22-Dec-15 5:08am    
ok ok.. first try few thing
1.Take All text from TextBox One In String
2.Execute Value Of String By any Database Related Function and Get Result Set in Table i.e "ExecuteQuery_DataSet(YOUR string)" for vb.net
3.Now Set datatable to TextBox 2 (or Grid)..

And then ask anythig if u getting any Problem

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900