Questions tagged as 'visual-studio-2017'

1
answer

Error trying to generate a pdf with DataGridView C # using iTextSharp

I have a problem with the code I am writing to generate a pdf with the data from a DataGridView. After I run the DGV with the MySQL query, and I give the generate button, it throws an error that says: "Object reference not set to an instance of...
asked by 06.10.2018 / 18:14
1
answer

Insert an image to a word marker from MS Visual Basic?

I have a form in MS Visual Basic from which the data entered in the, are inserted into some markers that I have in a word template, I am now trying to insert an image, which I have in a picture box and the charge to through a button linked to an...
asked by 14.02.2018 / 17:37
2
answers

in the loop my gets_s is skipped in the second iteration

I am asking for the note and the names of 10 students but when it enters the second iteration of the for the gets_s it is skipped, do not let me enter the student's name. #include <string.h> #include <conio.h> #include <stdio.h&...
asked by 14.10.2018 / 21:27
2
answers

MySQL query from C # returns InvalidOperationException

Thanks to the users I managed to establish the connection to my MySQL database from C #, but now another problem arose. I just want to get a DataSet where I can then read the data, but at the moment the function finishes, it always returns Inval...
asked by 14.11.2018 / 20:12
1
answer

Validate TextBox that only allows MS Visual Basic integers? [duplicate]

Cordial greeting colleagues, it turns out that I have a form in MS Visual Basic and I'm doing the respective validations to the buttons and text boxes. In text boxes, you must validate that you only receive whole numbers, do not allow decimals...
asked by 30.01.2018 / 16:10
1
answer

Problem to connect Visual Studio project to MySQL database

My problem is as follows, and I can not find a solution. I have a MySQL database, which I want to manage from my application. I have a project in C # with Visual Studio, in which I am using the MVVM architecture, and I am trying to use the...
asked by 12.01.2018 / 17:22
1
answer

Bootstrap Visual Studio

How to remove the Bootstrap from visual Studio 2017, I would like to make a page but not using bootstrap but with a CSS library of its own     
asked by 10.07.2017 / 16:19
1
answer

Problem when saving row in DataSet using ADO.net

I bring you another little problem that came up during my project (which is almost finished already). What this code is supposed to do is create a new "Artist" row, add it to the dataset (in its datatable) and update the database. Well, it's cle...
asked by 16.11.2018 / 17:53
2
answers

C #, Windows Forms, How to implement two ComboxBoxes in a Form but WITH THE SAME datasource?

I have two comboboxes in a form with the same datasource: private void LlenarCbosCatalogo() { AuxiliaresCatalogoCtaList = CatalogoCuentaLN.ObtenerAuxiliares(); cboAuxiliar.ValueMember = "IdCatalogoCuenta"; cboAuxiliar.DisplayMembe...
asked by 01.10.2018 / 17:11
1
answer

GetUserAsyn returns null [net-core Identity]

Hi, I have a net core mvc project, where I use Identity for users, registration, login, etc. My problem is that when I log in I redirect it to the Index of article, where I want to take the user logged in with await _userManager.GetUserAsy...
asked by 02.09.2018 / 05:12