Add image into a column in a gridviewHi ,
here is my code.
LocationFilesList = new ObservableCollection<storedprocedureResult>(WorkListArray.ToList());
this LocationFilesList i am using as a itemsource in my wpf gridview.If the gender is 'M' we should add the one image to the patientnumber which is already displayed in the grid under patientnumber..we are storing any image as binaryfile in a dabase.it should be just visible in the UI in addition to patientnumber if it is 'male'.we can take the image from the project folder itself.
How to do that?
no need of using foreachloop because the grid may contain more than 1000 records.
var item = (from p in LocationFilesList where p.Gender == "Male" select p).ToList();
Can we filter like above and again can we able to add the image?If so how to do or gimme any alternative solution
Thanks in advance.