i have a html table and column name ID | Name | F/H Name | Action
i want to write a string for ID column on auto increament in html table avoiding sql table identity.
code is blewo -
//cnn
private void Autoincreament_No(object sender, EventArgs e)
{
string Row = "";
for (int i = 1; i <= 5; i++)
{
Row += i.ToString("00000") + System.Environment.NewLine;
}
}
int sn = // to be write code here
string name= rdr[1].ToString();
string fhname= rdr[2].ToString();
string fhname=string.format("<a href = 'newpage.aspx'> ");