473,804 Members | 3,178 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multiple datasources in 1 table

I have a stored procedure that returns statistics based on the
parameter passed to it. I would like to have a table with 4 columns,
(and about 20 rows which is what is returned from the SP). Each column
would be the result a different static parameter passed to the SP.

Now, I could have a table with 4 cols and 1 row, with a different
FormView inside each one that has another table of 1 col and 20 row.
The problem is that the 4 tables could be a different height and
formatting could be a problem.

So is there any other way to have basically 4 datasources populating 1
FormView?

Dec 16 '06 #1
1 1455
Did you use typed dataset?

Sincerely yours,
Michael B. Tkachev.
m_*******@hotma il.com

"Larry Bud" <la**********@y ahoo.comwrote in message
news:11******** **************@ 80g2000cwy.goog legroups.com...
>I have a stored procedure that returns statistics based on the
parameter passed to it. I would like to have a table with 4 columns,
(and about 20 rows which is what is returned from the SP). Each column
would be the result a different static parameter passed to the SP.

Now, I could have a table with 4 cols and 1 row, with a different
FormView inside each one that has another table of 1 col and 20 row.
The problem is that the 4 tables could be a different height and
formatting could be a problem.

So is there any other way to have basically 4 datasources populating 1
FormView?


Dec 19 '06 #2

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

Similar topics

3
16835
by: lee_mcknight | last post by:
I am using Crystal Enterprise V9. I have a report that needs to have multiple datasets as the datasource(s) on a single subreport (some common lookup data I need to join to is stored in a seperate dataset). The report is working fine with a single dataset as a datasource, but I cannot seem to find any examples of multiple datasets as a datasource. Is this possible? ReportDocument.SetDatasource() seems to only take a single dataset,...
0
2805
by: swethasivaram | last post by:
Hi all I am displaying some information from my database using DetailsView which is bound to SqlDataSource1. <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" DataSourceID="SqlDataSource1" ForeColor="#333333" > <asp:SqlDataSource ID="SqlDataSource1" runat="server"
4
1379
by: Morgan | last post by:
Hi - I have a wizard which has about 4 RadioList controls on it, all of which are populated from a data object. As far as best practices go, would it be better to configure a seperate ObjectDataSource for each control, or is there a more efficient method? If so, can you explain the implementation? Thanks!~ -- Morgan Web Developer Portland, Oregon
19
3164
by: cpnet | last post by:
I'm using VS2005, C#, ASP.NET 2.0. I'm trying to create a report using SQL Reporting Services (to be used in local mode so I don't have to deal with SQL Server). When I create a new report in my website, nothing shows up in the Website Data Sources window. I added a few different strongly-typed Datasets to my website, and they don't show up. The only way I could get anything to show up was to create a new class that's derived from a...
4
2016
by: =?Utf-8?B?bXVzb3NkZXY=?= | last post by:
Hi guys Just a general query regarding using the AccessDataSource within a website which uses a MasterPage. The layout of my content page is as follows... <asp:Content ID="Content1" ContentPlaceHolderID="cphContent" Runat="Server"> <h1><asp:Label runat="server" Text='<%# Eval("StoryTitle") %>" ID="lblHeading" />
0
3664
by: c0dergirl | last post by:
This c# program allows you to select multiple items from a listbox. For each selected item, a worksheet is created in the workbook with some information. Right now I create a chart that plots some information from one of the sheets. What I want to do is have a line on the graph for every sheet. I assume I use multiple datasources to do this, but I don't know how to use the SeriesCollection class to accomplish this. Here's my code....
7
15665
by: =?Utf-8?B?TG9zdEluTUQ=?= | last post by:
Hi All :) I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView. True DBGrid has a MultipleLines property that controls whether individual records span multiple lines. Is there an equivalent property for the DataGridView? I have searched, but have not found one. I would like the user to be able to see all the columns of the table on one screen - thus eliminating the need to use the horizontal scroll bar to view...
9
1619
by: alexandis | last post by:
I have a big database, a lot of tables, so I will have a lot of pages where i create a new record. There will be a lot of 'reference' items - let's say 'Create user' -> 'Select user type' <Dropdownlist-Admin, Partner, Client type A, Client type B, Contract (is taken from UserTypes table) Such 'reference' lists (based on 'reference' tables) should be used on several pages, I will have a lot of reference tables. So - what is the best...
1
1690
by: Wingot | last post by:
Hey, I have an application codenamed WingFlex. It has a number of aspects to it, but the prudent parts for this problem are all within the "Client" Schema. The Client schema has three tables in it, on named Country, one named MedicalCondition, and one named Customer. The Customer database has five foreign keys in it, one to Country, one to MedicalCondition, and three as self referential keys to Customer (BillTo, for where the
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10583
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10337
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9160
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6854
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5654
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.