Cells(Index) will point you to a cell. The content of the cell depends on
it's type. If you are not sure what is inside, you can always set a
breakpoint somewhere in the ItemDataBound event and explore the content of
the cell in the debugger.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Samuel Shulman" <sa************@ntlworld.comwrote in message
news:uF**************@TK2MSFTNGP03.phx.gbl...
Thank you for your response,
I am still not sure which are the properties to set (the image path and
the URL) is it the Celles(Index) of the relevant row?
Thank you,
Samuel
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:e6**************@TK2MSFTNGP04.phx.gbl...
>Samuel,
The most flexible is to handle ItemDataBound event in code-behind. The
event handler gets a reference to the item (row) of the datagrid. You can
set any properties of the cells as you wish.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Samuel Shulman" <sa************@ntlworld.comwrote in message
news:OG**************@TK2MSFTNGP06.phx.gbl...
>>Hi
I added a number of columns to the DataGrid control and I binded them to
ceratin columns in the DataView object however I want to fill the URL of
the HyperLink type column and I want to add images to the image column
What is the normal way of doing that?
Samuel