Click here to Skip to main content
15,860,844 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how to change the column (dataset)value names in repeater.

Repeater1.DataSource = ds;
Repeater1.DataBind();



<%# DataBinder.Eval(Container, "DataItem.BILLTYPE")%>
this my second column 'bill Type' now getting values 0, 1 like that.

if it is "0" i want to diplay as a "R.Cash"
and if it is "1" i want to diplay as a "R.Credit"

i'm trying using for loop, still didnt get.
please help me to change the column values.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900