ADO.NET DataRow problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ronny

    ADO.NET DataRow problem

    I work with ADO.NET but with an open source database named FireBird. Its not
    completely SQLServer compatable so I ask my ADO.NET questions here...

    I encounter a problem in which I can't fetch the value of a column as
    follows. This happen only in the first column IP_ADDRESS which is defined as
    VARCHAR(25) in the table. I gate the following error
    Column 'IP_ADDRESS' does not belong to table NODE_LOCATION
    Can someone help me please?
    Regards
    Ronny

    foreach (DataRow AscendingDataRo w in AscendingDataRo ws)

    {

    string ip_address = (string)Ascendi ngDataRow["IP_ADDRESS "];// causes
    exception : Column 'IP_ADDRESS' does not belong to table NODE_LOCATION

    int BoudRate = (int)AscendingD ataRow["ACTUAL_UPLINK_ BANDWIDTH"];// work fine



Working...