I have a function called selType that returns either "mc" or "car"
Then in my datalist i would like to check if the function returns "mc" it should output pName, else pNameFI from my db.
I need something like this..
But this don't work.. I don't know how to achieve this.. Can anyone help me?Code:<%# if selType="mc","pName","pNameFI") %>




Reply With Quote