使用dll进行gridview绑定 [英] gridview binding using dll

查看:84
本文介绍了使用dll进行gridview绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何使用dll.with example

how can we bind a gridview using dll.with example

推荐答案

gridview1.DataSource = Yourdll.YourClass.GetData(); //GetData returns datatable or dataset

gridview1.AutoGenerateColumns = true;
gridview1.DataMember = "Name_of_your_datatable"; //If you're using DataSet
gridview1.DataBind();



但是你的问题很模糊.

希望对您有所帮助.



But your question is fuzzy.

Hope it helps.


这篇关于使用dll进行gridview绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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