15,891,409 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 Python 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 Codingnow20 (Top 20 by date)
Codingnow20
15-Aug-18 13:37pm
View
the name i want to call the element comes from textbox1 say iI type John Doe in the textbox1 it says that names can't include spaces.
Codingnow20
15-Aug-18 10:56am
View
that is what i am using to write to the xml but it always says names cant start with '<'
Codingnow20
15-Aug-18 10:56am
View
XDocument xdoc = XDocument.Load("SavedData.xml");
xdoc.Add(new XElement(new XCData(textbox1.text).ToString(),textbox2.text));
Codingnow20
15-Aug-18 10:55am
View
Deleted
that is what i am using to write to the xml but it always says names cant start with '<'
Codingnow20
15-Aug-18 10:54am
View
Deleted
XDocument xdoc = XDocument.Load("SavedData.xml");
xdoc.Add(new XElement(new XCData(textbox1.text).ToString(),textbox2.text));
Codingnow20
14-Aug-18 13:59pm
View
basically what i want to do is to enter any character into a textbox that becomes the element name and the other textbox will be its value.Maybe its not possible but i sure hope it is
Codingnow20
14-Aug-18 13:57pm
View
well i tried but it always gives me the error "names cannot start with<"
Codingnow20
14-Aug-18 9:34am
View
Does CDATA allow for spaces ??
Codingnow20
13-Aug-18 19:06pm
View
Wow I never saw CDATA before but I am pretty to new to xml so thanks a lot
Codingnow20
13-Aug-18 16:30pm
View
What are you running?Windows 10? 7? 8?
Codingnow20
13-Aug-18 16:23pm
View
What is the error ur getting??
Codingnow20
8-Aug-18 9:12am
View
I just added the code i have been trying to get the xml text and replace it
Codingnow20
8-Aug-18 9:11am
View
Deleted
I just added the code i have been trying to get the xml text and replace it
Codingnow20
7-Aug-18 16:09pm
View
This helped me think thru the problem better Thanks
Codingnow20
7-Aug-18 13:37pm
View
Is there a property of text box that I'm missing?? Textbox.ID doesn't show as an option
Codingnow20
7-Aug-18 11:44am
View
i tagged it as c#
Codingnow20
1-Aug-18 9:03am
View
the text boxes show on the second form and that was the only way i could figure out how to accomplish this
Codingnow20
1-Aug-18 9:02am
View
im trying to figure this out before i try learning encryption
Codingnow20
28-Jul-18 16:12pm
View
@OriginalGriff i updated my question sorry for the misunderstanding but i will try your code.
Codingnow20
25-Jun-18 11:37am
View
thanx
Show More