• DataTableToPDF é uma biblioteca DLL que pode ser distribuído com seus próprios projetos de software e utilizado para a exportação de qualquer DataTable para um arquivo PDF. Ele permite que você personalize o título do documento, bem como incluir um logotipo de imagem e totais. Depois de baixar e descompactar o arquivo, você precisa adicionar uma referência para o DataTableToPDF.dll a biblioteca no seu projeto do Visual Studio, uma operação que qualquer programador deve estar familiarizado com. Vale a pena notar que você também precisa de destino .NET Framework 4.0 ou superior. DataTableToPDF permite-lhe definir a saída de título do documento e o caminho de exportação, aplicar um logotipo ligando para um local ou hospedado na web de arquivo de imagem, bem como incluir totais e excluir determinadas colunas. O pacote de documentação destina-se a mostrar como a biblioteca pode ser usada a seu favor, como são fornecidas explicações para todas as edições de parâmetros de entrada. Além disso, um par de exemplos de código estão incluídos, o que pode ajudar os programadores a evitar uma abordagem de tentativa e erro quando tentar implementar a biblioteca. Para fins de teste, você pode criar um manequim DataTable e usá-lo para certificar-se de que você compreender como extrair dados e inserir vários elementos no relatório gerado. O primeiro exemplo de código permite a você extrair dados, defina o nome e o local do arquivo de saída PDF, bem como fornecer um título. Se é devolvida uma cadeia vazia, a operação foi bem-sucedida. O segundo exemplo demonstra como gerar um documento que inclui um logotipo e totais, e são fornecidas instruções para a exclusão de certas colunas total.
  • DataTableToPDF kendi yazılım projeleri ile dağıtılmış ve bir PDF dosyası için herhangi bir DataTable vermek için kullanılabilecek bir DLL kütüphane. Belgenin Başlığı değiştirmenizi sağlar gibi bir görüntü logo ve toplamları vardır. İndirme ve dosyayı açtıktan sonra, datatabletopdf.dll kitaplığı için Visual Studio proje için bir başvuru eklemek için herhangi bir programcı aşina olması gereken bir operasyon gerekir. Ayrıca hedef gerekir dikkati çekiyor .NET 4.0 Çerçeve ya da yukarıda. DataTableToPDF çıkış belgenin başlık ve ihracat yolunu ayarlamak için, bir yerel veya web-barındırılan resim dosyası olarak bağlayarak toplamları bulunur bir logo uygulamak ve belirli sütunları hariç sağlar. Birlikte gelen belgelere kitaplığı açıklamaları tüm desteklenen girdi parametreleri için sağlanan olarak sizin yararınıza kullanılabilir nasıl vitrin için tasarlanmıştır. Ayrıca, kod örnekleri, bir kaç kitaplığı kullanmaya çalışırken programcılar deneme yanılma yöntemini önlemek yardımcı olabilir dahildir. Sınama amacıyla, boş bir DataTable oluşturmak ve oluşturulan rapor veri Ekle ve çeşitli öğeleri ayıklamak için nasıl anladığınızdan emin olmak için kullanabilirsiniz. İlk kod örneği, veri ayıklamak, PDF çıktı dosyasının adını ve konumunu ayarlamak gibi bir başlık vermenizi sağlar. Eğer boş bir dize döndürülür, operasyon başarılı oldu. Bir logo ve toplamları içeren bir belge oluşturmak için nasıl ikinci örnek gösterir ve talimatları belirli toplam sütun hariç içindir.
  • DataTableToPDF is a DLL library that can be distributed with your own software projects and used to export any DataTable to a PDF file. It enables you to customize the document’s title, as well as include an image logo and totals.

    After downloading and unpacking the archive, you need to add a reference to the DataTableToPDF.dll library in your Visual Studio project, an operation that any programmer should be familiar with. It is worth noting that you also need to target .NET Framework 4.0 or above.

    DataTableToPDF allows you to set the output document’s title and export path, apply a logo by linking to a local or web-hosted image file, as well as include totals and exclude certain columns.

    The bundled documentation is meant to showcase how the library can be used to your advantage, as explanations are provided for all the supported input parameters.

    In addition, a couple of code examples are included, which can help programmers avoid a trial and error approach when attempting to implement the library. For testing purposes, you can create a dummy DataTable and use it to make sure you understand how to extract data and insert various elements into the generated report.

    The first code example enables you to extract data, set the name and location of the output PDF file, as well as provide a title. If an empty string is returned, the operation has been successful.

    The second sample demonstrates how to generate a document that includes a logo and totals, and instructions are provided for excluding certain total columns.