[SOLVED] Adding Image to List |
2/25/2016 20:53:58 | |
| ASPRunner.NET General questions | ||
|
R
raymueller authorDevClub member
I want to add an image to a list view that corresponds to how a project is trending. The options are at threshold, above threshold and below threshold. These values are maintained in a table that are assigned an Trend ID of 1, 2 and 3 respectively. |
||
|
|
Sergey Kornilov admin 2/25/2016 |
|
I would suggest using 'View as' Custom for this purpose: if (Convert.ToInt32(data["SomeField])<10) |
|
|
R
|
raymueller authorDevClub member 2/26/2016 |
|
Sergey - Thank you. I will try this later - this is what I was looking for. I would suggest using 'View as' Custom for this purpose: http://xlinesoft.com/asprunnernet/docs/_view_as__settings_custom.htm Your code will be something like this: if (Convert.ToInt32(data["SomeField])<10) |
|
|
R
|
raymueller authorDevClub member 2/26/2016 |
|
The solution works great at least when the application is initially launched. |
|