473,386 Members | 1,846 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,386 software developers and data experts.

Retrieve table cell data in a Repeater - How?? Need help!

Hello,

I have a web page where I dynamically create a TABLE with rows and
cells. I fill these cells with application data. As I am building the
cell, I add it to a PlaceHolder, which is a child control of my
repeater. I am also creating table with a column of checkboxes
dynamically. I do not have any problems in determining which checkbox
is checked. However I am having some trouble in retrieve the actual
application data for a particular cell in a particular row. Here's a
screenshot of the trace:

ViewRepeater:_ctl1 System.Web.UI.WebControls.RepeaterItem 717 0
ViewRepeater:_ctl1:_ctl22 System.Web.UI.LiteralControl
151 0
ViewRepeater:_ctl1:ViewItemPlaceHolder
System.Web.UI.WebControls.PlaceHolder 497 0
ViewRepeater:_ctl1:_ctl0
System.Web.UI.HtmlControls.HtmlTableCell 118 0
ViewRepeater:_ctl1:chksel
System.Web.UI.WebControls.CheckBox 107 0
ViewRepeater:_ctl1:_ctl1
System.Web.UI.HtmlControls.HtmlTableCell 11 0
ViewRepeater:_ctl1:lblLoad
System.Web.UI.WebControls.Label 0 36
ViewRepeater:_ctl1:_ctl2
System.Web.UI.HtmlControls.HtmlTableCell 13 0
ViewRepeater:_ctl1:_ctl23
System.Web.UI.LiteralControl 2 0
ViewRepeater:_ctl1:_ctl3
System.Web.UI.HtmlControls.HtmlTableCell 14 0
ViewRepeater:_ctl1:_ctl24
System.Web.UI.LiteralControl 3 0
ViewRepeater:_ctl1:_ctl4
System.Web.UI.HtmlControls.HtmlTableCell 16 0
ViewRepeater:_ctl1:_ctl25
System.Web.UI.LiteralControl 5 0
ViewRepeater:_ctl1:_ctl5
System.Web.UI.HtmlControls.HtmlTableCell 41 0
ViewRepeater:_ctl1:_ctl26
System.Web.UI.LiteralControl 30 0
ViewRepeater:_ctl1:_ctl6
System.Web.UI.HtmlControls.HtmlTableCell 11 0

I guess, I am looking for a way to retrieve the cell content when it is
an HtmlTableCell. As I am looping through the Repeater, how do I
retrieve this?

Thanks in advance!

Sydney

May 4 '06 #1
0 1557

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

Similar topics

2
by: Salvador | last post by:
Hi, This question is related with c# and ASP.NET, (I could't find the rigth forum). What I need to do is to add a usercontrol in a row of my table using the server code (I know how to do it...
8
by: ASP Yaboh | last post by:
I have an ArrayList of data gathered from a database. I want to create a web page from this data by creating a <table>, each cell in each row displays the appropriate data. One of those cells in...
3
by: gg77 | last post by:
Hi, I don't have much knowledge of the table control. I am basically trying to use a table thats populated with data rows from a dataSet but currently things aren't working for me. below is...
1
by: j.t.w | last post by:
Hi. I'm new to ASP.Net and I'm running into a simple problem (I think). I'm trying to get 2 values from 2 separate queries into 2 different variables. I would then like to take the difference...
13
by: kev | last post by:
Hi all, I have created a database for equipments. I have a form to register the equipment meaning filling in all the particulars (ID, serial, type, location etc). I have two buttons at the end...
6
by: Bill | last post by:
Hi All, New to the whole .Net and C# thing but trying. In classic asp this was simple to fill a table with dynamic content and hyperlinks. Here is an example of what I am trying to do in classic...
5
by: Mr Not So Know It All | last post by:
i was able to add the table via the codebehind to the repeater (itemtemplate). the key was to add it to the container. however, now, the data is repeating itself in each row. can someone help me...
0
by: simon | last post by:
hello, relatively new to .net, i'm using vb.net and the 2.0 .net platform I'm trying to display a grid that has a text box on the left in one cell (with a hidden ID), which will be associated...
3
by: NullQwerty | last post by:
Hey folks, I've got a DataGrid that has gotten a little out of control and really slow because of its complexity (bunch of Template Columns too). For performance reasons, I'm looking to change...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
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,...

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.