如何弹出“Execute StorePro”窗口通过代码?

编程入门 行业动态 更新时间:2024-10-28 21:27:46
本文介绍了如何弹出“Execute StorePro”窗口通过代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我希望从我的C#代码运行商店Proc,当用户点击按钮时,它会弹出相同的窗口,如SSMS,Execute Store Proc"并且用户可以输入参数。

I am looking to run store Proc from my C# code, and when user clicks button it popup same window like in SSMS, Execute Store Proc" and user can enter parameters.

是否可以?

谢谢

跳跃

推荐答案

你好,

您需要使用适当的控件创建表单,例如TextBoxes,DateTimePickers等获取参数信息。有一个按钮来执行,显示(如果有的话)导致DataGridView。

You would need to create a form with the proper controls e.g. TextBoxes, DateTimePickers etc to get parameter information. Have a button to execute, display (if any) results in a DataGridView.

不知道你对商店程序的了解,你可能想在MSDN上查看我的代码样本

Not knowing your knowledge of store procedures you might like to review my code samples on MSDN

code.msdn.microsoft/SQL-stored-procedures-1384f04c

更多推荐

如何弹出“Execute StorePro”窗口通过代码?

本文发布于:2023-10-06 19:52:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1467658.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:弹出   窗口   代码   StorePro   Execute

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!