Click here to Skip to main content
15,886,199 members
Home / Discussions / C#
   

C#

 
JokeRe: How do I create a label thats display the time like a digital clock ? Pin
MarkB7772-Aug-08 22:06
MarkB7772-Aug-08 22:06 
GeneralRe: How do I create a label thats display the time like a digital clock ? Pin
PIEBALDconsult3-Aug-08 3:55
mvePIEBALDconsult3-Aug-08 3:55 
AnswerRe: How do I create a label thats display the time like a digital clock ? Pin
Lim Yuxuan2-Aug-08 21:35
Lim Yuxuan2-Aug-08 21:35 
GeneralRe: How do I create a label thats display the time like a digital clock ? Pin
PIEBALDconsult3-Aug-08 5:39
mvePIEBALDconsult3-Aug-08 5:39 
AnswerRe: How do I create a label thats display the time like a digital clock ? Pin
nelsonpaixao3-Aug-08 14:51
nelsonpaixao3-Aug-08 14:51 
QuestionDataset Posistion change Pin
kindman_nb2-Aug-08 9:01
kindman_nb2-Aug-08 9:01 
AnswerRe: Dataset Posistion change Pin
Paul Conrad2-Aug-08 10:28
professionalPaul Conrad2-Aug-08 10:28 
QuestionVS 2005 Server Explorer [modified] Pin
benjamin yap2-Aug-08 7:00
benjamin yap2-Aug-08 7:00 
Hi, i got a access database which i want to use it for my C# application.

I created a new database connection using the Server Explorer -> Data Connections -> Add Connection, then browse for my database file and test connection. Connection Succeded.

I then right click my project -> Add -> New Item -> Dataset. Then i draw all my tables thru the server explorer into the Dataset.

I have 1 table called Staff. I right click the staffTableAdapter -> Add new Query.

SELECT nric, name, [password], dob, address, tel_mobile, tel_home, catalogueAccess, inventoryAccess, orderAccess, adminAccess, staffAccess FROM staff where nric = ? and password = ?


then I name my method name as "ValidateUser".

problem : inside my LoginForm.cs. For the method

private void btnLogin_Click(object sender, EventArgs e)
{

}


What do i code inside here to call my TableAdaptable method "Validate User"

modified on Saturday, August 2, 2008 1:16 PM

AnswerRe: VS 2005 Server Explorer Pin
Paul Conrad2-Aug-08 8:15
professionalPaul Conrad2-Aug-08 8:15 
GeneralRe: VS 2005 Server Explorer Pin
benjamin yap2-Aug-08 8:19
benjamin yap2-Aug-08 8:19 
GeneralRe: VS 2005 Server Explorer Pin
Paul Conrad2-Aug-08 8:23
professionalPaul Conrad2-Aug-08 8:23 
GeneralRe: VS 2005 Server Explorer Pin
benjamin yap2-Aug-08 8:25
benjamin yap2-Aug-08 8:25 
GeneralRe: VS 2005 Server Explorer Pin
Paul Conrad2-Aug-08 9:38
professionalPaul Conrad2-Aug-08 9:38 
GeneralRe: VS 2005 Server Explorer Pin
benjamin yap2-Aug-08 19:44
benjamin yap2-Aug-08 19:44 
GeneralRe: VS 2005 Server Explorer Pin
Paul Conrad2-Aug-08 19:48
professionalPaul Conrad2-Aug-08 19:48 
GeneralRe: VS 2005 Server Explorer Pin
benjamin yap2-Aug-08 20:06
benjamin yap2-Aug-08 20:06 
GeneralRe: VS 2005 Server Explorer Pin
Paul Conrad2-Aug-08 20:11
professionalPaul Conrad2-Aug-08 20:11 
GeneralRe: VS 2005 Server Explorer [modified] Pin
benjamin yap2-Aug-08 20:25
benjamin yap2-Aug-08 20:25 
GeneralRe: VS 2005 Server Explorer Pin
Paul Conrad2-Aug-08 20:50
professionalPaul Conrad2-Aug-08 20:50 
GeneralRe: VS 2005 Server Explorer Pin
benjamin yap3-Aug-08 2:29
benjamin yap3-Aug-08 2:29 
QuestionThreading, just professionall please... Pin
mr.mohsen2-Aug-08 6:32
mr.mohsen2-Aug-08 6:32 
AnswerRe: Threading, just professionall please... Pin
Mark Salsbery2-Aug-08 7:30
Mark Salsbery2-Aug-08 7:30 
AnswerRe: Threading, just professionall please... Pin
User 66582-Aug-08 7:41
User 66582-Aug-08 7:41 
QuestionDNS issue Pin
George_George2-Aug-08 3:45
George_George2-Aug-08 3:45 
QuestionDownload .css and script files on downloading aspx page [modified] Pin
Medha jha2-Aug-08 1:12
Medha jha2-Aug-08 1:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.