hotizontal create textbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ganesh22
    Banned
    New Member
    • Sep 2007
    • 81

    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);
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Originally posted by ganesh22
    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

    Comment

    Working...