如何在sqlserver中检索表数据并在gridview的asp.netwebpage中显示它 [英] how to retrieve tabledata in sqlserver and display it in asp.netwebpage in a gridview

查看:60
本文介绍了如何在sqlserver中检索表数据并在gridview的asp.netwebpage中显示它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,


我已经在sqlserver-2008中创建了一个employeetable,现在我的任务是检索该表数据并在gridview控件的asp.net网页中显示. >解决方案

尝试以下链接.这对您有帮助

http://geekswithblogs. net/dotNETvinz/archive/2009/02/19/binding-gridview-with-data --- the-ado.net-way.aspx [如何使用C#中的SQL语句填充DataGridView,GridView [ 解决方案

Try the below link. This will help you

http://geekswithblogs.net/dotNETvinz/archive/2009/02/19/binding-gridview-with-data---the-ado.net-way.aspx[^]


Hello Sriram,

there are various ways present.

you can follow this link
How to populate DataGridView, GridView with SQL statement in C#[^]

thanks
sanjeev


use pin button on datagridview and choose data source to bind data of table through wizard.


这篇关于如何在sqlserver中检索表数据并在gridview的asp.netwebpage中显示它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
其他开发语言最新文章
热门教程
热门工具
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆