16,004,901 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 .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 Member 14738666 (Top 9 by date)
Member 14738666
27-Feb-20 8:02am
View
public Users GetUserLogin(string UserID, string Password)
{
Users us = new Users();
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["constr"].ToString());
con.Open();
SqlCommand cmd = new SqlCommand("spUserLogin", con);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@UserID", UserID);
cmd.Parameters.AddWithValue("@Password", Password);
SqlDataAdapter da = new SqlDataAdapter(cmd);
con.Close();
DataSet ds = new DataSet();
da.Fill(ds, "tb_Users");
return us;
}
note; this above code I wrote in svc class after that when I run this code I got above error
Member 14738666
27-Feb-20 8:00am
View
[OperationContract]
[WebGet(UriTemplate = "GetUserLogin/{UserID}/{Password}", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Xml)]
Users GetUserLogin(string UserID, string Password);
Note: the above code I wrote in interface
Member 14738666
24-Feb-20 6:30am
View
i want to whether below code is correct or not
Member 14738666
24-Feb-20 6:23am
View
I wrote code like below answer
Member 14738666
8-Feb-20 8:20am
View
Deleted
i want to change above code by using web services enhancements....can anyone help me
Member 14738666
8-Feb-20 8:19am
View
Deleted
sbXML.Append(@"<s:envelope xmlns:s="" http:="" schemas.xmlsoap.org="" soap="" envelope="" ""="" xmlns:type="" uri""="">");
sbXML.Append(MobSOA.CreateRequestHeader());
sbXML.Append("<s:body>");
sbXML.Append("<typ:getbalanceinput>");
sbXML.Append("<typ:msisdn>" + Mob + "");
sbXML.Append("");
sbXML.Append("");
sbXML.Append("");
Member 14738666
8-Feb-20 5:04am
View
currently we are using wcf but we have to change that in wse and I want to consume response by using wse
Member 14738666
8-Feb-20 5:02am
View
I searched in google but I didn't get any answer how can i get response by using wse
Member 14738666
8-Feb-20 4:29am
View
thanks for reply but still we are using wse so I want to write code for getting response by using wse.....
Show More