15,880,608 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 Angsuman Chakraborty (Top 4 by date)
Angsuman Chakraborty
23-Apr-11 4:20am
View
Its not ajax related issue. Its the Convert.datetime function that needs to be handeled
Angsuman Chakraborty
23-Apr-11 1:49am
View
no. its United States. Date Format is dd/MM/yyyy
Angsuman Chakraborty
6-Mar-11 3:18am
View
myID = RewardXmlDoc.SelectSingleNode("Reward/myID").InnerText;
Hi there Tarun,
Thanks for this good article. It would really help the developers world.
I have an inquire about the .selectsinglenode method.
I have a dataset which writes an xml file using Dataset.Writetoxml() in .Net 4.0;
But the problem is if a particular cell in data table has empty or null value, the writetoxml(); method skips that attribute.
Suppose i have a column in data table , lets call this client_address. some client may not provide their address.
If the client_address is empty, the Write to xml method doesnot write <client_address><client_address>.
This attribute is skipped.
So when i use
myclientAddress = RewardXmlDoc.SelectSingleNode("Reward/Client_Addess").InnerText; it gives me error, since this tag doesn't exists.
my question is how can i determine if this element exists in the xml file.
Angsuman Chakraborty
6-Mar-11 3:16am
View
Deleted
myID = RewardXmlDoc.SelectSingleNode("Reward/myID").InnerText; Hi there Tarun, Thanks for this good article. It would really help the developers world. I have an inquire about the .selectsinglenode method. I have a dataset which writes an xml file using Dataset.Writetoxml() in .Net 4.0; But the problem is if a particular cell in data table has empty or null value, the writetoxml(); method skips that attribute. Suppose i have a column in data table , lets call this client_address. some client may not provide their address. If the client_address is empty, the Write to xml method doesnot write <client_address><client_address>. This attribute is skipped. So when i use myclientAddress = RewardXmlDoc.SelectSingleNode("Reward/Client_Addess").InnerText; it gives me error, since this tag doesn't exists. my question is how can i determine if this element exists in the xml file.