Click here to Skip to main content
15,894,540 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
1.I have created an asp table at runtime and a paragraph tag inside cell[0].Now how to fill a datatable with the paragraph innertext?
C#
dt.rows[0].cells[0]=table1.rows[0].cells[0].?

please write the code at "?"

2.In shopping cart apps I have stored client data in an array in a class.Now if many clients use the site at a time that means the array,will the site be crashed? Actually I want to know that whether the array will be rendered individually for all clients or not as the array is in server side. Is cookies better for this?
Posted
Updated 14-Jun-12 20:50pm
v2

1 solution

What you are looking for is innerHTML. Trying to use innerText will only end in tears. It is an ancient Microsoft non-standard element. See here[^] for some good references.

Peter
 
Share this answer
 
Comments
souvikcode 15-Jun-12 11:50am    
you have linked a javascript.I know how to use this in javascript.but I have to do in code behind.Have any solution?

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