USE DataTableReader , AND CHANGE UR CODE WITH THE BELOW LINES
qry = " Select * from mttable where tempname= '"+ txttemp.Text +"'";
SqlCommand cmd = new SqlCommand(qry, conn);
SqlDataAdapter adp = new SqlDataAdapter(cmd);
DataTable dt=new DataTable();
adp.Fill(dt);
//dont forget to close the connection
DataTableReader dr = dt.CreateDataReader();
while (dr.Read())
{
qry = " UPDATE temptbl set SEL = " + dr["SEL"] + " ,[ORDER] = " + dr["ORDER"] + " ;
// here open the sqlconnection
SqlCommand cmdm = new SqlCommand(qry, conn);
cmdm.ExecuteNonQuery();
// here close the sqlconnection
cmdm.Dispose();
}