473,326 Members | 2,095 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Datasets, Dataviews and Webpages.

Hello,

I have 2 web pages, page1 and page2

On page one, I have a dataadapter (daTracks) that fills a
dataset(dsTracks)

1)I want to create a Dataview on page2 with the information of the
dataset dsTracks.

How do I pass a dataset from one page to the other? A hidden field
for a dataset?

2) I want to create a select criteria that will be passed to the 2nd
page and displayed in the Dataview. So the user has a find option.
The can choose from a bunch of columns in a drop down list - let say
the choose 'Author'. I want to pass author to web page 2, create a
select statement that will show all the authors from the dataset
dsTracks in a Dataview.
So I need to pass the choice 'authors' and do a 'select authors from
dgTracks' and display it in the dataview.

How can I do this - code examples or suggestions?

Thanks,

Tmuld.
Jul 19 '05 #1
2 1804
Hi,

I am fairly new at this, so, I may not be completely
correct, however, as I understand it, the dataset could be
stored as a session variable...so it could be read by all
the pages.

my 2 Cents

Phil Lamey
-----Original Message-----
Hello,

I have 2 web pages, page1 and page2

On page one, I have a dataadapter (daTracks) that fills a
dataset(dsTracks)

1)I want to create a Dataview on page2 with the information of thedataset dsTracks.

How do I pass a dataset from one page to the other? A hidden fieldfor a dataset?

2) I want to create a select criteria that will be passed to the 2ndpage and displayed in the Dataview. So the user has a find option.The can choose from a bunch of columns in a drop down list - let saythe choose 'Author'. I want to pass author to web page 2, create aselect statement that will show all the authors from the datasetdsTracks in a Dataview.
So I need to pass the choice 'authors' and do a 'select authors fromdgTracks' and display it in the dataview.

How can I do this - code examples or suggestions?

Thanks,

Tmuld.
.

Jul 19 '05 #2
Hi

Storing in a session is a good option but there will be a
performance hit if number of users increases

so u can store it in the cache

-----Original Message-----
Hi,

I am fairly new at this, so, I may not be completely
correct, however, as I understand it, the dataset could bestored as a session variable...so it could be read by all
the pages.

my 2 Cents

Phil Lamey
-----Original Message-----
Hello,

I have 2 web pages, page1 and page2

On page one, I have a dataadapter (daTracks) that fills a
dataset(dsTracks)

1)I want to create a Dataview on page2 with the

information of the
dataset dsTracks.

How do I pass a dataset from one page to the other? A

hidden field
for a dataset?

2) I want to create a select criteria that will be

passed to the 2nd
page and displayed in the Dataview. So the user has a

find option.
The can choose from a bunch of columns in a drop down

list - let say
the choose 'Author'. I want to pass author to web page

2, create a
select statement that will show all the authors from the

dataset
dsTracks in a Dataview.
So I need to pass the choice 'authors' and do a 'select

authors from
dgTracks' and display it in the dataview.

How can I do this - code examples or suggestions?

Thanks,

Tmuld.
.

.

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

45
by: cody | last post by:
I've seen an Introduction on ADO.NET with its Datasets on .NET TV and Iam now wondering how it is realized/used in real world applications. I don't believe that one would create a dataset and add...
3
by: softengine | last post by:
Can and how do you alter a data view to include a look up field from another data table? The data table of the dataview only has the key, the value I need is in another data table. Can and how...
2
by: Pablo | last post by:
Hi people, Necesito crear n dataviews en tiempo de ejecucion. I need to create "n" DataViews in runtime. I tried creating an array this way: Dim LDView As Array =...
19
by: Will Lastname | last post by:
In one of the applications that I'm working on I have 2 sets of functions that build different datasets. Imagine 4 columns in a datagrid. Inside those 4 columns I have nested datalists. Two of...
12
by: scsharma | last post by:
Hi, I am working on creating a webapplication and my design calls for creating main webform which will have menu bar on left hand side and a IFrame which will contain all the forms that are shown...
0
by: garethdjames | last post by:
For scalability we wish to use disconnected DataSets and hold them in the application cache. This means that multiple concurrent users will be reading the data (its read only) The DataSet is...
4
by: Bernie Hunt | last post by:
I currently have a datagrid that I'm feeding with a DataSet, which contains three tables. I would like to use a DataView to format the DataTables but I'm not sure how to go about this. Currently...
5
by: Anil Gupte | last post by:
How can I manipulate Datasets, such as getting a specific row based on a key column value. Of course, I could loop through all the rows in the entire dataset each time I needed something, but is...
12
by: BillE | last post by:
I'm trying to decide if it is better to use typed datasets or business objects, so I would appreciate any thoughts from someone with more experience. When I use a business object to populate a...
0
by: kevin.jennings | last post by:
Hi! I'm an "old-school" programmer used to dealing with data one record at a time (using old RPG code like 'chain' and 'read' statements). I'm not used to dealing with huge chunks of data at one...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.