Datagrid
-
Hi, ı have a few arrays to bind in my datagrid after page loads.(boundColumn) I have found some samples but i could not understand how to give the value to BoundColumns rows while using array as row value. One more thing is :how to show an image as row value? Like: //code is only example,not working If myArray(counter)="9" Then myRow.DataField="
" End If May i do this by DataColumn or BoundColumn? Any idea or code will be so helpfull.. Thanx in advance.. -junior coder--
-
Hi, ı have a few arrays to bind in my datagrid after page loads.(boundColumn) I have found some samples but i could not understand how to give the value to BoundColumns rows while using array as row value. One more thing is :how to show an image as row value? Like: //code is only example,not working If myArray(counter)="9" Then myRow.DataField="
" End If May i do this by DataColumn or BoundColumn? Any idea or code will be so helpfull.. Thanx in advance.. -junior coder--
Hi Junior You can use template column for displaying an Image.Add template column with image box to the grids column and assign image value to it.What you did is worng.It will assign a string("
") to that datafield.It wnt work,may give error Tnx M.Sendilkumar
-
Hi Junior You can use template column for displaying an Image.Add template column with image box to the grids column and assign image value to it.What you did is worng.It will assign a string("
") to that datafield.It wnt work,may give error Tnx M.Sendilkumar
I did what you said..It works thanx -junior coder--