1
Answer

Concatenate Or Mid in a template Fieild

Chris Johnson

Chris Johnson

3y
468
1
Hi all.
 
I'm connecting to an iSeries machine where the date looks like the following. "1210311"
 
So I wish to use a template field and use Simlar to =Concatonate Mid(Date,6,2) + "/" + Mid(Date,4,2) + "/" etc etc.
I know how to add two fields together with
 
<%# Convert.ToInt32(Eval("Field1"))+Convert.ToDouble(Eval("Field2")) %> for example.
 
How can I use Concatenate and Mid or is there another way?
Answers (1)