Questions tagged as 'c#'

3
answers

How to install SQLite to be part of a C # project?

I'm creating a desktop application in C # of registry that will use database. Which database to use? I was advised to use SQLite , but I'm not fully understanding how to use it. What version of SQLite should I download, could you help me...
asked by 18.12.2015 / 20:18
3
answers

C # - Close Form without Stop Application

Hello, I'm using C # to create a login system. And I would like to know some formula to close this login window without stopping the application. I used this.Hide (); to hide the form, but when closing the program it keeps running only hidden. C...
asked by 16.03.2017 / 03:30
2
answers

What is IEnumerable and IEnumerator?

I've done a combo of questions about IEnumerable and IEnumerator to not only help me but everyone who needs a more didactic explanation. Question 1    Someone could explain in a more didactic way what these   interfaces and...
asked by 21.03.2017 / 17:24
2
answers

How to reference an external library?

I have a project in Asp.Net MVC where I would like to add some new libraries. They are available for download as .dll , but are also available on Manage NuGet Packages . What is the best way to add the library to the project by addi...
asked by 03.12.2015 / 19:40
2
answers

Error: Object reference not set to an instance of an object, how to solve?

I have the ChamadaEfetuada(MAluno) : bool method that verifies that the call was made for a given student, this method is used in another method ChamadaEfetuada() : bool that instead of checking if the call was made to a single stu...
asked by 19.11.2015 / 02:57
4
answers

Deserialize JSON

I can POST this information: { "Nritem": 1, "Cdprevenda": 3, "Cdproduto": 7, "Decomplitem": "", "Descricao": "Depilação", "Dtcadastro": "2015-11-27T13:53:35.120Z", "Flsituacao": 1, "Md5": "", "Qtproduto": 18...
asked by 29.12.2015 / 12:27
4
answers

How to get the number of records in a query in SQLite?

I'm listing the records of a table with the code below: SQLiteCommand comando = new SQLiteCommand("SELECT * FROM Cadastro " +filtro, conn); SQLiteDataReader receber = comando.ExecuteReader(); But before listing, I need to check if there is...
asked by 19.08.2015 / 21:13
2
answers

What is the best way to publish my Asp.NET C # application to Azure?

I started a project in college and I'm using Azure to host it. This is my first contact with this tool and I am having great difficulty understanding it. I've already tried tutorials and explanations on the big google, but I only find old things...
asked by 01.03.2016 / 19:38
2
answers

serialize class item in textual documents

I would like to get the elements of my products class and save a txt file as my Serialization method would. class Program { static void Main(string[] args) { var products = new List<Product> { new Prod...
asked by 18.10.2016 / 19:52
1
answer

Problem with installation prerequisite

I have an installer project in Visual Studio 2013. One of the prerequisites for the installation is IISExpress 7.5 or higher. I was able to put IISExpress 7.5 as a prerequisite: However, when you try to install the application on a c...
asked by 04.10.2016 / 15:38