15,893,508 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 Sujeet Pardeshi (Top 12 by date)
Sujeet Pardeshi
3-Jul-12 3:35am
View
ignorant
Sujeet Pardeshi
29-Jun-12 6:36am
View
Did you have any good article to explain what is persistence ignorance in POCO or entity framework????
Sujeet Pardeshi
29-Jun-12 5:53am
View
Thanks for a reply.
It has cleared all my doubts.
Sujeet Pardeshi
6-Apr-12 0:13am
View
Yes the second solution works. Thanks...:):)
Sujeet Pardeshi
13-Jan-12 1:04am
View
Actually we are using Resource.xsd file to check if xml file is valid or not in our code. And today I have found solution.
In order to resolve references to schema file or namespace, we need to use XmlNamespaceManager class.
Here is the detailed code.
XPathDocument doc = new XPathDocument(@"E:\xmls\P_APSB11-21.xml");
XPathNavigator nav = doc.CreateNavigator();
XmlNamespaceManager nsmgr = new XmlNamespaceManager(nav.NameTable);
nsmgr.AddNamespace("ms", "Resource.xsd");
XPathNodeIterator PatchFilesiterator= nav.Select("//ms:PatchFiles",v);
Today I found that, if there is any reference to schema file or namespace then we need to resolve that reference using XmlNamespaceManager class.
Sujeet Pardeshi
12-Jan-12 8:32am
View
Thanks for the reply....
After removing reference its working perfectly fine....:):)
Sujeet Pardeshi
12-Jan-12 6:09am
View
But the mentioned solution is not working for above xml.
Sujeet Pardeshi
12-Jan-12 6:05am
View
Yes its possible using System.Xml namespace. But can we extract data from above xml using XPath using tagnames???????
Sujeet Pardeshi
15-Nov-11 3:02am
View
Thanks for the reply.
It means that calling close() method will going to deallocate memory for object as well. But then which method we should???? close() or dispose()
Sujeet Pardeshi
10-Nov-11 8:06am
View
I have read it already. But still I have confusion. Because in both cases we are communicating via message. and i think messages will be transmitted only once.
Sujeet Pardeshi
5-Oct-11 1:55am
View
I got it.
E.g. base a=new Derived();
in above example even though we are pointing derived class object to the base class, we can access only base class member.
In above case Base can be either abstract class or interface or any some other base class.
Thanks for the reply...:):)
Sujeet Pardeshi
4-Oct-11 9:28am
View
Thanks for the reply.
But in above case we can directly create the object of derived class and performed required computation.
My basic question is, Is there any scenario in which we need to create base class object which point to the derived class object??
Show More