Reza Taher

Reza Taher

  • NA
  • 3
  • 0

Finding Database Column Name of a bound textbox

Aug 12 2008 6:03 PM

We can bind a textbox to column using this command:

lblCust_ID.DataBindings.Add(new Binding("Text", bsOrder, "CUST_ID", true));

Is there any way to find the database column name after binding it to a textbox. I need to find programmatically that CUST_ID is the name of column which has been bound to lblCust_ID. 


Answers (2)