How to create a Registration /Sign Up form in VB.Net
ฝัง
- เผยแพร่เมื่อ 21 ก.ย. 2024
- Here.. in this video we are doing the registration or sign up form for the person to register for his email id and password with some details.. we are storing data into database. Code given Below.
Try
Dim con As New SqlConnection
Dim cmd As New SqlCommand
Dim dr As SqlDataReader
con.ConnectionString = "Data Source=(LocalDB)\v11.0;AttachDbFilename=c:\users\ved prakash n\documents\visual studio 2012\Projects\FundaProjectVB\FundaProjectVB\FundaProject.mdf;Integrated Security=True"
con.Open()
cmd.Connection = con
cmd.CommandType = CommandType.Text
cmd.CommandText = "select * from register where email='" & email.Text & "' "
dr = cmd.ExecuteReader
If dr.HasRows Then
MsgBox("Email Id Already Registered", MsgBoxStyle.Critical)
con.Close()
Else
con.Close()
con.Open()
cmd = New SqlCommand("INSERT INTO register values('" & fname.Text & "','" & lname.Text & "','" & gender.Text & "','" & phone.Text & "','" & email.Text & "','" & password.Text & "')", con)
If (fname.Text = "" And lname.Text = "" And gender.Text = "" And phone.Text = "" And email.Text = "" And password.Text = "") Then
MessageBox.Show("Please enter the details")
Else
cmd.ExecuteNonQuery()
MsgBox("Succerssfully Registered.", MsgBoxStyle.Information, "Success")
Me.Hide()
login.show()
fname.Clear()
lname.Clear()
gender.Text = " "
phone.Clear()
email.Clear()
password.Clear()
End If
con.Close()
End If
con.Close()
Catch ex As Exception
MsgBox("Error")
End Try
.
Dude you are a life saver. I have been watching a lot of videos about register/login but no one could explain like you just did.SUSCRIBED
big thanks now i have project on our project salute!
Thanks man
You are the boss 🤩🤩🤩🤩
Sir now got successful sir
Big thanks for ur video
Thank you for supporting me. :-)
Please Subscribe, like and share
Thank you so much Sir❤
wonderful video for registration
Can someone please help me fix this error 'an attempt to attach an auto-named database for file" " failed. a database with the same name exists'
Thanks for answering sir
Sir it's my project sir
My topic is visual learning memory game
My frontend: vb. Net
My Backend: my SQL
I need any memory game in vb. Net with codings sir
Why when i run , pop up msg box "Please Enter correct details" ,but i use microsoft access
Thank You!!
Sir it's my project sir
My topic is visual learning memory game
My frontend: vb. Net
My Backend: my self
I need any memory game in vb. Net with codings sir
Sir in this you did show full coding sir please show full coding in registration form Imdetely sir
For this video.. I hv given the full code.. in description..
Plz subscribe, like n share
After i run my program,when i enter all the requirements, the msgbox will display an error.whats wrong
same
when I run the program and click on the register button it shows a popup "error". i.e the exception is handled there how can I fix
Replace the MsgBox("error") into:
MsgBox(ex.Message) to find out whats the problem
Can we drop it in google playstore please reply me sir i want your sir pleass
Hi sir, there is an error when i run. It say SQL Server Error 26
when I run the program and click on the register button it shows a popup "error". i.e the exception is handled there how can I fix . reply me fast its very important.
Replace the MsgBox("error") into:
MsgBox(ex.Message) to find out whats the problem
MY PROJECT is my best to add more informationsend to reistraal system
i cant even add the new item? what i supposed to do?
Please how do I get this and other videos? on my mail or
When trying to test the registration I keep getting error when clicking the button please help sir
Hi! How did you fix this? I keep having the same problem
i'd see solution Explorer and i can't do it
Sir funda, I cant change the 'Identity Specification' into true.
I do it on my Microsoft Visual Studio 10
How you fixed the problem ? I need help please
Sir do visual learning memory game in vb. Net with codings sir please do imdetely sir
What is this ?. Visual learning memory game..!! ..
Am nt able to get u..
Try to give me some example... so I cn understand about ur requirement..
For this form error showing sir
It shows error on dr=cmd.executereader
How can i resolve this?
Please tell me
Are you using WIN7?
im facing the same error what do i do to fix it pls help sir
in the register the enter button Replace the MsgBox("error") into:
MsgBox(ex.Message) to find out whats the problem
6:03 start to do table
Sir why I can't create database
there have a error message
If your visual studio databas is not working means... u can use seperate database.. like sql management studio system.. software for database
Which tool have you used for phone number?
It's show error to me how can I fixed it!!! :(
Replace the MsgBox("error") into:
MsgBox(ex.Message) to find out whats the problem
I need help
Sir this registration form with coding in show in visual Studio 2010 in vb. Net
Imdetily sir please sir
Same codes r used.. 2008, 2010 n 2012 n latest too..
Error occured. Says "Error" from MsgBox("Error"). Cannot accept when I click Register
Replace the MsgBox("error") into:
MsgBox(ex.Message) to find out whats the problem
@@joshuapsalmochavillo708 that was 1year ago.
I even lost the work
9:16 what’s varchar for
Varchar accepts every alphabet number symbol etc...
And about the field validation... I have done it seperately..
it says error on the msgbox how to fix this problem??
Disable the try catch statement.. and thn run the code. N see what is d actual error.
Replace the MsgBox("error") into:
MsgBox(ex.Message) to find out whats the problem
Where is your LOG IN video?????
Sir down coding show sir
Yes... I hv given d code.. down... the video.. u have to click on show more.. in d description .. thn only u cn see it..
Upin ipin
Sir in this you did show full coding sir please show full coding in registration form Imdetely sir
when I run the program and click on the register button it shows a popup "error". i.e the exception is handled there how can I fix
Same
It's show error to me how can I fixed it!!! :(
Replace the MsgBox("error") into:
MsgBox(ex.Message) to find out whats the problem
It's show error to me how can I fixed it!!! :(.
Go inside the code and disable the try catch statement, and then run the code.. and then.. you will come to know.. what is the actual error.
@@fundaofwebit Replace the MsgBox("error") into:
MsgBox(ex.Message) to find out whats the problem
Replace the MsgBox("error") into:
MsgBox(ex.Message) to find out whats the problem