i am using asp.net with vb
-
I enter user details like name,address etc.I want to display these details in a table.But when i display it the address not come in proper way.How can i display the address in proper way. For entering i used textbox with multiline property.
-
I enter user details like name,address etc.I want to display these details in a table.But when i display it the address not come in proper way.How can i display the address in proper way. For entering i used textbox with multiline property.
Is there any problem in using the TextBox control to display the address by setting the MultiLine and Read-Only property to True or by setting the enabled property to false? If you wanted to display multi-line text in a lable control, then you can add Environment.NewLine at the end of each line. I hope this solves your problem.
- Regards -
J O N
A good thing is a bad thing if it keeps you from the best thing. - Dr. Adrian Rogers
-
I enter user details like name,address etc.I want to display these details in a table.But when i display it the address not come in proper way.How can i display the address in proper way. For entering i used textbox with multiline property.
Check the html that ASP.Net emits. Even though the people input "foo {newline} bar {newline} err", and that gets saved to the database, you will need to replace the newline characters with the BR tag. Your html will have new line characters in it, but they will be ignored by the browser.
Mark Churchill Director Dunn & Churchill Free Download:
Diamond Binding: The simple, powerful, reliable, and effective data layer toolkit for Visual Studio.