Click here to Skip to main content
16,004,924 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Reapreter control problem Pin
Elina Blank15-Jun-06 3:27
sitebuilderElina Blank15-Jun-06 3:27 
QuestionCount Visitors Pin
TheEagle14-Jun-06 3:26
TheEagle14-Jun-06 3:26 
AnswerRe: Count Visitors Pin
amaneet14-Jun-06 4:04
amaneet14-Jun-06 4:04 
GeneralRe: Count Visitors Pin
TheEagle14-Jun-06 4:15
TheEagle14-Jun-06 4:15 
AnswerRe: Count Visitors Pin
murtaza dhari14-Jun-06 6:37
murtaza dhari14-Jun-06 6:37 
GeneralRe: Count Visitors Pin
TheEagle14-Jun-06 18:26
TheEagle14-Jun-06 18:26 
Questionrename the file in vb.net 1.1 Pin
amaneet14-Jun-06 3:08
amaneet14-Jun-06 3:08 
Questionasp:Table Problem Pin
Brendan Vogt14-Jun-06 3:06
Brendan Vogt14-Jun-06 3:06 
Hi
I have a dropdown list with all the hub groups. When a hub group is selected, it loads and displays all the hubs for that hub group.

In my apsx code I have defined an empty table as follows:
<asp:Table id="tblHubCommRates" BorderWidth="0" Width="100%" runat="server">
</asp:Table>

When the hubs are loaded, I dynamically create the row, the cell, and the textbox. The textbox is called txtHub1, or txtHub7, depending on the hub ID from the database. The can be many hub for a selected hub group. Thus, many rows and may text boxes.

I would like to iterate through these dynamically generated textboxes to get there names, and the values in the textboxes.

When I do the following iteration (on 2 textboxes that were created):
foreach (Control c in this.tblHubCommRates.Controls)
{
Response.Write(c.GetType().ToString() + "<br>");
}

...it prints
System.Web.UI.WebControls.TableRow
System.Web.UI.WebControls.TableRow

I'm assuming the parent control is the table row's cell. But how do get the value of the textboxes in the cells?? Please can someone advise??

Regards,
ma se
AnswerRe: asp:Table Problem Pin
ToddHileHoffer14-Jun-06 4:01
ToddHileHoffer14-Jun-06 4:01 
GeneralRe: asp:Table Problem Pin
Brendan Vogt15-Jun-06 0:20
Brendan Vogt15-Jun-06 0:20 
QuestionHow to Implement Free Text Search in ASP.NET 2.0 Pin
VenkataRamana.Gali14-Jun-06 3:04
VenkataRamana.Gali14-Jun-06 3:04 
Questionsql to xml Pin
ritu432114-Jun-06 2:54
ritu432114-Jun-06 2:54 
AnswerRe: sql to xml Pin
sasidar_d14-Jun-06 3:54
sasidar_d14-Jun-06 3:54 
Questionbitmap class in vb.net [modified] Pin
amaneet14-Jun-06 2:41
amaneet14-Jun-06 2:41 
QuestionConnection Error, I can not solve Pin
Wael Inaim14-Jun-06 2:39
Wael Inaim14-Jun-06 2:39 
AnswerRe: Connection Error, I can not solve [modified] Pin
VenkataRamana.Gali14-Jun-06 3:23
VenkataRamana.Gali14-Jun-06 3:23 
GeneralRe: Connection Error, I can not solve Pin
Wael Inaim14-Jun-06 20:22
Wael Inaim14-Jun-06 20:22 
GeneralRe: Connection Error, I can not solve Pin
Wael Inaim14-Jun-06 21:53
Wael Inaim14-Jun-06 21:53 
QuestionWeb app not closing database connection? [modified] Pin
kbalias14-Jun-06 2:33
kbalias14-Jun-06 2:33 
AnswerRe: Web app not closing database connection? Pin
mnaveed14-Jun-06 4:06
mnaveed14-Jun-06 4:06 
AnswerRe: Web app not closing database connection? Pin
Mircea Grelus14-Jun-06 8:52
Mircea Grelus14-Jun-06 8:52 
Question.net 2.0 framework Pin
fmardani14-Jun-06 1:21
fmardani14-Jun-06 1:21 
AnswerRe: .net 2.0 framework Pin
Paddy Boyd14-Jun-06 1:28
Paddy Boyd14-Jun-06 1:28 
AnswerRe: .net 2.0 framework Pin
mnaveed14-Jun-06 3:35
mnaveed14-Jun-06 3:35 
Questiondownloading a file Pin
murari_amar14-Jun-06 1:01
murari_amar14-Jun-06 1:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.