473,406 Members | 2,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

datagrid - Control Wrapping

I want to put several lines of name and address in a single column of a
datagrid. I tried to control wrapping with vbcrlf but it didn't work. Is
there a way to do this?
Thanks,
Dean
Nov 18 '05 #1
2 963
Try "<br>" instead of vbCrlf

HTH
Suresh

----- G. Dean Blake wrote: ----

I want to put several lines of name and address in a single column of
datagrid. I tried to control wrapping with vbcrlf but it didn't work. I
there a way to do this
Thanks
Dea

Nov 18 '05 #2
You could bring out the details from sql as the one column

Just put some <br> tags to break for new lines.

select name +'<br>'+ address as onecolumn from whatever


"G. Dean Blake" <De**@nospam.com> wrote in message
news:eO**************@tk2msftngp13.phx.gbl...
I want to put several lines of name and address in a single column of a
datagrid. I tried to control wrapping with vbcrlf but it didn't work. Is
there a way to do this?
Thanks,
Dean

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Randy | last post by:
Hello, How would this be done? I've looked at the datagrid itself and also the tableStyle and can't find out how to make text wrap in a cell. Thanks
1
by: Fabrizio | last post by:
HI, I put a datagrid in a DIV and the fill it with dataset How I can make the datagrid scrollable without wrapping the DI I mean that if there are too many records the datagrid will exceed...
5
by: darrel | last post by:
I'm new to ASP in general. Have been doing a bunch of stuff using classic ASP and a bit of stuff with ASP.NET (all with VBscript). The .NET stuff i've been doing has been fairly...
2
by: Scott | last post by:
I having a problem where I need to turn off the wrapping feature for all columns in my datagrid. Example code would be: <asp:DataGrid id="ResultGrid" runat="server" AutoGenerateColumns="true">...
4
by: rodchar | last post by:
Hey all, I have a datagrid that auto-generate the columns. When I run the app some of the column values are wrapping. How do I prevent the values from wrapping? Do I have to use template...
1
by: Diego | last post by:
Hi, how do I set the wrap property to FALSE for a datagrid with autocolums enabled? I know there's a work around this bug when the columns are set up in design time but I need the autocolumns...
2
by: Kalvin | last post by:
I am using the datagrid. I have allowpaging=true. I load the data and there is about 7000 records. At the bottom there is pages 1 through 10 and (...). The first time I click on (...) it takes...
2
by: TB | last post by:
According to Microsoft ( http://support.microsoft.com/default.aspx?scid=kb;EN-US;323169 ), there is bug in the the datagrid control, causing content to wrap in the columns of a datagrid eventhough...
0
by: glenn | last post by:
Hi folks, I have a DataGrid control and I have all of the columns wrapping their text except for one column which insists on placing the text all in one line without wrapping. All columns in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.