Hi EveryBody
I'm so begginer with llblGen Pro ... Can AnyOne Help Me to simulate this code in LLBLGEN?
SqlConnection con = new SqlConnection(DataBase.connectionString);
SqlCommand cmd = new SqlCommand();
try
{
con.Open();
cmd.Connection = con;
cmd.CommandText = "SELECT top 1 picture FROM emps order by ID desc";
byte[] Img = (byte[])cmd.ExecuteScalar();
}
catch
{
}
finally
{
con.Close();
}
where I have emps table mapping to EmpEntity