SupaFreak2005
New member
- Joined
- Sep 22, 2008
- Messages
- 1
- Programming Experience
- Beginner
I have installed Visual Studio 2008 recently and planned to use it for a project for school, I previously used Visual Studio 2003 but that was 2 years ago, I really have no idea about much in it.. anywhoo
I have to do a website, and its auto parts, I'm trying to do a reservation page at them moment, and I want the form data to send to the database
normally I know with 03 my code would look something like
The thing is I don't know if I'm connecting it properly, because in '03 after I made the connection I could have just right-clicked the connection and generate the dataset. The controls here are different, theres an AccessDataSource which I assume would be my data adapter, but I don't know how to generate the dataset from it or, I don't know if I'm correct in my wording of this, associating the dataset with that connection?
I have no idea how to work it with '08 can somebody please help me?
I have to do a website, and its auto parts, I'm trying to do a reservation page at them moment, and I want the form data to send to the database
normally I know with 03 my code would look something like
VB.NET:
Dim M As DataRow = Datasetname.TableName.NewRow
M("CustomerName") = txtName.Text
M("Email") = txtEmail.Text
M("CustomerNo") = txtPhone.Text
M("PartNo") = txtPart.Text
M("Date") = lblDate.Text
M("HeldUntil") = lblheld.Text
Dataset.Table.Rows.Add(workrow)
DataAdapter.Update(Dataset)
The thing is I don't know if I'm connecting it properly, because in '03 after I made the connection I could have just right-clicked the connection and generate the dataset. The controls here are different, theres an AccessDataSource which I assume would be my data adapter, but I don't know how to generate the dataset from it or, I don't know if I'm correct in my wording of this, associating the dataset with that connection?
I have no idea how to work it with '08 can somebody please help me?