Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Bunty
(129)
Murali
(88)
SweetGhost
(80)
Last 7 Days
amarababu nara...
(1208)
Arun Jacob
(1204)
Pradeep Y
(1170)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
To Rekha......
Posted Date:
02 Sep 2008
Total Responses:
1
Posted By:
sathish
Member Level:
Silver
Points
: 1
Hi
Thanks for your replay,But in your code you use the count++,Where I havo to declare this....what is the purpose of this....Please tell where I initialize count...
use a placeholder control to do this.
and on the button click event. give this code.
TextBox txt = new TextBox();
int j = Convert.ToInt32(Button1.CommandArgument);//Here I am getting System.FormatException: Input string was not in a correct format.
for (int i = 0; i <= j ; i++)
{
txt.Text = Convert.ToString(i);
PlaceHolder1.Controls.Add(txt);
txt = new TextBox();
count++;
Button1.CommandArgument = Convert.ToString(count);
}
}
Responses
Author:
Rekha
02 Sep 2008
Member Level:
Gold
Rating:
Points
: 2
i have taken count as the global variable ..
code is added in the button event handler... so it works for me
Post Reply
You must
Sign In
to post a response.
Next :
error in javascript
Previous :
checkbox
Return to Discussion Forum
Post New Message
Category:
ASP.NET
Related Messages
Validation Controls
no of click on advertisement in asp.net application
Please Please help.................. tooo urgent
Please tell me .Net interview Questions for 2+ Years Exp
To upload Documents like(doc,pdf,etc) to file system
dotNet Slackers
BizTalk Adaptors
Web Design
conference call
Contact Us
Privacy Policy
Terms Of Use