select top 1 * from table1 order by col1 desc, col3 asc
var col1= dbentity.Database.SqlQuery<string>(select col1 from table1 where col3=@param, new SqlParameter("param", param)).Single();
DataAdapter
Fill
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)