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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.