public
myCmd.Connection =
myCmd.CommandText =
myCmd.Parameters.Add (
myCmd.Parameters [
myCmd.Connection.Open ( );
myCmd.ExecuteNonQuery ( );
postDetails.DataSource = myCmd.ExecuteReader (
postDetails.DataBind ( );
myCmd.Connection.Close ( );
}