Click here to Skip to main content
16,020,188 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
XML
If txt1.Text = "abc" Then
  txt2.Text = "11111"
End If

Dim sb As New StringBuilder
 For Each c as Char in txt2.Text
  sb.AppendFormat("<img src='{0}.jpg' />", c)
Next
  Literal1.Text = sb.ToString()


How I'm going to address Literal1.Text to execute that sb.ToString() inside a table. This is for interface only, not related with database.
Posted
Comments
Ron Beyer 9-Oct-13 22:52pm    
Do you really have an image for every character of the txt2 string?
gogole_yuna 9-Oct-13 22:56pm    
yes

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