Get Value from ${result.value}

I have a record set that returns 1 row of data, I want to get just a single value from the record-set for conditional formatting.

Property that is set on page load is "todayData" value is ${result.value}

How to I get "PlantID" (columname) from ${todayData} I tried ${todayData.PlantID} but it doesn't seem to work.

Thanks in advance!

If this is array you can use result.value[0].YourProperty

So simply only thing I didn't try! Thanks again for all your help.

I'm facing this error, Please Guide Me...
I'm Using Blazor Server Side...
Please Guide me How can I get a single value from Invoke Method?

error CS0021: Cannot apply indexing with [] to an expression of type 'IQueryable'

Since your return value is Iqueryable you can use

1 Like