16,018,202 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by duonglg (Top 11 by date)
duonglg
12-May-13 9:53am
View
That code html is right, i have tested it on my program much time.
Your code build get result:
<ul>
<li>1. The <title> element
defines a title in the browser toolbar
provides a title for the page when it is added to favorites
displays a title for the page in search-engine results
2. CSS can be added to HTML in the following ways
Inline - using the style attribute in HTML elements
Internal - using the <style> element in the <head> section
External - using an external CSS file</li>
</ul>
duonglg
10-May-13 2:59am
View
In your script, it notice a error at lines.Select, error for this array, it dont have Error 10 'System.Array' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'System.Array' could be found.
duonglg
10-May-13 1:31am
View
Output right:
<ul>
<li>0. The <title> element
<ul>
<li>defines a title in the browser toolbar </li>
<li>provides a title for the page when it is added to favorites </li>
<li>displays a title for the page in search-engine results </li>
</ul></li>
<li>1. CSS can be added to HTML in the following ways
<ul>
<li>Inline - using the style attribute in HTML elements</li>
<li>Internal - using the <style> element in the <head> section</li>
<li>External - using an external CSS file</li>
</ul></li>
</ul>
duonglg
10-May-13 1:29am
View
Yes, Matt Heffron tell right, output was desired result.
Help me more.
duonglg
8-May-13 9:54am
View
string strImport;
strImport = tarImportLink.Text.ToString();
string[] lines = strImport.Split(new string[] { Environment.NewLine }, StringSplitOptions.None);
StringBuilder s = new StringBuilder();
for (int i = 0; i < lines.Length; i++)
{
string firstLi="<li>";
string endLi = "</li>";
s.AppendFormat("{0}{1}{2}{3}",firstLi,lines[i],endLi, Environment.NewLine);
}
string newString = s.ToString();
tarExportLink.EditValue = newString;
I do it now....
Please help me continue
duonglg
8-May-13 6:19am
View
string strImport;
strImport = tarImportLink.Text.ToString();
string[] lines = strImport.Split(new string[] { Environment.NewLine }, StringSplitOptions.None);
StringBuilder s = new StringBuilder();
for (int i = 0; i < lines.Length; i++)
{
string firstLi="<li>";
string endLi = "</li>";
s.AppendFormat("{0}{1}{2}{3}",firstLi,lines[i],endLi, Environment.NewLine);
}
string newString = s.ToString();
tarExportLink.EditValue = newString;
I do it now....
Please help me continue
duonglg
8-May-13 6:19am
View
That right? Out put is code html.
Now, I input paragraph:
-------
1. The <title> element 50m 45s
defines a title in the browser toolbar 15m 20s
provides a title for the page when it is added to favorites 15m 10s
displays a title for the page in search-engine results 20m 15s
-------
and out put
<li>1. The <title> element 50m 45s</li>
<li>defines a title in the browser toolbar 15m 20s</li>
<li>provides a title for the page when it is added to favorites 15m 10s</li>
<li>displays a title for the page in search-engine results 20m 15s</li>
i cant do continue for delete time end of row and insert tag ul to first every chapter.
duonglg
6-Sep-12 5:59am
View
You solve my problem. Thank Mario Majčica very much. I'm try.
duonglg
6-Sep-12 5:42am
View
Thank Mario Majčica, this is the solution for me.
In your answer, i think have small problem, when Im input multiple space before strings.
Ex: "If I had to live my life without you near me
' 'The days would all be empty"
Space is the user enter space
Result:
1. If I had to live my life without you near me
2. ' 'The days would all be empty"
result request:
1. If I had to live my life without you near me
2. The days would all be empty
Thank you very much.
duonglg
23-May-11 2:33am
View
i want change value automatically when have a value change in that column
duonglg
22-Apr-11 0:09am
View
Thanks, it is solution for me.
Show More