Hi All,
i am using .net 1.1 and i want to add an Image in the DataGrid
(using C# in WinForm not in WebForm). so can any body please tell me,
how to do.
i have found an artical in forum i.e
http://www.codeguru.com/Csharp/Cshar...cle.php/c4783/
but the here are some understanding problems with two statements:
1) PropertyDescriptorCollection pcol =
this.BindingContext[DBDataSet,
"Test"].GetItemProperties();
// create column style for a text column
2) GridTextColumn = new DataGridTextBoxColumn(pcol["Description"]);
DBDataSet :: I am not using any database to store the Images.
DataGridTextBoxColumn::is a derived a class and special thing is
override of Paint()
class.
if i have derived a class with "DataGridColumnStyle" class. so what i
have to pass to this Derived class Constructors because i dont have
any DBDataSet or PCOL.
next points : there is some logic in Paint(). how i have to go with
this. Becuase all the images are process here only.
So can any body please do the needfull help with above solution or
with another solution.
regards
RS.