我想显示我的数据库表格使用Asp.net webservice在GridView中有三列 [英] I Want to show my database Table Having three columns in GridView using Asp.net webservice

查看:100
本文介绍了我想显示我的数据库表格使用Asp.net webservice在GridView中有三列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai,Am Anandraj,我是Asp.net的新手我想显示我的数据库表值GridView中有三列使用Asp.net webservice,请有人帮我朋友..

Hai, Am Anandraj, Am New to Asp.net I Want to show my database Table Values Having three columns in GridView using Asp.net webservice, Please anyone help me friends..

推荐答案

你的webservice返回值是什么更重要,这里是一个使用web方法的例子(和你的webservice一样),它会返回DataSet,所以它会直接绑定到你的GridView你可以使用这样的东西...





http://asp-net-example.blogspot.com/2009/11/web-service-and-dataset -how-to-populate.html [ ^ ]
what is your webservice return value is more important, here is an example which use web method (same like your webservice) and it will return DataSet, so it will directly bind to your GridView you can use something like this...


http://asp-net-example.blogspot.com/2009/11/web-service-and-dataset-how-to-populate.html[^]


这篇关于我想显示我的数据库表格使用Asp.net webservice在GridView中有三列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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