The problem is we don't understand which questions are most pressing. You're here because you don't understand those answers. We can help you with narrow, specific questions about how to accomplish the smaller tasks that, when glued together, will solve your problem. There's no "one true registration process". It's your job to figure out what the other ones mean and how you want to implement them. You sort of have some of those steps completed already. JMC was asking you to think in those terms. It's like declaring, "Now that we have computers, you don't have to learn algebra!" It's dead wrong. This is not a thing anyone is meant to bang out in a weekend, no matter how many articles to the contrary MS writes. And every other page in your application needs at least that much consideration. Logic on the form to relay the results of what the database did to the user.Įach of those is a topic that's had hundreds of threads on this forum alone.Logic that understands whether the database accepted or rejected the request to create a new user.Code the database runs to decide if it's valid to create a new user.Code that can ask the database to create a new user.Client-side validation logic to catch common errors like "that's not an email address".A form that can gather the relevant user information.I can tell you the high level, and it might lead you to ask the kinds of questions we CAN answer.įor basic registration to work, you need: You can't find "hints on how to create online database registration" because it's the kind of problem you have to solve differently every time. The core problem with a lot of "this code doesn't work!" questions is a failure to understand some concept, and we like teaching concepts. We do not generally handle very specific questions like, "How do I write a registration form?" because it sort of boils down to "do my work for me". This is one of those cases where you probably aren't going to get a very good answer. TextBox2.TextAlign = HorizontalAlignment.CenterĮnd ClassYou are just begging for a SQL injection attack. Private Sub TextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox2.TextChanged TextBox1.TextAlign = HorizontalAlignment.Center Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged MySQLConnection.ConnectionString = "server= Port=3306 User ID=**(Wont show you) password=****(Also hidden information ) database=sql11195013"ĭim SqlQuary = "SELECT * From logindb WHERE Username='" & TextBox1.Text & "' AND password = '" & TextBox2.Text & "' " Private Sub LoginClick_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LoginClick.Click I use for test purposes and it works great! Thank you guys, i will apreciate any help. And I also want the register form to where somoene typed the username, that somoene already registered it cant register again. I have the login one, but not a register one. I couldn't find any hints on how can I create an online database register form also. When you go to your phpmyadmin database, you can add an acount and you can go log in to the program ( I use vb.net not c#). So I created an online database login application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |