Hi
Can you manipulate data being displayed by a formview control just before its displayed? ie changing it to Upper case?
Text='<%#Bind("Alphabet") %>' to whatever you want?
Manipulate Formview display data
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Amit ChoudharyRank #145 · 15.8K reputationPosted Feb 18, 2010, 1:37 AM EST
you can create a server side function returning string...
like<%# Manipulate((string)Eval("Alphabet"))%> and manipulate the string as you want.
if you are using some special formats like numbers, Currency, Date..etc. you can use String.Format() function directly.
'<%#String.Format("Hello this is {0}", Eval("Alphabet"))%>'
Don't forget to mark the answer if it helps you.
Kirtan PatelRank #292 · 8.6K reputationPosted Feb 18, 2010, 1:52 AM EST
Method 1
-------------
Method 2
----------
Suppose Nameof Label Which Diplay Alphabet in FormView1 is NameLabel then you can code in FormView1's DataBound Event lIke Below
protected void FormView1_DataBound(object sender, EventArgs e)
{
((Label)FormView1.FindControl("NameLabel")).Text = ((Label)FormView1.FindControl("NameLabel")).Text.ToUpper();
}