accessing a textbox that was created dynamically?
for (int i = 0; i < t1; i++)
{
TextBox t2 = new TextBox();
t2.ID = "adf" + i;
PlaceHolder1.Controls.Add(t2);
}
accessing data entered in the above created controls.
Answer / joy ghosh
for (int i = 0; i < t1; i++)
{
TextBox t2 =(TextBox) PlaceHolder1.FindControl("adf" + i);
string str=t2.Text;
}
| Is This Answer Correct ? | 0 Yes | 1 No |
How to execute a stored procedure.and how to call it form a asp page
Explain the role of global.asax?
What is the file through which you can customize your asp.net application?
What r the page life cycle in asp.net page?
Describe SOA and the tenets of it?
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
can i use two web.config files of ConnectionString in One Default.aspx page
6 Answers Satyam, Verinon Technology Solutions, Wipro,
How does a content page different from a master page?
How would you implement inheritance using c#?
What are server-side comments in ASP.NET?
What are the various security methods which IIS Provides apart from .NET ?
What are three ways that you can use a compare validator?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)