using
namespace
{
SqlConnection conn =
DataSet ds =
SqlConnection con;
txtprno.Text = Session[
conn.Open();
}
SqlConnection con =
SqlCommand cmd =
SqlDataAdapter da =
cmd.CommandType = CommandType.StoredProcedure;
cmd.CommandText =
cmd.Parameters.Add(
cmd.Connection = con;
con.Open();
da =
da.Fill(ds);
txtname.Text = ds.Tables[0].Rows[0][
txtdesign.Text = ds.Tables[0].Rows[0][
txtDepartment.Text = ds.Tables[0].Rows[0][
txttime.Text = System.
txtdate.Text = System.
con.Close();
con.Dispose();
cmd.ExecuteNonQuery();
conn.Close();
lblMessage.Visible =
lblMessage.Text =