如何用c#从mysql加载的datagridview中显示所选表的列 [英] How to show columns of selected table in datagridview loaded from mysql with c#

查看:109
本文介绍了如何用c#从mysql加载的datagridview中显示所选表的列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi All,
Please help to show columns (in datagridview) of selected table in datagridview loaded from mysql using stored procedure with c#.

推荐答案

检查这些链接。我希望它有所帮助:



将存储过程与ASP.NET GridView一起使用



来自存储过程的Gridview [ ^ ]



msdn-使用DataGridView中的存储过程显示数据 [ ^ ]



现在构建你的代码,参考上面的文章,如果你得到任何怀疑这里有一些关于这个主题的表格可以解决你的问题,如果有的话:



Grid View Bi使用存储过程 [ ^ ]



使用mySQL存储过程绑定Gridview



如果你让我们知道仍然无法获得所需的结果。
Check these links. I hope it helps:

Using Stored Procs with ASP.NET GridView

Gridview from Stored Procedure[^]

msdn-Display Data using Stored procedure in DataGridView[^]

Now build your code refering the above articles and in case you get any doubt here are some forms on this topic that will solve your problem, if any:

Grid View Binding using Stored Procedure[^]

Bind Gridview with mySQL Stored Procedure

Let us know in case you are still unable to get the required result.


这篇关于如何用c#从mysql加载的datagridview中显示所选表的列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆