Click here to Skip to main content
15,912,578 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: please help me which this code Pin
enjoycrack8-Apr-07 3:35
enjoycrack8-Apr-07 3:35 
GeneralRe: please help me which this code Pin
Guffa8-Apr-07 7:58
Guffa8-Apr-07 7:58 
QuestionPlz help me wiht autocomplete. Pin
sdklfjlkdsfjdklsfjkdslfjdslkf8-Apr-07 1:55
sdklfjlkdsfjdklsfjkdslfjdslkf8-Apr-07 1:55 
AnswerRe: Plz help me wiht autocomplete. Pin
Sathesh Sakthivel8-Apr-07 2:07
Sathesh Sakthivel8-Apr-07 2:07 
QuestionPlz help me. Pin
sdklfjlkdsfjdklsfjkdslfjdslkf8-Apr-07 1:55
sdklfjlkdsfjdklsfjkdslfjdslkf8-Apr-07 1:55 
AnswerRe: Plz help me. Pin
Sathesh Sakthivel8-Apr-07 2:11
Sathesh Sakthivel8-Apr-07 2:11 
AnswerRe: Plz help me. Pin
enjoycrack8-Apr-07 3:38
enjoycrack8-Apr-07 3:38 
Questionplease help me with this error Pin
Oga M8-Apr-07 0:26
Oga M8-Apr-07 0:26 
This is the Error
************
Error 2 Argument not specified for parameter 'ConPassword' of 'Public Sub addNewAdmin(Email As String, IDNumber As String, Title As String, Surname As String, Name As String, Occupation As String, Cell As String, Telephone As String, Password As String, ConPassword As String)'. C:\FinalTimeSheet\UserAdmin.aspx.vb 9 C:\FinalTimeSheet\
*********
This is my code
***********
Public Sub addNewAdmin(ByVal Email As String, ByVal IDNumber As String, ByVal Title As String, ByVal Surname As String, ByVal Name As String, ByVal Occupation As String, ByVal Cell As String, ByVal Telephone As String, ByVal Password As String, ByVal ConPassword As String)
Dim Sql As String
Dim obj As Datalayer.Database = New Datalayer.Database
Sql = "insert into UserAdministration (E_mail,Id_Number,Title,Surname,Name,Occupation,Mobile_Number,Telephone,Password,Confirm_Password)" & _
" Values('" & Email & "','" & IDNumber & "','" & Title & "','" & Surname & "','" & Name & "', '" & Occupation & "', '" & Cell & "','" & Telephone & "','" & Password & "','" & ConPassword & "')"
obj.Execute(Sql)

End Sub
*************
Protected Sub btnSave_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSave.Click
Dim ds As New Data.DataSet
Dim Obj As Businesslayer.TimeSheet = New Businesslayer.TimeSheet
Obj.addNewAdmin(txtEmail.Text, txtIdNumber.Text, txtTitle.Text, txtSurname.Text, txtOccupation.Text, txtCell.Text, txtTelephone.Text, txtPassword.Text, txtConPassword.Text)
If txtPassword.Text <> txtConPassword.Text Then
MsgBox("Passwords do not match")
txtPassword.Focus()
Exit Sub
Else
SaveData()
End If
End Sub
*************



oga m
AnswerRe: please help me with this error Pin
Oga M8-Apr-07 1:13
Oga M8-Apr-07 1:13 
AnswerRe: please help me with this error Pin
Guffa8-Apr-07 8:00
Guffa8-Apr-07 8:00 
Questiondownload Pin
hajixet8-Apr-07 0:16
hajixet8-Apr-07 0:16 
AnswerRe: download Pin
enjoycrack8-Apr-07 0:21
enjoycrack8-Apr-07 0:21 
QuestionHow to create subdomain ? Pin
amin_behzadi7-Apr-07 23:46
professionalamin_behzadi7-Apr-07 23:46 
AnswerRe: How to create subdomain ? Pin
enjoycrack8-Apr-07 0:23
enjoycrack8-Apr-07 0:23 
Questionhow can rename a table in sql server 2000 (with tsql in query analyzer)? Pin
B.A7-Apr-07 20:54
B.A7-Apr-07 20:54 
AnswerRe: how can rename a table in sql server 2000 (with tsql in query analyzer)? Pin
Kunal P7-Apr-07 21:11
Kunal P7-Apr-07 21:11 
AnswerRe: how can rename a table in sql server 2000 (with tsql in query analyzer)? Pin
B.A7-Apr-07 22:38
B.A7-Apr-07 22:38 
QuestionTreeview problems with childnodes depth Pin
simsen7-Apr-07 20:43
simsen7-Apr-07 20:43 
QuestionSession Problem.. (Back Button) Pin
Kunal P7-Apr-07 19:41
Kunal P7-Apr-07 19:41 
AnswerRe: Session Problem.. (Back Button) Pin
_mubashir8-Apr-07 2:59
_mubashir8-Apr-07 2:59 
GeneralRe: Session Problem.. (Back Button) Pin
Kunal P9-Apr-07 18:19
Kunal P9-Apr-07 18:19 
AnswerRe: Session Problem.. (Back Button) Pin
Venkatesh Mookkan8-Apr-07 18:50
Venkatesh Mookkan8-Apr-07 18:50 
Questiontcp/ip port listening Pin
Harikrk7-Apr-07 19:03
Harikrk7-Apr-07 19:03 
QuestionControl/Access Local Web Service(SOAP) from C# Desktop Application [modified] Pin
oolatin797-Apr-07 14:28
oolatin797-Apr-07 14:28 
QuestionHow to send variable from aspx.cs page to aspx page Pin
mani_iips7-Apr-07 5:10
mani_iips7-Apr-07 5:10 

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.