Questions tagged [datarepeater]

The Repeater control is used to display a repeated list of items that are bound to the control.

The Repeater control may be bound to a database table, an XML file, or another list of items.

Available for trough Visual Basic Power Packs (since version 3.0).


Also see for version of repeater.

127 questions
11
votes
4 answers

ASP.NET: How to access repeater generated form input elements?

i'm want to have a repeater generate a bunch of checkboxes, e.g.: stackoverflow.com
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
4
votes
1 answer

VB.NET Repeater Simple Data Binding Without Datasource

I've got a form that has to be a repeater on a webpage. I have a number parameter that tells me how many additional customer details are to be added. In this page I have a repeater control that needs to repeat items a set number of times. For each…
Mark
4
votes
3 answers

How can I format numbers or strings in a DataRepeater?

Tech: .NET, SQL Server 2008 R2, Winforms Ok, for the life of me, I cannot figure this out. First and foremost, I'm using a DataTable to store the data, which is coming from an SQL server 2008 database, and I'm binding it to a DataRepeater. I've…
Christian
  • 503
  • 3
  • 7
  • 21
4
votes
2 answers

Moving through datarepeater's items

Is there any way to move through datarepeater's items through code, as we run loop and move through the items in a list / combo box? Thanks Furqan
Furqan Sehgal
  • 4,917
  • 33
  • 108
  • 167
4
votes
1 answer

Remove DataRepeater Control bottom line in Winforms

how can I remove the bottom border line of data control item in DataRepeater control:
3
votes
1 answer

c# - best way to iterate through all rows in a datarepeater?

private void exam_Load(object sender, EventArgs e) { GetCount(); MySqlConnection con = new MySqlConnection("server = localhost; user id = root; password =; database = dbtest1;"); MySqlCommand cmd = new…
ItaChi
  • 27
  • 4
3
votes
1 answer

How do I do conditional logic within an ASP.NET DataRepeater control?

I'm binding my DataRepeater control to a table that has many columns. I'd like to only display a subset of those, depending on what is populated. How/where should I do my contitional tests within a dataRepeater? This is the code within my…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
3
votes
5 answers

How to dynamically bind asp.net repeater control to datasource

I have a page with a simple dropdown and repeater control in page.on submit repeater control is bound to datasource1 which has 3 columns. Now my requirement is if i select option2 , it should bind to datasource2 which contains 4 columns.…
NewtonCode
  • 1,322
  • 5
  • 14
  • 25
3
votes
2 answers

vb.net. How do I bind dataset to DataRepeater?

I am looking for a vb.net example of how to bind a dataset/datatable to data repeater and have the data elements bound to the columns of the dataset/datatable? Thanks
Linda
  • 233
  • 2
  • 3
  • 6
3
votes
2 answers

Creating a subform within a main form

I'm trying to mimic an access form where I have a subform embedded within a main form. The subform will be populated by a query based on the main form id. When the record changes the subform data will change. Is this possible to do in c#? I…
Jerry Warra
  • 304
  • 1
  • 4
  • 20
3
votes
1 answer

Datarepeater with embedded datagridview's changing tables

I have a datarepeater, with a datagridview in each row of the datarepeater. When I add data to the first datagridview and the second, I get this - Then, if I was to scroll down to a datarepeater row further down the page, then scroll to the top,…
dynamicuser
  • 1,522
  • 3
  • 24
  • 52
3
votes
2 answers

DataRepeater Control WinForms remove dotted line

I have a DataRepeater control in a WinForms application. The question is simple: how can I get rid of the dotted line that always appears when an item is selected?
Joel
  • 7,401
  • 4
  • 52
  • 58
3
votes
1 answer

ComboBox On DataRepeater Control Shares Selected Index

I have a data repeater with each row using a combobox. When you click the Add button it adds a new row to the DataRepeater. public enum ColorTypes {Red, Green, Yellow} class LineItem { public ColorTypes Color {get;set;} } When…
cgatian
  • 22,047
  • 9
  • 56
  • 76
2
votes
5 answers

ASP.NET Change Dropdown Control ID Inside Repeater Item Dynamically

Can someone tell me how I can get this to work. I want to distinguish dropdown controls inside a repeater control. I understand now about the lifecyle and how the buffer is already writen, but what are my alternatives? Here is what happens Code…
Mark
2
votes
2 answers

Vue ignore data repetition

I am new on Vue and trying to remove data repetition from my array objects. VIEW

Programming Classes Time

{{todo.time}}

/** Is there a way to display 7:00 PM only once and under…
Yahoo
  • 558
  • 11
  • 34
1
2 3
8 9