16,022,846 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 Visual Basic questions
View Javascript 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 shivprasads (Top 6 by date)
shivprasads
27-Jun-13 3:29am
View
Alright it was indeed helpful and i revoted it to 4 but actually i would like to say that the solution posted by Radhadeep12 was more apt and so i accepted it as answer.
shivprasads
27-Jun-13 1:53am
View
thanks for the reply,
this was indeed helpful but was a bit tricky to understand and more complex.
anyways thanks again for the efforts
shivprasads
27-Jun-13 1:51am
View
Thanks a lot Radhadeep12 .
That was completely helpful.
Though I kept the initial approach same, using both the string as semi-colon seperated and creating 2 temp tables from them.
using
INSERT #Temptablename(Column)
SELECT CAST(DATA AS INT) from SplitString('30:50:60',':')
From there on it was quite simple to insert them along with some other values to the appropriate table as u had already posted.
Thanks a ton again.
shivprasads
30-May-13 2:22am
View
thanks for the reply.
well that is something I already tried but it gives me an error at runtime that read:
"Misused header name. Make sure request headers are used with HttpRequestMessage, response headers with HttpResponseMessage, and content headers with HttpContent objects."
Alteast "ContentTpe" was being accepted by DefaultRequestHeaders.Add() so I thought it may be more proper way of doing that.
shivprasads
29-May-13 8:32am
View
below is the json string
{"currentPassword":"abcd123","email":"abc@example.com","newPassword":"987qwe"}
there is also one optional field that is not passed here.
or does that also needs to be passed as empty value?
shivprasads
29-May-13 6:49am
View
Ohh!
I was just wondering if I did it wrongly, and yes I did it the same way! Thats right :)
Thanks a lot for the reply.
But now I am getting Content Type specified not supported error. :(
although I have specified the
httpclient1.DefaultRequestHeaders.Add("ContentType", "application/json;");
Show More