hi everyone
i use linq to databind a gridview
when i select 0 from database i want to show it as string "lose" in gridview
and when selecting 1 i want to show it as string " win" in gridview
i use to write code using selecting event like below
protected
void LinqDataSource1_Selecting(object sender, LinqDataSourceSelectEventArgs e)
{
some query
}
i dont know where to imply "if" in my code or maybe i shouldn't use "if " here in CS and should do sth when showing data in my aspx page.
any suggestion?