Exemplo n.º 1
0
    protected void AllPatientsGridview_RowDeleting(object sender, GridViewDeleteEventArgs e)
    {
        System.Threading.Thread.Sleep(1000);

        // delete all the dependencies of this patients
        PatientOperations.DeleteDependencies(long.Parse(e.Keys["ID"].ToString()));
    }
Exemplo n.º 2
0
    protected void PatientDetailFormView_ItemDeleting(object sender, FormViewDeleteEventArgs e)
    {
        System.Threading.Thread.Sleep(1000);

        // delete all the dependencies first
        PatientOperations.DeleteDependencies(long.Parse(e.Keys["ID"].ToString()));
    }