K
kito
I have the following problem. I have a list of products in a Database.
Now I would like to list them on a DataGrid, but in a special manner.
In the first cell of a row in the DataGrid I would like to put the
product-image (which is also not a problem) and in the second cell of
the DataGrid I would like to put a Panel or something, where I add
several things, like the title, description, price ... of the product
and also controls such as ImageButtons or something that do an action.
The caption of the actions of the imageButtons is not the problem. My
problem is that I'm not able to put a label into the datagrid-cell. I
could use a template column, but the problem is that all this stuff has
to be created dynamically from the database.
It must also not be a panel. It can also be some other control, where I
can add controls like buttons etc..
I hope everybody understands my problem, it is kind of difficult to
explain clearly.
Juri
Now I would like to list them on a DataGrid, but in a special manner.
In the first cell of a row in the DataGrid I would like to put the
product-image (which is also not a problem) and in the second cell of
the DataGrid I would like to put a Panel or something, where I add
several things, like the title, description, price ... of the product
and also controls such as ImageButtons or something that do an action.
The caption of the actions of the imageButtons is not the problem. My
problem is that I'm not able to put a label into the datagrid-cell. I
could use a template column, but the problem is that all this stuff has
to be created dynamically from the database.
It must also not be a panel. It can also be some other control, where I
can add controls like buttons etc..
I hope everybody understands my problem, it is kind of difficult to
explain clearly.
Juri