How can I modify this:
if ( reader.GetString( reader.GetOrdinal( "Status" ) ) == "Yes" )
{
return true; // Return Status + Date it was Completed
}
else
{
return false; // Return Status + null Date.
}
To return two values? Currently it returns the column ‘Status’ from the database with the value of Yes or No. How can I have it return the completed date and the status?
1 Answer