Click here to Skip to main content
15,921,577 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
for (i = 0; i < retrivemultiple.length; i++)
          {
                tableContents += "<tr>";
                 tableContents+="<td><textbox id='txtname' text='"+ dataName[i] +"'></textbox></td>";
                 tableContents += "<td>" + dataCourse[i] + "</td>";
                 tableContents += "<td>" + dataCollege[i] + "</td>";
                 tableContents += "<td><button style='width:50;height:18;' id='btndelete' onclick='updateAccount()'>Delete</button></td>";


           }


not insert arry data to textbox text. it diplaying emty textbox pls hep me..
Posted
Updated 19-Jan-15 22:49pm
v2
Comments
Peter Leow 20-Jan-15 4:54am    
Why did u get this code?
What and where is retrivemultiple? What is <textbox>? where is updateAccount()?
Praveen Kumar Upadhyay 20-Jan-15 5:00am    
Not enough code.
Member 11387257 20-Jan-15 5:00am    
tableContents += "<td>" + dataCourse[i] + "</td>";
tableContents += "<td>" + dataCollege[i] + "</td>";
this data is disply in the table but dataNmae[i] data was not display in textbox

1 solution

Give complete code.

After seeing this much only suggestions are : Put breakpoint and see whether
C#
dataName[i]
contails some value or not. change
C#
<textbox></textbox>
to
C#
<input type="textbox"></input>
 
Share this answer
 

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