none
dataset filter RRS feed

  • Question

  • DataView defaultView = new DataView();
    //this table has three fields...
    defaultView = dsCorrelationsIndices.Tables["CorrelationsIndicesValues"].DefaultView;

    //one row is returned...
    defaultView.RowFilter = dsCorrelationsIndices.Tables["CorrelationsIndicesValues"].Columns["Index1Name"].ColumnName +  " = '" + strIndex1Name + "' AND " + dsCorrelationsIndices.Tables["CorrelationsIndicesValues"].Columns["Index2Name"].ColumnName + " = '" + strIndex1Name + "'";


    I would like to get the value in the third column
    //?????????????????
    string v = how do I get the third value from the filtered dataset??

    Thanks

    Tuesday, May 1, 2007 4:21 PM

All replies