Click here to Skip to main content
15,903,622 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionvbcommenter Pin
Tauseef A9-Apr-08 18:13
Tauseef A9-Apr-08 18:13 
GeneralRe: vbcommenter Pin
Marc Soleda9-Apr-08 20:58
Marc Soleda9-Apr-08 20:58 
GeneralRe: vbcommenter Pin
helelark1239-Apr-08 21:46
helelark1239-Apr-08 21:46 
GeneralRe: vbcommenter Pin
Marc Soleda9-Apr-08 21:48
Marc Soleda9-Apr-08 21:48 
GeneralRe: vbcommenter Pin
helelark1239-Apr-08 22:56
helelark1239-Apr-08 22:56 
GeneralRe: vbcommenter Pin
Marc Soleda12-Apr-08 5:57
Marc Soleda12-Apr-08 5:57 
GeneralRe: vbcommenter [modified] Pin
helelark12312-Apr-08 22:11
helelark12312-Apr-08 22:11 
Questionhelp..urgent ..insert time to database [modified] Pin
Member 44429169-Apr-08 16:46
Member 44429169-Apr-08 16:46 
my question is ragard once user enter their password..the datetimepicker will automatically store into database..

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click<br />
<br />
Dim Emp_IDDataRow As DataRow<br />
Emp_IDDataRow = Comdataset.EMPLOYEE_DETAIL.FindByEmp_ID(txtID.Text)<br />
<br />
If Emp_IDDataRow IsNot Nothing Then<br />
If txtPass.Text = Emp_IDDataRow!Password.ToString Then<br />
MessageBox.Show("Login Successful!", "infor", MessageBoxButtons.OK, MessageBoxIcon.Information)<br />
With Me<br />
if txtPass.text=true then<br />
.LOGIN_OUTTableAdapter.InsertQueryEmp(.Login_DateDateTimePicker.Value)<br />
.LOGIN_OUTTableAdapter.Fill(.Definition_dbDataSet._LOGIN_OUT)<br />
Else<br />
(part below for logout)<br />
.LOGIN_OUTTableAdapter.InsertQueryEmp(.Login_DateDateTimePicker.Value)<br />
.LOGIN_OUTTableAdapter.Fill(.Definition_dbDataSet._LOGIN_OUT) <br />
End If<br />
End With<br />
Form2.Show()<br />
Else<br />
MessageBox.Show("Invalid Password!", "Error", MessageBoxButtons.RetryCancel, MessageBoxIcon.Error)<br />
End If<br />
Else<br />
MessageBox.Show("Invalid ID", "ERROR", MessageBoxButtons.RetryCancel, MessageBoxIcon.Error)<br />
End If

this maybe can show more..thanks
error given me was
Error 2 Argument not specified for parameter 'Emp_ID' of
'Public Overridable Overloads Function InsertQueryEmp(Log_No As String, Emp_ID As String)

modified on Wednesday, April 9, 2008 10:52 PM

GeneralRe: help..urgent ..insert time to database Pin
Christian Graus9-Apr-08 17:35
protectorChristian Graus9-Apr-08 17:35 
GeneralRe: help..urgent ..insert time to database Pin
Member 44429169-Apr-08 18:10
Member 44429169-Apr-08 18:10 
GeneralRe: help..urgent ..insert time to database Pin
Christian Graus9-Apr-08 19:32
protectorChristian Graus9-Apr-08 19:32 
GeneralRe: help..urgent ..insert time to database Pin
Member 44429169-Apr-08 19:52
Member 44429169-Apr-08 19:52 
GeneralRe: help..urgent ..insert time to database Pin
Christian Graus9-Apr-08 19:56
protectorChristian Graus9-Apr-08 19:56 
GeneralRe: help..urgent ..insert time to database [modified] Pin
Member 44429169-Apr-08 20:05
Member 44429169-Apr-08 20:05 
GeneralRe: help..urgent ..insert time to database Pin
Christian Graus9-Apr-08 20:45
protectorChristian Graus9-Apr-08 20:45 
GeneralRe: help..urgent ..insert time to database [modified] Pin
Member 44429169-Apr-08 21:15
Member 44429169-Apr-08 21:15 
GeneralRe: help..urgent ..insert time to database Pin
Christian Graus9-Apr-08 22:19
protectorChristian Graus9-Apr-08 22:19 
GeneralRe: help..urgent ..insert time to database [modified] Pin
Member 44429169-Apr-08 22:36
Member 44429169-Apr-08 22:36 
GeneralRe: help..urgent ..insert time to database Pin
Christian Graus10-Apr-08 0:05
protectorChristian Graus10-Apr-08 0:05 
GeneralRe: help..urgent ..insert time to database Pin
Member 444291610-Apr-08 3:38
Member 444291610-Apr-08 3:38 
GeneralRe: help..urgent ..insert time to database Pin
Christian Graus10-Apr-08 12:54
protectorChristian Graus10-Apr-08 12:54 
QuestionMessageBox stuck in loop Pin
Joe DiNatale9-Apr-08 16:05
Joe DiNatale9-Apr-08 16:05 
GeneralRe: MessageBox stuck in loop Pin
Johan Hakkesteegt9-Apr-08 20:09
Johan Hakkesteegt9-Apr-08 20:09 
GeneralRe: MessageBox stuck in loop Pin
Joe DiNatale10-Apr-08 4:58
Joe DiNatale10-Apr-08 4:58 
GeneralTrying to transfer data with filters. Pin
Dirtyd9-Apr-08 15:53
Dirtyd9-Apr-08 15:53 

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.