Questions tagged as 'visual-studio'

1
answer

what is the best way to upload an excel file [closed]

I must upload an excel file (office 2010 version) to a sql server database with a system created with asp.net (c # vs2012) I've been seeing on the internet, and I'm a little dizzy because I've seen a lot of methods, but I do not know why to d...
asked by 14.11.2018 / 19:10
1
answer

Copy / Move files without specific path vb

I have a program whose function is to copy and paste files, I have used My.Computer.FileSystem.CopyFile () to do it, and if it works ... My.Computer.FileSystem.CopyFile(C:\ruta ejemplo\archivo1.txt, C:\ruta ejemplo 2\archivo1.txt) The prob...
asked by 03.01.2019 / 21:30
2
answers

SQL Clear table with foreign key

Good day, I'm starting with SQL and during the development of the project my question arose. The issue is that I have a Detail table And a product table The problem arises when I want to delete a product, due to the reference t...
asked by 18.11.2018 / 01:15
2
answers

When I insert data into a SQLite table, it says that the database is blocked

I am creating an application in WPF which inserts in a table of SQLite every login. When you are about to insert: throw this exception: The code of the method to insert is this: public void InsertValuesToDataBase (str...
asked by 04.04.2018 / 18:04
1
answer

iTextSharp does not matter DataGridView to MySQL and C # pdf

I have a Form that generates a DataGridView in which I show fields of a table. The problem I have is that you export the pdf to me in the following way: I do not know what's happening. Here is my code that generates the .pdf: priva...
asked by 23.04.2018 / 01:47
2
answers

Remove an Item from a ListBox

I need to delete an item from a ListBox , but I have two forms, in the first one is ListBox and in the second one too, but I need that when I press the delete button the first items that came in as I can be deleted do? Private Sub...
asked by 15.03.2018 / 16:40
1
answer

Visual studio scrubber [closed]

I try to debug the code with visual studio but when executing it step by step I change the window to a call ostream and I do not know what that is. Can you debug the code without having to go through the ostream window? For examp...
asked by 21.02.2018 / 18:17
1
answer

How to update django in visual studio?

Hello, I have all installed version 2.0.2 of django and it works fine, but I have noticed that when creating a project with visual studio, version 1.9 appears, I am very confused and I would also like to develop a project created with cmd in vis...
asked by 02.02.2018 / 04:11
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

Optimize path of XML nodes in VB.NET

I am making an application to extract data from an xml and through them classify the documents in different folders. I use the XmlNodeList and the XmlElement to extract the attribute from the elements but I do it with two for cycles to achieve t...
asked by 08.03.2018 / 19:04