积极答复者
asp.net链接AS400数据库,gridview绑定不到数据源

问题
答案
-
截图看看是什么样子的数据库。
你直接用SqlDataSource(默认根据向导窗口配置)也不行吗?
If you think one reply solves your problem, please mark it as An Answer, if you think someone's reply helps you, please mark it as a Proposed Answer
Help by clicking:
Click here to donate your rice to the poor
Click to Donate
Click to feed Dogs & Cats- 已编辑 ThankfulHeart 2013年3月17日 2:22
- 已标记为答案 Song TianModerator 2013年3月25日 8:11
全部回复
-
尝试:
select [unit$] As Unit from A
不过我很奇怪,你的数据表列名为啥可以用特殊符号……
If you think one reply solves your problem, please mark it as An Answer, if you think someone's reply helps you, please mark it as a Proposed Answer
Help by clicking:
Click here to donate your rice to the poor
Click to Donate
Click to feed Dogs & Cats -
截图看看是什么样子的数据库。
你直接用SqlDataSource(默认根据向导窗口配置)也不行吗?
If you think one reply solves your problem, please mark it as An Answer, if you think someone's reply helps you, please mark it as a Proposed Answer
Help by clicking:
Click here to donate your rice to the poor
Click to Donate
Click to feed Dogs & Cats- 已编辑 ThankfulHeart 2013年3月17日 2:22
- 已标记为答案 Song TianModerator 2013年3月25日 8:11