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
Kingsley Simon
NA
13
7.3k
Searching Database using Dataset in C#
Jan 14 2014 4:20 PM
private void button1_Click(object sender, EventArgs e)
{
TransportSystemDataSetTableAdapters.StaffTableAdapter s1 = new TransportSystemDataSetTableAdapters.StaffTableAdapter();
//search staff table database
//where textbox1.text = staffid nd textbox2.text = staffpswd
// return true;
//else return"invalid";
}
I have this function, and I also have two textbox (textbox1 and textbox2) which is for the ID and Password of a staff.
When staff clicks button, I want to search my database if his record exists and return true or invalid. but I want to do this using the Dataset.
How do I do this?
Thanks
Reply
Answers (
6
)
Inserting Citation and with the corresponding Bibliography i
Running code on Exit with X