protected void LoadResoucesInfoPurchasing()
    {
        MainContentGeneric resourcesinfo = new MainContentGeneric();
        DataSet dsresourcesinfo = new DataSet();
        StringBuilder sb = new StringBuilder();

        //---
        dsresourcesinfo = resourcesinfo.getAllGenericDByTypeId(Convert.ToInt32(GeneIdPurchasing));

        foreach (DataTable table in dsresourcesinfo.Tables)
        {
            foreach (DataRow row in table.Rows)
            {
                sb.AppendLine("<div class=\"contChangePass\">");
                    sb.AppendLine("<div class=\"contPurInfo\">");
                        sb.AppendLine("<h1>" + row["GeneDTitle"].ToString() + "</h1>");
                        sb.AppendLine(row["GeneDContent"].ToString());

                        if (row["GeneDFile"].ToString() != "")
                        {
                            sb.AppendLine("<div id=\"boxContImage\">");
                            sb.AppendLine("<div class=\"imgPurInfo\" style=\"height:144px; text-align:center\"><img id=\"images\" style=\"height:100%;\" src=\""+ strFolder + "/" + row["GeneDFile"].ToString() + "\"/></div>"); //onload=\"getDim(document.getElementById('boxContImage'),this)\"
                            sb.AppendLine("</div>");
                        }
                        if (row["GeneDLinkTitle"].ToString() != "") sb.AppendLine("<div class=\"mailCustomer\"><a href=\"" + row["GeneDLink"].ToString() + "\" target=\"_parent\">" + row["GeneDLinkTitle"].ToString() + "</a></div>");
                    sb.AppendLine("</div>");
                sb.AppendLine("</div>");
            }
        }

        //sb.AppendLine("<div>*</div>");
        PlaceHolder_Resources_Purchasing.Controls.Add(new LiteralControl(sb.ToString()));
        sb = null;
        resourcesinfo = null;
        dsresourcesinfo = null;
    }