Answered by:
display multiple lines in a single row of gridview..

Question
-
var input = "SET ANSI_NULLS ON $ IF NOT EXISTS.";
Response.Write(output);
above code is working if response.write(), but when i need to display that "output" onto a gridview coloumn, "<br />" isnt working, any alternatives?
Thursday, July 1, 2010 6:54 AM
Answers
-
Hi jason,
Welcome to MSDN forums! I'm glad to see your active participation and discussion in MSDN forums. Based on your issue
Please try use css style in your gridview ,because it'll make html table in the client side.
Simple site please refer to http://www.css3.com/css-word-wrap/ (CSS WORD-WRAP)
Hope this will help you!
If you still have any doubt about web application, please post on http://forums.asp.net/
Please Mark as Answered If this is helpful Or Un-Mark as Answered if it is not helpful.
Best Regards,
Yan Jun
Microsoft Online Community Support- Marked as answer by FafafaalexModerator Thursday, July 8, 2010 3:18 AM
Tuesday, July 6, 2010 3:48 AMModerator
All replies
-
Welcome to the MSDN Forums.
For ASP.NET issues, please try http://forums.asp.net/ where you'll get better and quicker answers from related experts there.
Regards,
Yasser
LEARN HOW WPF IS FLEXIBLE IN PRESENTATION DURING A QUICK SIMPLE WALKTHROUGH:
Walkthrough: Displaying multi column ComboBox by using Windows Presentation Foundation (WPF) data templatingThursday, July 1, 2010 7:43 AM -
Try using \n or \r. Also as Yasser mentioned, please post your question in ASP.net forums
- Proposed as answer by Jebarson JMicrosoft employee Monday, July 5, 2010 8:12 AM
Monday, July 5, 2010 8:12 AM -
Hi jason,
Welcome to MSDN forums! I'm glad to see your active participation and discussion in MSDN forums. Based on your issue
Please try use css style in your gridview ,because it'll make html table in the client side.
Simple site please refer to http://www.css3.com/css-word-wrap/ (CSS WORD-WRAP)
Hope this will help you!
If you still have any doubt about web application, please post on http://forums.asp.net/
Please Mark as Answered If this is helpful Or Un-Mark as Answered if it is not helpful.
Best Regards,
Yan Jun
Microsoft Online Community Support- Marked as answer by FafafaalexModerator Thursday, July 8, 2010 3:18 AM
Tuesday, July 6, 2010 3:48 AMModerator