Exemple #1
0
    public DataSet DALGetSpecificUrl(DownloadurlBLL ur)
    {
        SqlConnection cn = new SqlConnection(ConfigurationManager.AppSettings["ConnectionString"]);
        DataSet       ds = new DataSet();

        try
        {
            ds = SqlHelper.ExecuteDataset(cn, CommandType.StoredProcedure, "GetDownloadurl");
        }
        catch (Exception ex)
        { }
        finally
        {
            cn.Close();
        }
        return(ds);
    }
Exemple #2
0
    public DataSet DALGetURLRecord(DownloadurlBLL ur)
    {
        SqlConnection cn = new SqlConnection(ConfigurationManager.AppSettings["ConnectionString"]);
        DataSet       ds = new DataSet();

        try
        {
            SqlParameter[] par = new SqlParameter[1];
            par[0] = new SqlParameter("@url", ur.Url);
            ds     = SqlHelper.ExecuteDataset(cn, CommandType.StoredProcedure, "GetDownloadurlRecord", par);
        }
        catch (Exception ex)
        {
        }
        finally
        {
            cn.Close();
        }
        return(ds);
    }
Exemple #3
0
    public DataSet BLLGetDownloadRecord(DownloadurlBLL ur)
    {
        DataSet ds = dalobj.DALGetURLRecord(ur);

        return(ds);
    }
Exemple #4
0
    public DataSet BLLGetAllurl(DownloadurlBLL ur)
    {
        DataSet ds = dalobj.DALGetAllUrl(ur);

        return(ds);
    }
Exemple #5
0
    public DataSet BLLGetSpecificurl(DownloadurlBLL ur)
    {
        DataSet ds = dalobj.DALGetSpecificUrl(ur);

        return(ds);
    }