Example #1
0
    public DataTable Bind_Getdata()
    {
        PersonDAL PDAL = new PersonDAL();

        try
        {
            return(PDAL.GetData());
        }
        catch (Exception)
        {
            throw;
        }
        finally
        {
            PDAL = null;
        }
    }
Example #2
0
    public void Bind()
    {
        PersonDAL PDAL = new PersonDAL();

        try
        {
            PDAL.GetData();
        }
        catch (Exception)
        {
            throw;
        }
        finally
        {
            PDAL = null;
        }
    }