Ok, let's say I have a web form with two textboxes.
Let's also say I want to enter my first and last name into them.
How would I bind these textboxes in a Visual Studio 2005
webforms ASP website ? What would I do to insert FirstName
and LastName into a table called names from a textbox ?

So the file people.mdf has one table called names.
names contains two fields FirstName and LastName which are
of type string.

Thanks :-)

Re: sqlDataSource and textboxes, database, etc by ineedyourluvin1

ineedyourluvin1
Wed Nov 30 06:17:00 CST 2005



Ok I really need help . In order to make things easier,
I'll show you what I'm trying to accomplish. This is the
website I'm stuck on because I cannot sign anyone up due
to the issue stated above about assigning strings from textboxes
to fields in a table . My table is called users.mdf which has
the usual items such as firstname , lastname, email, username,
password, etc.....
Take a look at http://www.vbcontrols.net and click the signup link and
you will see what I'm talking about. Also I need to compare the
user and password entries in the textboxes with those in the users.mdf
database . Please help and thanks in advance :-)

----regards