Textbox function
protectedvoid Page_Load(object sender,EventArgs e)
{
dbManager = (DBManager)Session["DBAgent"];
DataTable table;
table = dbManager.getPurchaseByID("1");
gvReceive.DataSource = table;
gvReceive.DataBind();
int rowCount = gvReceive.Rows.Count;
TextBox a =newTextBox();
TextBox [] txt=newTextBox[rowCount];
for(int i=0;i<rowCount;i++) {
txt
=newTextBox();
Form.Controls.Add(txt
);
}

