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

hotizontal create textbox

Hi,
Iam using below code for creating dynamically textboxes, it will creating only one textbox i want 3 textboxs horizontally how to do?
TableRow tr = new TableRow();
TableCell tc = new TableCell();
tc.Controls.Add(button);
tr.Cells.Add(tc);
ctrlTable.Rows.Add(tr);
Apr 22 '08 #1
1 813
Frinavale
9,735 Expert Mod 8TB
Hi,
Iam using below code for creating dynamically textboxes, it will creating only one textbox i want 3 textboxs horizontally how to do?
TableRow tr = new TableRow();
TableCell tc = new TableCell();
tc.Controls.Add(button);
tr.Cells.Add(tc);
ctrlTable.Rows.Add(tr);
Place your code within a loop that loops 3 times.

-Frinny
Apr 22 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: SamIAm | last post by:
Hi am creating a email application that needs to mail out a very large amount of emails. I have created a multithreaded c# application that using message queuing. I have created a threadpool of 5...
2
by: Jelle van Baardewijk | last post by:
Can anyone tell me how to to create a control instance dynamicly. Example: When I have a string value with the value 'TextBox'. I want to create a TextBox instance. I know that i can do the...
1
by: Mortar | last post by:
Hi, I have a datalist which has a column with data from a database. I would like the column to either show a textbox with the value of the data field, or a button. The contol created would...
1
by: ad | last post by:
I want to creat a 3x2 tables, there a TextBox in each cells. How can I do it programlly ?
3
by: Ranginald | last post by:
Hey, I'm trying to create a simple class to create a textbox, and then instantiate it from a page (so I can resue it across an asp.net app). I've been scratching my head but I can't get this to...
0
by: cscan | last post by:
Hi all, I write 2 controls. (Acutally I simplifed my project here) MyTextBox and MyPanel. MyPanel contains a property which is a collection of MyTextBox. public partial class MyPanel :...
1
by: MaryamSh | last post by:
Hi, I am creating a Dynamic Search in my application. I create a user control and in Page_load event I create a dynamic dropdownlist and 2 dynamic button (Add,Remove) By pressing Add button...
0
by: MaryamSh | last post by:
Create Dynamic Dropdownlist Controls and related event -------------------------------------------------------------------------------- Hi, I am creating a Dynamic Search in my application. I...
7
by: iahamed via WebmasterKB.com | last post by:
Hi all, I need to display records Horizontally, I do not know for some reason this code gives me an error, uses an access db. Microsoft VBScript compilation (0x800A040E) 'loop' without 'do'...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.