#region Get Basin
public DataTable GetRiver()
{
try
{
_dtRiverList = new DataTable("_dtRiverList");
DataTable dt = objRModelingDAL.GetRiverList();
_dtRiverList = dt.Clone();
for (int i = 0; i < dt.Rows.Count; i++)
{
if (
(Convert.ToInt32(dt.Rows[i]["river_id"]) == 8) || (Convert.ToInt32(dt.Rows[i]["river_id"]) == 9) ||
(Convert.ToInt32(dt.Rows[i]["river_id"]) == 20) || (Convert.ToInt32(dt.Rows[i]["river_id"]) == 25) ||
(Convert.ToInt32(dt.Rows[i]["river_id"]) == 26) || (Convert.ToInt32(dt.Rows[i]["river_id"]) == 27) ||
(Convert.ToInt32(dt.Rows[i]["river_id"]) == 28)
)
{
_dtRiverList.ImportRow(dt.Rows[i]);
}
}
}
catch (Exception ex)
{
LoggerClass.ErrorException(ex.Message, ex);
}
return _dtRiverList;
}
#endregion
public DataTable GetRiver()
{
try
{
_dtRiverList = new DataTable("_dtRiverList");
DataTable dt = objRModelingDAL.GetRiverList();
_dtRiverList = dt.Clone();
for (int i = 0; i < dt.Rows.Count; i++)
{
if (
(Convert.ToInt32(dt.Rows[i]["river_id"]) == 8) || (Convert.ToInt32(dt.Rows[i]["river_id"]) == 9) ||
(Convert.ToInt32(dt.Rows[i]["river_id"]) == 20) || (Convert.ToInt32(dt.Rows[i]["river_id"]) == 25) ||
(Convert.ToInt32(dt.Rows[i]["river_id"]) == 26) || (Convert.ToInt32(dt.Rows[i]["river_id"]) == 27) ||
(Convert.ToInt32(dt.Rows[i]["river_id"]) == 28)
)
{
_dtRiverList.ImportRow(dt.Rows[i]);
}
}
}
catch (Exception ex)
{
LoggerClass.ErrorException(ex.Message, ex);
}
return _dtRiverList;
}
#endregion