Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
92 Points
283 Posts
Jun 12, 2012 02:42 PM|LINK
I'm trying to set index for my array values which i handle it in a class file.Below is my code
for (int iv = 0; iv <= (tempdata.Length - 1); iv++) { s1 += tempdata[iv].Name + "<br />"; }
On displaying the values are not displayed on individual row,instead it shows a<br/>b<br />c<br /> I need it to display as below
a
b
c
srividhyavat...
Member
92 Points
283 Posts
Help on index array
Jun 12, 2012 02:42 PM|LINK
I'm trying to set index for my array values which i handle it in a class file.Below is my code
for (int iv = 0; iv <= (tempdata.Length - 1); iv++) { s1 += tempdata[iv].Name + "<br />"; }On displaying the values are not displayed on individual row,instead it shows a<br/>b<br />c<br /> I need it to display as below
a
b
c