convert

  1. D

    System.FormatException : 'Input string was not in a correct format.'

    Good evening, I get an error on this line : command.Parameters.AddWithValue("@chambreCat", Convert.ToInt32(cbAdminCat.Text)); I want to be able to convert my character string to INT otherwise I could not insert the value into the database if it is not an integer. Here is the code for my...
  2. A

    Is this possible to use IronPython .net with docx2pdf python package?

    I need to convert docx files to pdf files. Or bytes of docx file from a database to pdf file and download it. There is no free nuget packages to resolve my issue. But there is one package from python language I can use and it s name is docx2pdf. Nuget space has IronPython . net package, but this...
  3. Daniel_04

    Problem with the convert string to int in Method

    using System; using System.Collections.Generic; using System.Text; namespace ConsoloAPP2._199 { class Product { public int ProductId { get; set; } public string ProductName { get; set; } public int AvailableQuantity { get; set; } public decimal...
  4. M

    Question FromBase64string - Invalid length of the string

    Hello everybody! I have a string in base64, that I have to convert in a byte array. To do this, I use Frombase64string. But it give me an error about the wrong lenght of the string, that isn't a multiple of 4. So I add to the string a simbol ( =) to get the correct lenght. But I have to add 3...
Back
Top Bottom