title: Datatable data bind with textbox
body: <p>need to get value from datatable and bind the value to textbox </p>
  
  <pre><code>            DataTable ff = new DataTable();
              DataColumn Regno = new DataColumn("Regno");
              ff.Columns.Add(Regno);
              DataRow row = ff.NewRow();
              var rg = (from data in db.receipts
                        select data.Regno).Max();
  
              row["Regno"] = rg + 1;
              ff.Rows.Add(row);
              txt_reciptno.DataBindings.Add("text", row, "Regno");
  </code></pre>