hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server">
<itemtemplate>
<td>text</td>
</itemtemplate>
</asp:repeater>
<asp:repeater id="repeater2" runat="server">
<itemtemplate>
<td>other text</td>
</itemtemplate>
</asp:repeater>
all i want is for my page to print out all the items of repeater1, then
print out all the values of repeater2. but at the moment, my page is print
out all the values of repeater1, then all the items of repeater2, then it's
doing the entire thing again. :(
thanks in advance 6 1129
You need to specify a table from the data source in each repeater
"suzy" <me@nospam.com> escribió en el mensaje
news:u9**************@TK2MSFTNGP09.phx.gbl... hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server"> <itemtemplate> <td>text</td> </itemtemplate> </asp:repeater>
<asp:repeater id="repeater2" runat="server"> <itemtemplate> <td>other text</td> </itemtemplate> </asp:repeater>
all i want is for my page to print out all the items of repeater1, then print out all the values of repeater2. but at the moment, my page is print out all the values of repeater1, then all the items of repeater2, then
it's doing the entire thing again. :(
thanks in advance
But I have a different dataset for each repeater. And each dataset contains
only 1 table. It's printing the values fine, just the entire thing 2 times
in a row.
"Franco Figun" <fr********@fibertel.com.ar> wrote in message
news:On**************@TK2MSFTNGP09.phx.gbl... You need to specify a table from the data source in each repeater
"suzy" <me@nospam.com> escribió en el mensaje news:u9**************@TK2MSFTNGP09.phx.gbl... hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server"> <itemtemplate> <td>text</td> </itemtemplate> </asp:repeater>
<asp:repeater id="repeater2" runat="server"> <itemtemplate> <td>other text</td> </itemtemplate> </asp:repeater>
all i want is for my page to print out all the items of repeater1, then print out all the values of repeater2. but at the moment, my page is
print out all the values of repeater1, then all the items of repeater2, then it's doing the entire thing again. :(
thanks in advance
Hi suzy,
post the code behind and the aspx snip where you declare the repeaters
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"suzy" <me@nospam.com> wrote in message
news:u9**************@TK2MSFTNGP09.phx.gbl... hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server"> <itemtemplate> <td>text</td> </itemtemplate> </asp:repeater>
<asp:repeater id="repeater2" runat="server"> <itemtemplate> <td>other text</td> </itemtemplate> </asp:repeater>
all i want is for my page to print out all the items of repeater1, then print out all the values of repeater2. but at the moment, my page is print out all the values of repeater1, then all the items of repeater2, then
it's doing the entire thing again. :(
thanks in advance
I dont have the code on me, and it's nothing fancy, but it's something like
this:
protected Repeater repRepeater1;
protected Repeater repRepeater2;
....
....
Page_Load()
{
repRepeater1.DataSource = dt; //this is a single table (data dable)
containing the data i want to display 1st
repRepeater1.DataBind();
repRepeater2.DataSource = dt2; //this is a single table (data dable)
containing the data i want to display 2nd
repRepeater1.DataBind();
}
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:OY**************@tk2msftngp13.phx.gbl... Hi suzy,
post the code behind and the aspx snip where you declare the repeaters
Cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation
"suzy" <me@nospam.com> wrote in message news:u9**************@TK2MSFTNGP09.phx.gbl... hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server"> <itemtemplate> <td>text</td> </itemtemplate> </asp:repeater>
<asp:repeater id="repeater2" runat="server"> <itemtemplate> <td>other text</td> </itemtemplate> </asp:repeater>
all i want is for my page to print out all the items of repeater1, then print out all the values of repeater2. but at the moment, my page is
print out all the values of repeater1, then all the items of repeater2, then it's doing the entire thing again. :(
thanks in advance
The 2nd repeater should be:
repRepeater2.DataBind();
"suzy" <me@nospam.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl... I dont have the code on me, and it's nothing fancy, but it's something
like this:
protected Repeater repRepeater1; protected Repeater repRepeater2; ... ...
Page_Load() { repRepeater1.DataSource = dt; //this is a single table (data dable) containing the data i want to display 1st repRepeater1.DataBind();
repRepeater2.DataSource = dt2; //this is a single table (data dable) containing the data i want to display 2nd repRepeater1.DataBind(); }
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
wrote in message news:OY**************@tk2msftngp13.phx.gbl... Hi suzy,
post the code behind and the aspx snip where you declare the repeaters
Cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation
"suzy" <me@nospam.com> wrote in message news:u9**************@TK2MSFTNGP09.phx.gbl... hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server"> <itemtemplate> <td>text</td> </itemtemplate> </asp:repeater>
<asp:repeater id="repeater2" runat="server"> <itemtemplate> <td>other text</td> </itemtemplate> </asp:repeater>
all i want is for my page to print out all the items of repeater1,
then print out all the values of repeater2. but at the moment, my page is print out all the values of repeater1, then all the items of repeater2, then it's doing the entire thing again. :(
thanks in advance
The 2nd repeater should be:
repRepeater2.DataBind();
Just a typo.
"suzy" <me@nospam.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl... I dont have the code on me, and it's nothing fancy, but it's something
like this:
protected Repeater repRepeater1; protected Repeater repRepeater2; ... ...
Page_Load() { repRepeater1.DataSource = dt; //this is a single table (data dable) containing the data i want to display 1st repRepeater1.DataBind();
repRepeater2.DataSource = dt2; //this is a single table (data dable) containing the data i want to display 2nd repRepeater1.DataBind(); }
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
wrote in message news:OY**************@tk2msftngp13.phx.gbl... Hi suzy,
post the code behind and the aspx snip where you declare the repeaters
Cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation
"suzy" <me@nospam.com> wrote in message news:u9**************@TK2MSFTNGP09.phx.gbl... hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server"> <itemtemplate> <td>text</td> </itemtemplate> </asp:repeater>
<asp:repeater id="repeater2" runat="server"> <itemtemplate> <td>other text</td> </itemtemplate> </asp:repeater>
all i want is for my page to print out all the items of repeater1,
then print out all the values of repeater2. but at the moment, my page is print out all the values of repeater1, then all the items of repeater2, then it's doing the entire thing again. :(
thanks in advance
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: suzy |
last post by:
hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server">
<itemtemplate>
<td>text</td>...
|
by: |
last post by:
Hi, NG!
Is there any updated version (.Net) of the Datarepeater control or do I have
to use the old (VS6.0) version?
Thanks.
pax
|
by: Jan Vetterli |
last post by:
hi,
I'm wondering how I can achieve a button with a CommandArgument thats
dynamicly created from two or more DataBinder values, seperated with a ";"
so I can split the information up afterwards....
|
by: DotNetDev |
last post by:
I have a datarepeater.
<asp:Repeater id="_quiestionsDataRepeater" runat="server"> <ItemTemplate>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<asp:Label id="Label2"...
|
by: =?Utf-8?B?QW1qYWQ=?= |
last post by:
Hi i have datarepeater in which i have textboxes, how to create
txtCustID_TextChanged event in datarepeater like simple textbox its easy
double click it and it create automatically the event but in...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
| |