如何在网格视图中使用两个表 [英] How can use Two table in grid view

查看:63
本文介绍了如何在网格视图中使用两个表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个与gridview有关的问题,在这里我在用两个数据库表进行gridview,一个用于填充gridview中的两列,它们是下拉列表,标签表示从下拉列表中选择的项目,以及从下拉列表中选择的项目的费率显示,以及另一个用于立即订购的表格在所有四个列的值都存储在其他表中之后,用户还要插入另外两个列的数量和数量.

并在必填项上生成行.
解决该问题的方法是什么.
谢谢

Hi All,

I have a problem related to gridview Here i am using two database table for gridview one for populate two column in gridview that are dropdown list and lable means item selected from dropdown and rate display for that item selected from dropdown and another table for make order now there are two other column quantity and amount insert by user after that all four column value store in other table.

and row generated on required item.
what is the solution for such problem.
Thanks

推荐答案

U告诉您要从一个表填充gridview中的dropdowlist,请使用SQlDatasource向导,其余列与另一个表一起使用.
As U told u want to populate dropdowlist in gridview from one table use SQlDatasource Wizard for it and rest of column with another table.


这篇关于如何在网格视图中使用两个表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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