Number looping get row number(01,02,03)
<pre><code>string[] SName = Request.Form.GetValues("Description");
string[] Email = Request.Form.GetValues("Email");
DataTable dtable = dt();
for (int i = 0; i &lt;= SName.Length - 1; i++)
{
    DataRow row1 = dtable.NewRow();
    row1["Description"] = SName[i];
    row1["Email"] = Email[i];
    DAL.DMSS insertdata = new DMSS();
    insertdata.INSERT_DATA(loggeduser.SUBSIDIARY_CD, input, SName[i], Email[i]);
}
</code></pre>

<p>above are my code to get the data from dynamic row add.
if i have 2 rows,data i get is :</p>

<p><a href="https://i.stack.imgur.com/bHPsS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bHPsS.png" alt="enter image description here"></a></p>

<p>now i want to add 1 more data ,sequence number</p>

<p><a href="https://i.stack.imgur.com/iBFty.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iBFty.png" alt="enter image description here"></a></p>

<p>tried this code but not working..</p>

<pre><code>  for (int i = 0; i &lt;= SName.Length - 1; i++)
        {
            if (i.length &lt;2 )
            {
               string strvalue = i.PadLeft(2, '0');
            }
            else
            {
                string strvalue = i;
            }

            DataRow row1 = dtable.NewRow();
            row1["Description"] = SName[i];
            row1["Email"] = Email[i];
            DAL.DMSS insertdata = new DMSS();
            insertdata.INSERT_DATA(loggeduser.SUBSIDIARY_CD, input, SName[i], Email[i], strvalue);
        }
</code></pre>