15,902,635 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 Muhammad Islam Manzoor (Top 11 by date)
Muhammad Islam Manzoor
17-Feb-17 2:32am
View
Any updates?
Muhammad Islam Manzoor
16-Feb-17 6:56am
View
For the link provided by you its only for one column reading. i need to read the data from two columns and from multiple rows i mean to say the combination of username and password from two column and after that shifting towards next combination that is a new row after that i would like to store them in separate variables.
Muhammad Islam Manzoor
24-May-16 0:37am
View
Thank it works.
Muhammad Islam Manzoor
24-May-16 0:37am
View
Thanks it works.
Muhammad Islam Manzoor
23-May-16 6:32am
View
That did not worked. I am still not able to read and write from CDATA. I have tried below. But i am getting error message for childnode.
string strPath = @"E:/Test/ReadXMLfromFile/GETCIL_Response.xml";
XmlDocument doc = new XmlDocument();
doc.Load(strPath);
XmlNodeList node = doc.SelectNodes("//param_list[@name=\"SegmentName\"]/value");
if (childNode is XmlCDataSection)
{
XmlCDataSection cdataSection = childNode as XmlCDataSection;
Console.WriteLine(cdataSection.Value);
}
Console.ReadLine();
Muhammad Islam Manzoor
20-May-16 3:15am
View
yes.
Muhammad Islam Manzoor
20-May-16 3:15am
View
how to write the data after reading from cdata i have no idea.
Muhammad Islam Manzoor
20-May-16 2:03am
View
Hi, There can be one or more values in this section. But currently there are only two (EGEN BIL & MINIVAN). I need all values.
Muhammad Islam Manzoor
3-May-16 8:54am
View
thanks for reply.Means i have to post one more question.
Muhammad Islam Manzoor
3-May-16 5:20am
View
hi, Actually your answer was right for i have asked before. But i have some more queries, if you like to help. I am getting error for below mentioned query.
Begin
Declare @AllotratehoursId int
Declare @Tariffid nvarchar(50)
Declare @TariffType int
IF NOT EXISTS(
Select @AllotratehoursId = allotRateHour.Id
,Select @Tariffid = (id FROM [dbo].[tblACCTSPContractTariff] where TariffName='MPS_FLAT_MINIVAN_247' and ContractDetailId=1021)
,Select @TariffType = (TariffType FROM [dbo].[tblACCTSPContractTariff] where TariffName='MPS_FLAT_MINIVAN_247' and ContractDetailId=1021)
from tblCONTAllotInventory allot
join tblCONTSPRateHour allotRateHour on allot.Id=allotRateHour.AllotInventoryId
--join tblCONTSPRateHourTariff rateHourTariff on allotRateHour.id=rateHourTariff.RateHourId
join [tblCONTAllotInventSegment] allotSeg on allot.Id=allotSeg.AllotInventoryId
join tblSYSASegment seg on allotSeg.SegmentId=seg.Id
join tblCONTServiceProperty prop on allot.SPropertyId=prop.Id
join tblCONTServiceProvider sp on sp.Id=prop.SPId
where seg.Name='STORBIL-MPS' and sp.ContractId in (1021) and seg.SegmentId='SWE001S02'--)
Begin
insert into tblCONTSPRateHourTariff (RateHourId, TariffId, Type)
values ( @AllotratehoursId,@Tariffid,@TariffType)
End
End
But i am getting errors while executing above.
Msg 102, Level 15, State 1, Line 10
Incorrect syntax near '='.
Msg 156, Level 15, State 1, Line 11
Incorrect syntax near the keyword 'from'.
Msg 156, Level 15, State 1, Line 12
Incorrect syntax near the keyword 'from'.
Please help and thanks in advance.
Muhammad Islam Manzoor
2-May-16 9:01am
View
Hi,
I Want to store the resultant values in some variable for 1. allotRateHour.Id (Used in select) 2. id (Used in 2nd Select) 3. TariffType (Used in 3rd select) parameters and than want to insert into the table "tblCONTSPRateHourTariff" where i have table columns as (RateHourId, TariffId, Type) after checking the resultant values stored in variable if the values exist in table or not under (RateHourId, TariffId, Type) columns.
Please suggest how to do it?
Show More