quinnipiac0807
Programmer
Quick formatting question. What is the easiest way to change the format of a boolean variable in a datagrid on an asp webpage. Would it be to do it in the SQL procedure, or is there a way to put it right in the c# code?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<%# ((byte)DataBinder.Eval(Container,"DataItem.boolCol") == 1) ? "true string" : "false string" ) %>