G
Guest
Hi
I wanted to ask a question regarding how i could create a dataset using the the wizard. This is what i have done so far..
1) i have right clicked in the solution explorer in vb.net and selected 'add new item
2) i selected a 'dataset
3) i drag the tables that i require from the server explorer
the question i have is that how do i create a datatable that does not match a table that is currently in my database (server explorer)
i.e if i have 3 tables in my database
Table1 Table2 Table
att1 att4 att
att2 att5 att
att3 att6 att1
att
i want to display table1 exactly how it is so i drag it from my server explorer
I then want my second datatable to be made up of att4, att5, att6, att10
the last table i want all the attributes from table3 and then 2 additional attribute that are just made up. i.e sum of att8 and att9
Can anyone tell me how i would create the last 2 datatables shown above
I know how to do this via code (i just write the appropriate select query and join the relevant tables) but i want to be able to do this via the wizard
thx in advance.
I wanted to ask a question regarding how i could create a dataset using the the wizard. This is what i have done so far..
1) i have right clicked in the solution explorer in vb.net and selected 'add new item
2) i selected a 'dataset
3) i drag the tables that i require from the server explorer
the question i have is that how do i create a datatable that does not match a table that is currently in my database (server explorer)
i.e if i have 3 tables in my database
Table1 Table2 Table
att1 att4 att
att2 att5 att
att3 att6 att1
att
i want to display table1 exactly how it is so i drag it from my server explorer
I then want my second datatable to be made up of att4, att5, att6, att10
the last table i want all the attributes from table3 and then 2 additional attribute that are just made up. i.e sum of att8 and att9
Can anyone tell me how i would create the last 2 datatables shown above
I know how to do this via code (i just write the appropriate select query and join the relevant tables) but i want to be able to do this via the wizard
thx in advance.