TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rachayita jaiswal
NA
217
106.2k
Login Page in WCF
Aug 20 2013 5:12 AM
Hi,i am able to get data in grid view from database in WCF but want to create Login Page using WCF. I have searched on google, i am not getting please tell me how to create?I am new in WCF.
i have create service as -
[OperationContract]
DataSet SelectUserDetails(string userid1, string password1);
public DataSet SelectUserDetails(string userid1, string password1)
{
using (SqlConnection con = new SqlConnection(strConnection))
{
con.Open();
SqlCommand cmd = new SqlCommand("SELECT UserId,Password FROM M_Users", con);
SqlDataAdapter sda = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
sda.Fill(ds);
cmd.ExecuteNonQuery();
con.Close();
return ds;
}
}
how to call this and userid and password credentials on button click event???
protected void btnsubmit_Click(object sender, EventArgs e)
{
}
Reply
Answers (
7
)
How to learn WCF & WPF?
svsutil.exe - Entry Point Not Found In WCF