I have a page that i am working on and i am trying to do a couple of things that i cannot seem to get to work.
First is Conditional Formatting.
I have researched and tried to test a variety of solutions to have a value get highlighted if below a value.
i was using this script in my code behind and i cannot get this to work on the page.
Sub ItemDataBoundEventHandler(sender as Object, e as DataGridItemEventArgs)
If e.Item.ItemType = ListItemType.Item OR _
e.Item.ItemType = ListItemType.AlternatingItem then
'Check to see if the price is below a certain threshold
Dim price as Double
price = Convert.ToDouble(DataBinder.Eval(e.Item.DataItem, "price"))
If price < 10.0 then
e.Item.BackColor = System.Drawing.Color.Yellow
Second i would like also to have some type of graph on the page to for the datagrid. And I cannot find anything that even gets close to working for me on this. And if there is a possible way can i have a java screen show this on a mouse over?
Lastly is there a way to have the ASP.Net page calculate a value for a column instead of having SQL do this?
Any Help would be great.