<edit by Frinavale>
Removed the quoted .NET article on how to use a database in your program
</edit>
PLS HELP!
I Have been able to do all the above successfully though for my own code(C#), i'm retreiving the parameters from the user's input i.e. a login form. when i run this code it saves nothing to the database and it generates no errors.so i dont know where i've gone wrong.
i put the following code in the onclick eventhandler of the login button but it still doesnt work. can u help me?
[code=cpp]
public void login1_Click(ob ject sender, EventArgs e)
{
addstudentinfo. InsertParameter s["Surname"].DefaultValue =
TextBox1.Text.T oString();
addstudentinfo. InsertParameter s["Names"].DefaultValue
=
TextBox2.Text.T oString();
addstudentinfo. InsertParameter s["Regno"].DefaultValue
=
TextBox3.Text.T oString();
}[/code]
Removed the quoted .NET article on how to use a database in your program
</edit>
PLS HELP!
I Have been able to do all the above successfully though for my own code(C#), i'm retreiving the parameters from the user's input i.e. a login form. when i run this code it saves nothing to the database and it generates no errors.so i dont know where i've gone wrong.
i put the following code in the onclick eventhandler of the login button but it still doesnt work. can u help me?
[code=cpp]
public void login1_Click(ob ject sender, EventArgs e)
{
addstudentinfo. InsertParameter s["Surname"].DefaultValue =
TextBox1.Text.T oString();
addstudentinfo. InsertParameter s["Names"].DefaultValue
=
TextBox2.Text.T oString();
addstudentinfo. InsertParameter s["Regno"].DefaultValue
=
TextBox3.Text.T oString();
}[/code]
Comment