Geeks With Blogs

News

Microsoft MVP


Moderator at CodeASP.NET


Quiz Master




free counters
Free counters
Added on January 19,2012


Follow Me @vmsdurano

A bit About Me



Disclaimer
The opinions expressed herein are my own personal opinions and does not represent the opinions of my employers. Nor does it represent the opinion of my dog, because I don’t have one.


Vinz' Blog (ProudMonkey) "Code, Beer and Music ~ my way of being a programmer"

This demo shows how to generate a Table with TextBoxes dynamically based from the number of Columns and Rows entered from the TextBox control and print the values of the dynamically added TextBox on the page. See the screen shot below:


 

To start, let’s declare the following global variables below:

private int numOfRows = 0;
private int numOfColumns = 0;

Here’s the code block for the generating the Tables with TextBoxes.

private void GenerateTable(int colsCount, int rowsCount){

        //Creat the Table and Add it to the Page
        Table table = new Table();
        table.ID = "Table1";
        Page.Form.Controls.Add(table);

        // Now iterate through the table and add your controls 
        for (int i = 0; i < rowsCount; i++){
            TableRow row = new TableRow();
            for (int j = 0; j < colsCount; j++){
                TableCell cell = new TableCell();
                TextBox tb = new TextBox();

                // Set a unique ID for each TextBox added
                tb.ID = "TextBoxRow_" + i + "Col_" + j;
                // Add the control to the TableCell
                cell.Controls.Add(tb);
                // Add the TableCell to the TableRow
                row.Cells.Add(cell);
            }

            // Add the TableRow to the Table
            table.Rows.Add(row);
        }
}

As you can see from above code, we just simply create a blank table and add it to the form and then fill the table with columns and  rows of TextBoxes based from the values of rowsCount and colsCount.

Now let’s call the method above on Page_Load event to recreate the Table when it post backs.

protected void Page_Load(object sender, EventArgs e){
         // the two paramters are declared globally
         GenerateTable(numOfColumns, numOfRows);
}

Now let’s call the method above on Button Click event (Generate Table) and pass the necessary parameters needed, see below code block.

protected void Button1_Click(object sender, EventArgs e){
        //Check if the inputs are numbers
        if (int.TryParse(TextBox1.Text.Trim(), out numOfColumns) && int.TryParse(TextBox2.Text.Trim(), out numOfRows))
        {
            //Generate the Table based from the inputs
            GenerateTable(numOfColumns, numOfRows);

            //Store the current Rows and Columns In ViewState as a reference value when it post backs
            ViewState["cols"] = numOfColumns;
            ViewState["rows"] = numOfRows;
        }
        else
        {
            Response.Write("Values are not numeric!");
        }
}

Since we are done creating our Table with TextBoxes dynamically then we can grab the values entered from the dynamic TextBox using Request.Form method. Here’s the code block below.

protected void Button2_Click(object sender, EventArgs e){
    //Check if ViewState values are null
    if (ViewState["cols"] != null && ViewState["rows"] != null)
    {
        //Find the Table in the page
        Table table = (Table)Page.FindControl("Table1"); 
        if (table != null)
        {
            //Re create the Table with the current rows and columns
            GenerateTable(int.Parse(ViewState["cols"].ToString()), int.Parse(ViewState["rows"].ToString()));

            // Now we can loop through the rows and columns of the Table and get the values from the TextBoxes
            for (int i = 0; i < int.Parse(ViewState["rows"].ToString()) ; i++)
            {
                for (int j = 0; j < int.Parse(ViewState["cols"].ToString()); j++)
                {
                    //Print the values entered
                    if (Request.Form["TextBoxRow_" + i + "Col_" + j] != string.Empty)
                    {
                        Response.Write(Request.Form["TextBoxRow_" + i + "Col_" + j] + "<BR/>");
                    }
                }
            }
        }
    }
}

That’s it! I hope someone find this pot useful!

 

Technorati Tags: ,,
Posted on Tuesday, March 17, 2009 8:17 PM ASP.NET , C# | Back to top


Comments on this post: Dynamically Adding TextBox Control to ASPNET Table

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
super!! cheers to ur beer
Left by bavin on Mar 24, 2009 10:30 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
super!! cheers to ur beer
Left by bavin on Mar 24, 2009 10:30 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Nice Code.
I need more help.
How can i insert value from the textbox generated dynamically under a button.
Please help me.
Left by Biswajit on Apr 26, 2009 6:04 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Hi,

I appreciate the coding provided. It helped me a lot to get through.

But i have a doubt, Can i read text boxes without creation of Table object e.g if i have to create 10 text boxes on each button click event and after creating 10 text boxes, i have to read the values from all the textboxes. How can i do that?

Any suggestion would be highly appreciable.

Thanks in advance.

Good work.

Thanks,
-Vivek Jain
Left by Vivek Jain on Jun 07, 2009 1:57 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Nice post.. Thanks a lot to author... and cheers to viewers!!!!!
Left by vijayanand on Jun 12, 2009 6:50 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
it really helps me a lot.
Thanks!
Left by vista wallpaper on Jun 16, 2009 1:40 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
I am dynamicallly adding fileupload control in the table but in every postback to the page file upload control lost its filename and i cant get that filename.I had three dropdown list control in the page and each one have autopostback property true.So how can i get the filename of that fileupload control.Please help me.
Left by PRATIKSHA on Jun 17, 2009 11:02 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Dynamically Adding TextBox Control to ASPNET Table
very-very Thanks a lot to author...
Left by sanjeev Kumar Singh on Jun 25, 2009 1:58 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Thanks a lot.. nice code..
But what if i want these text boxes at a particular position.. can i fix starting postion ...
Left by Rana on Jun 30, 2009 12:18 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
how to add two dynamically created text
Left by praveen on Aug 02, 2009 4:56 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Great Code
Thanks
Left by Satish on Aug 04, 2009 12:19 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
excellent,its working,thanks
Left by Narayanan on Oct 13, 2009 11:02 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
exactly !!
thank you for this excellent code
Left by jjelv on Oct 30, 2009 12:55 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
hello vinz

how can i send the values which are written in these type of textboxes in the ms sql server data base by dta binding
please send me the code on my mail id

thanks
Left by Saurabh on Dec 23, 2009 6:01 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Hello
i want to add more tables dyanamically on single form please send me code
Left by sarita on Jan 22, 2010 3:09 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Guys,

In order to avoid multiple ID exception you can declare the table in the .aspx page and customize it dynamically from the code.
Left by Cosmin Tomozei on Jan 25, 2010 11:06 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Nice Article. Keep it up!!
Left by Naveen on Feb 04, 2010 7:41 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
hi,

thank you for your article,
but i have a question?
how i can add the value into Database?

also, i try to convert your code to VB.net but it doesn't work.

i like this article that you post it before:
http://geekswithblogs.net/dotNETvinz/archive/2009/06/29/faq-dynamically-adding-rows-in-asp-table-on-button-click.aspx

thanks,
Left by kareem hassan on Feb 16, 2010 8:41 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
how to create a textbox dynamically within a static table
Left by pooja on Feb 18, 2010 6:24 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Thanks.
This is a very useful post...
Left by Hiren on Mar 07, 2010 2:15 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Super Article.

Really Thanx.

Save My Time.

Can u tell me how values in textbox insert into database?

please help me

Left by @niruddha on Mar 08, 2010 3:36 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Hi
You mean insert it to the database in create dynamically table
Left by shailendra on Mar 21, 2010 4:49 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Very nice code ... thanks a lot ... here my code as reference. what i add is dynamic user control..

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim Table1 As System.Web.UI.WebControls.Table
Table1 = New Table
Table1.ID = "Table1"
UpdatePanel1.ContentTemplateContainer.Controls.Add(Table1)

For x = 0 To 2
Dim TableRow1 As System.Web.UI.WebControls.TableRow
TableRow1 = New TableRow
For y = 0 To 2
Dim TableCell1 As System.Web.UI.WebControls.TableCell
TableCell1 = New TableCell

Dim usr1 As uc00
usr1 = New uc00
usr1 = LoadControl("uc00.ascx")
usr1.ID = "usr" & x & y

TableCell1.Controls.Add(usr1)
TableRow1.Controls.Add(TableCell1)
Next
Table1.Rows.Add(TableRow1)
Next
end sub

hope this will help everyone..
Left by ali on Apr 01, 2010 12:24 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
since i add the control inside the updatepanel so the code is like below

UpdatePanel1.ContentTemplateContainer.Controls.Add(Table1)

if you add the code inside the form then you just change it like below

Form1.ContentTemplateContainer.Controls.Add(Table1)
Left by ali on Apr 01, 2010 12:27 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
hi,

thank you for your article,
but i have a question?
i am adding textboxes dynamically to table.here i got a problem .
problem is i want read the textbox values but i am unable to find the controls in my application ,any one help to find the controls

i am adding controls like this

Table table = new Table();
table.ID = "Table1";

pnlSearch.Controls.Add(table);

string nameParm = "";
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
{
TableRow row = new TableRow();
pnlSearch.Controls.Add(new LiteralControl("<BR>"));
for (int k = 0; k < 2; k++)
{
if (i < ds.Tables[0].Rows.Count)
{
TableCell cell = new TableCell();
TableCell cell1 = new TableCell();
Label lbl = new Label();
TextBox tb = new TextBox();
//tb.Text = "tb_" + i.ToString();
tb.ID = "tb_" + i.ToString();
tb.Text = "";
tb.Width = 150;
tb.Height = 20;
tb.MaxLength = Convert.ToInt32(ds.Tables[0].Rows[i]["ParmLength"]);
lbl.Text = ds.Tables[0].Rows[i]["ParmLabel"].ToString();
pnlSearch.Controls.Add(lbl);
pnlSearch.Controls.Add(tb);
cell1.Controls.Add(lbl);
cell.Controls.Add(tb);
row.Cells.Add(cell1);
row.Cells.Add(cell);
ParmLabel"].ToString();
i++;

}
else
{

table.Rows.Add(row);
}
}

i--;
table.Rows.Add(row);
}




i am finding like this
for (int i = 0; i < Rowcount-1 ; i++)
{


string boxName ="tb_" + i.ToString();

TextBox tb = (TextBox)pnlSearch.FindControl(boxName);

}



Left by anjaneya on May 13, 2010 1:42 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Hey very thankful to u.. Helped me lot to find out the dynamically genereated textbox value.. i was trying with control.findcontrol.. Got it now with request.form["'].. Thnks...
Left by Satya on May 19, 2010 7:23 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
it really helps me .
regards
Left by Saeed on Jun 23, 2010 6:42 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Superb! This saves me a lot of time. Thanks a lot.
Left by Razak on Jul 21, 2010 8:41 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
hi,

thank you for your article,
but i have a question?
i am adding textboxes dynamically to table.here i got a problem .
problem is i want read the textbox values but i am unable to find the controls in my application ,any one help to find the controls

i am adding controls like this

Table table = new Table();
table.ID = "Table1";

pnlSearch.Controls.Add(table);

string nameParm = "";
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
{
TableRow row = new TableRow();
pnlSearch.Controls.Add(new LiteralControl("<BR>"));
for (int k = 0; k < 2; k++)
{
if (i < ds.Tables[0].Rows.Count)
{
TableCell cell = new TableCell();
TableCell cell1 = new TableCell();
Label lbl = new Label();
TextBox tb = new TextBox();
//tb.Text = "tb_" + i.ToString();
tb.ID = "tb_" + i.ToString();
tb.Text = "";
tb.Width = 150;
tb.Height = 20;
tb.MaxLength = Convert.ToInt32(ds.Tables[0].Rows[i]["ParmLength"]);
lbl.Text = ds.Tables[0].Rows[i]["ParmLabel"].ToString();
pnlSearch.Controls.Add(lbl);
pnlSearch.Controls.Add(tb);
cell1.Controls.Add(lbl);
cell.Controls.Add(tb);
row.Cells.Add(cell1);
row.Cells.Add(cell);
ParmLabel"].ToString();
i++;

}
else
{

table.Rows.Add(row);
}
}

i--;
table.Rows.Add(row);
}




i am finding like this
for (int i = 0; i < Rowcount-1 ; i++)
{


string boxName ="tb_" + i.ToString();

TextBox tb = (TextBox)pnlSearch.FindControl(boxName);

}

Left by javad on Aug 28, 2010 2:09 PM

# re: Dynamically Adding TextBox Control to ASPNET Table(I hope u reply for this)
Requesting Gravatar...
Thanks for this post, as it solves my purpose exactly,

I have used your code and altered few things for the input values. I need to know how to bind these text-boxes to retrieve value from the sql database as they are created.
Left by Aaditya on Jan 25, 2011 6:28 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
@Aaditya,

You can simple assign the textbox with values during the creation of the control. For example you are using DataTable as your DataSource. You can loop through the DataTable row count and while looping create the TextBox and assign the values to it. After assigning you can then add the TextBox to the table.
Left by Vinz on Jan 25, 2011 4:26 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
hi.
i m just starting the creation of dynamic controls
would you help me to make gridview dynamiclly
and also the dataset through code.
Left by kuldeepak pandey on Apr 29, 2011 4:51 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
@kuldeepak,

Check this link: http://geekswithblogs.net/dotNETvinz/Tags/Dynamic%20Controls/default.aspx
Left by Vinz on Apr 29, 2011 11:29 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Thanks a lot. I think this functionality is hard to achieve by Gridview
Left by Salman on May 08, 2011 4:26 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
very nice code
but i want to insert the record in database by finding each textbox please provide next code
Left by Rushikesh Ghatage on May 24, 2011 2:02 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
@Rushikesh,
Look hare: http://geekswithblogs.net/dotNETvinz/archive/2009/08/02/save-dynamic-textbox-values-from-gridview-to-database.aspx
Left by Vinz on May 24, 2011 5:13 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
For guys who want to go the extra step of grouping dynamic cells in inner cells and arranged neatly on your webpage, you can use this snippet.

<<*.aspx page>>

<asp:PlaceHolder runat="server" ID="plcHolderStats"></asp:PlaceHolder>

<</*.aspx page>>



<>

/// <summary>
/// Renders Stats in a Hierarchical fashion
/// </summary>
private void RenderStatTypes()
{
var lvl1Table = new Table {ID = "tblStatsTypes", CellPadding = 6, CellSpacing = 4};
plcHolderStats.Controls.Add(lvl1Table);

var i = 0;
var lvl1Row = new TableRow();

foreach (var level1Stat in _lookupMgr.GetLevel1Stats())
{
//Show only 4 cells per row
if (i%4 == 0)
{
lvl1Row = new TableRow();
}

var lvl1Cell = new TableCell {VerticalAlign = VerticalAlign.Top, HorizontalAlign = HorizontalAlign.Left};

//Inner Level Controls
var lvl2Table = new Table();
var lvl2Panel = new Panel {GroupingText = level1Stat.Name};

foreach (var level2Stat in level1Stat.Level2Stat)
{
var lvl2Row = new TableRow();

//Define Label
var lvl2Cell1 = new TableCell();
var lbl = new Label {Text = level2Stat.Name + ": "};
lvl2Cell1.Controls.Add(lbl);

//Define TextBox
var lvl2Cell2 = new TableCell();
var txtBox = new TextBox
{
ID = string.Format("txt_{0}_{1}_{2}", level1Stat.Name, level2Stat.Name, i),
Columns = 8,
Text = "0"
};
txtBox.Attributes.Add("onClick", "clearOnZero(this);");
txtBox.Attributes.Add("onBlur", "zeroOnBlur(this);");

//Add DataType Validator
var rev = new RegularExpressionValidator
{
ValidationExpression = @"^(-)?\d+(\.\d\d)?$",
ControlToValidate = txtBox.ClientID,
CssClass = "font_compulsory",
Text = "* (numbers only)",
Display = ValidatorDisplay.Dynamic
};

//Add Controls to Cell
lvl2Cell2.Controls.Add(txtBox);
lvl2Cell2.Controls.Add(rev);

//Add Cells to Rows
lvl2Row.Cells.Add(lvl2Cell1);
lvl2Row.Cells.Add(lvl2Cell2);

lvl2Table.Rows.Add(lvl2Row);
}

lvl2Panel.Controls.Add(lvl2Table);
lvl1Cell.Controls.Add(lvl2Panel);
lvl1Row.Cells.Add(lvl1Cell);

lvl1Table.Rows.Add(lvl1Row);

i++;
}
}


<
>


Cheers,

Kwex
Left by Kwex on Jul 10, 2011 3:21 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
really a grate example thanks...
Left by Saurabh Mahajan on Jul 28, 2011 7:17 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
how can i add two columns dynamically in a table where the data in those columns is equals to the data of 1 column of table saved in data base?
plz help me...its very urgent
Left by alisha on Jul 30, 2011 12:54 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Hey the post is very useful but I want to schieve the same on sharepoint.
Can anyone please provide me with the code to implement the same output on sharepoint.
Left by Sachin on Aug 03, 2011 11:23 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
nice code.........but when we enter the values into that table,those values must stored in data base......plz help me by sending that code....
Left by Srinivas on Sep 05, 2011 6:35 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
The code helps me alot but I have a question.
How to get values from dynamic textbox If I add new values?

Hope you have a solution
cheers
Left by Ibrahim on Sep 26, 2011 5:38 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
hey its nice my friend................ even its printing values.......... so now what i need is the entered values to be inserted into the database once we click the button2....... ok yar please hep me i'm really dying ti finalize the program
Left by manesh on Oct 05, 2011 7:40 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
manesh : to save those values to database add the values to some array first , preferably list<string> and then itrate that list and save the values to database on ur need hope you understand ?
Left by Malik on Oct 27, 2011 1:49 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
can any body tell me that if use this code with a toolkit script manager on the page , then i m UN able to read the text entered by the user , can any one suggest me the solution for that?
Left by Malik on Oct 27, 2011 3:38 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Nice 1 dude nice 1....keep it up......nice work......

You can't even imagine that you have been really helped ..Thanks once again. And keep doing nice work...

God Bless You

MERRY CHRISTMAS & HAPPY NEW YEAR

Left by Sumeet Kumar on Dec 13, 2011 5:38 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Very usefull. Thank you very much!
Left by Alejandro Castillo on Dec 16, 2011 10:52 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Thank you for unshared :)
Left by aLi on Jan 25, 2012 7:36 PM

# Dynamically Adding Table fron textboxes
Requesting Gravatar...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Generate Table</title>
<script type="text/javascript">
function generate()
{
var x = document.getElementById("tb1").value;
var y = document.getElementById("tb2").value;
var tbl = document.getElementById("table1");
var tblbody = document.createElement("tablebody")
var i,j;
for(i = 0 ; i < x ; i++)
{
var row = document.createElement("tr");
for (j = 0 ; j < y ; j++)
{
var cell = document.createElement("td");
var celltext = document.createTextNode("cell is row "+j+",column" +i);
cell.appendChild(celltext);
row.appendChild(cell);
}
tblbody.appendChild(row);
}
tbl.appendChild(tblbody);
body.appendChild(tbl);
tbl.setAttribute("border","1");
}
</script>
</head>
<body>
Row : <input type="text" id="tb1" name="Row"><br/>
Column : <input type="text" id="tb2" name="column"><br/>
<input type="button" id="button1" value="Generate" onclick="generate()">
<table border="1" id="table1">

</table>
</body>
</html>
Left by AkI on Feb 10, 2012 1:56 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Nice Article...Superb...keep going
Left by keka on Feb 22, 2012 8:11 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Superb Its very usefull for starters
Left by praveen kumar thatikonda on Feb 22, 2012 8:12 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
how to validate the dynamically added textboxes?
Left by Kavitha on Mar 06, 2012 3:50 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
hey it is very interesting and useful.
Left by Nandha Kumar on Apr 12, 2012 5:36 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
you are great... thanku so much...
Left by GAURAV VERMA on Apr 25, 2012 11:46 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
you are great... thanku so much...
you are awesome buddy..
Left by GAURAV VERMA on Apr 25, 2012 11:46 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
thanks so much
Left by mabel on May 14, 2012 7:33 PM

# re: Dynamically Adding TextBox Control to ASPNET Table but print value button does not print the value
Requesting Gravatar...
Dynamically Adding TextBox Control to ASPNET Table but print value button does not print the value
Left by sushanta guha on Jun 13, 2012 9:04 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Thanks for example
Left by Maris on Jun 21, 2012 8:53 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
How to add different controls dynamically iterating through a single loop. Like:- What I need is.. all my controls should be generated dynamically based on the object. It could give a list like(textbox, combobox, textbox, calandar, label, combobox).

How to accomplish this???
Left by Divya on Jul 12, 2012 1:43 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
any thought of handling an event of dynamic control created by another dynamic control. Thank you,
Left by Nisa Silva on Jul 14, 2012 3:51 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Hi friend... I tried this example its work very cute...
thanks for upload this example...
Left by Dinny on Sep 10, 2012 9:27 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
this material helping lot for me . thank u very much
Left by somesh.sp on Sep 11, 2012 1:51 AM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
Nice Article
Left by krishna on Oct 07, 2012 11:34 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
@Kwex,

Could you please what could be the code for _lookupMgr.GetLevel1Stats() ?

Thanks in advance !
Left by SamKorda on Oct 14, 2012 3:00 PM

# re: Dynamically Adding TextBox Control to ASPNET Table
Requesting Gravatar...
i want to add this table in my Database table
but when we click on another button than table is going to distroy
please help us
Left by Pradeep on Nov 25, 2012 3:26 AM

comments powered by Disqus

Copyright © Vincent Maverick Durano | Powered by: GeeksWithBlogs.net | Join free