摘要: 数据模型大致是这样子的,Product 表中有一个ProductTypeKey字段,ProductType表中有ProductTypeKey,ProductTypeValue等字段。使用Aspnet中的DataGridView 控件绑定上述的Product表,同时要求,ProductTypeKey列显示为ProductType表中的对应的ProductTypeValue。为了完成上述的绑定,我使用了DataGridViewComboBoxColumnProductDataTable productDT;productDataAdapter.Fill(productDT);DataGridVie 阅读全文
posted @ 2011-06-14 19:47 richardzeng 阅读(253) 评论(1) 推荐(0) 编辑