?
Solved

VB.NET: wrap 2 lines for Datagrid according to /

Posted on 2011-10-21
2
Medium Priority
?
262 Views
Last Modified: 2012-05-12
How to split the following line into (wrapped) 2 lines separated by /?
Example:

original Line in one datagrid columns:
Line1: abc/def
Line2: abcdeg/34324

change to:
Line1:
abc/
def

line2:
abcdeg/
34324
0
Comment
Question by:chwong67
2 Comments
 
LVL 10

Accepted Solution

by:
Umar Topia earned 2000 total points
ID: 37010242
you can use string replace
and then replace / with /\n
or if it does not work
then try replacing / with /<br/>
0
 
LVL 9

Author Closing Comment

by:chwong67
ID: 37015410
Thanks...
The second 'replace' works.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question