Datagrid-用户定义的结构 [英] Datagrid - user defined structure

查看:148
本文介绍了Datagrid-用户定义的结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在员工数据库中有64个员工ID.我想在datagrid中显示这64个员工ID.Datagrid以8行8列的格式显示.

谢谢&Rgds
Elam

Hi,
I have 64 employee id in employee database.I want to display those 64 employee id in datagrid.Datagrid in the format of 8 rows and 8 column.How to do this.

Thanks & Rgds
Elam

推荐答案

它被称为成为程序员"和思考问题".很明显,yiou不能只获取数据集并将其绑定到网格,因为您将无法获得所需的视觉效果.

您将必须构建另一种结构来按所需方式保存数据,并将THAT结构绑定到网格.
It''s called "being a programmer" and "thinking about the problem". It''s obvious that yiou can''t just take your dataset and bind it to a grid because you''re not going to get the visuals that you desire.

You''re going to have to build another structure to hold the data in the way you require, and bind THAT structure to the grid.


这篇关于Datagrid-用户定义的结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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