Hi:
I have one-to-many relation (customer > invoice > invoice_items) that I
would like to display on web page using Repeater control. Can the control
be bound to a heirarchical dataset to render this kind of data. For each
parent it would display associated children, then move on to next parent,
ect...
Thanks,
Charlie 2 1420
Charlie,
You can nest repeaters which would achieve what you want: http://openmymind.net/databinding/index.html#7
or
you can use a 3rd party component, like Denis Bauer's great
HierarGarid.... but his site has been down for a couple days :( http://www.denisbauer.com/ASPNETCont...ierarGrid.aspx
(he's had hosting problems in the past...)
Karl
--
MY ASP.Net tutorials http://www.openmymind.net/
"Charlie" <cf*******@radi ustravel.com> wrote in message
news:u2******** ********@TK2MSF TNGP09.phx.gbl. .. Hi:
I have one-to-many relation (customer > invoice > invoice_items) that I would like to display on web page using Repeater control. Can the control be bound to a heirarchical dataset to render this kind of data. For each parent it would display associated children, then move on to next parent, ect...
Thanks, Charlie
Thanks- that's very helpful!
Charlie
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:up******** ******@TK2MSFTN GP09.phx.gbl... Charlie, You can nest repeaters which would achieve what you want: http://openmymind.net/databinding/index.html#7
or
you can use a 3rd party component, like Denis Bauer's great HierarGarid.... but his site has been down for a couple days :( http://www.denisbauer.com/ASPNETCont...ierarGrid.aspx
(he's had hosting problems in the past...)
Karl
-- MY ASP.Net tutorials http://www.openmymind.net/
"Charlie" <cf*******@radi ustravel.com> wrote in message news:u2******** ********@TK2MSF TNGP09.phx.gbl. .. Hi:
I have one-to-many relation (customer > invoice > invoice_items) that I would like to display on web page using Repeater control. Can the control be bound to a heirarchical dataset to render this kind of data. For each parent it would display associated children, then move on to next parent, ect...
Thanks, Charlie
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jim French |
last post by:
I have a page that takes a comma delimited string and needs to bind to a
Repeater control. The string is split into an Array, and each value is put
into a DataBase query via a For Each loop. The purpose is to retrieve
address information for the user. Sometimes, the address_fk field in the
people table is null, so there will be no linking address information. In
this case, the section to be displayed asks if the user would like to create...
|
by: Stephen Miller |
last post by:
I am using the OnItemDataBound event of Repeater control to nest a
DataGrid within the Repeater. When I attempt to bind to the DataGrid
using the DataSource method I get the error message "Object reference
not set to an instance of an object". This error message commonly
occurs when a server control is incorrecly declared, so naturally I
have double checked this.
To test this, I moved the aspx code for the DataGrid
('myNestedDataGrid')...
|
by: francois |
last post by:
Hi,
I have a little problem
I am using a stored procedure to retrieve my date.
What I want to achieve is to be able to "skip" some row from the resultset i
retrieve back from the stored procedure. To be clear, when I Bind my
repeater I want to be able to skip some records in my repeater and not
display anything at all for that record. I do some calculation on the data i
retrieve to decide if i will bind that row or not.
|
by: Gastin |
last post by:
I am consuming a web serivce from Amazon.Com. I have the following
class which was autogenerated by VS.NET when I created a Web Reference
to http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl
AmazonWebService.com.amazon.webservices.Item
As you can see from the code snippets below it has public member
variables rather than public Properties. When I use <%#
DataBinder.Eval(Container.DataItem, "ASIN") %> syntax in...
|
by: charliewest |
last post by:
Hello -
I'm using a Repeater control to render information in a very customized
grid-like table. The Repeater control is binded to a DataSet with several
records of information. Within the Repeater control, I've placed
DropDownLists and CheckBoxes.
When the user has updated the information, he/he clicks the submit button
which is outside the scope of the Repeater control.
| |
by: Kent Boogaart |
last post by:
Hi,
I have some hierarchical data (FAQs) that I would like to bind to. The basic
structure is:
FAQ Category
+ Categories
+ FAQs
So an FAQ category has any number of sub-categories and any number of FAQs.
|
by: Jon S via DotNetMonster.com |
last post by:
Hi all
In short, I have a dataset that contains 10 records and the relevant headings.
All I want to do is bind this dataset to a asp.net repeater control. All the
examples I've seen create table cell headings and then map to them headings
like:
<%#DataBinder.Eval(Container.DataItem, "CompanyName")%>,
<%#DataBinder.Eval(Container.DataItem, "ContactName")%></font>
|
by: fernandezr |
last post by:
I would like to use a user control as a template inside a repeater.
Some of the fields in the control should be hidden depending on whether
or not there is data. I'm still a ASP .Net newbie so the way I'm going
about doing this might be a little off. I'd appreciate some help.
Below is the code I have thus far but I'm not sure how to reference the
user control within the foreach loop.
<asp:Panel ID="pnlRosterProfile" runat="Server" />
|
by: Brad Baker |
last post by:
I'm going a little crazy :) I'm trying to bind a repeater control to a
dataset on page load using the following code:
if (Request.QueryString != null)
{
string customerid = Request.QueryString;
//open connection
SqlConnection m_conn = new SqlConnection("Server=server;
Database=database; UId=username; Pwd=password");
|
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...
|
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,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
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...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |