Questions tagged as 'visual-studio-2017'

1
answer

I can not compile Visual Studio 2017

I am working on a project with .NET and MVC and I can not compile my solution for each project I get this error:    C: \ Program Files (x86) \ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ 15.0 \ Bin \ Roslyn \ Microsoft.CSharp.Core....
asked by 25.09.2017 / 19:24
2
answers

How to fix error Add-Migration connectionstring null

The message is the same despite the fact that I saw other similar questions. Later I put other images to see how the appsettings and context are. appsettings.json. { "ConnectionStrings": { "DefaultConnection": "Data Source=RACPA...
asked by 02.10.2018 / 07:56
1
answer

Search and print console data from a .txt in C #

Hello :) Well it is a simple program in which a .txt is handled, the program has the option to enter data, print them and search .... My problem is in the third part: Search, the data that is saved in the txt are: Password, Name and Position...
asked by 04.10.2018 / 07:39
1
answer

Show in details a list of ALL the materials that belong to two tables that have a one to many relationship with MVC 5 and EntityFramework

Greetings to all I am new to MVC and I have a problem to show the following model, the table OutMaterial stores the permissions on some kind of material that goes out, the table OutlineMaterial stores specifically the materials that are...
asked by 03.07.2018 / 19:49
1
answer

Insert all CheckedBox into an ingredients database table

I'm doing a project for a Pizzeria, the customer can choose the type of dough, quantity and different ingredients, everything works perfectly except the ingredients I do not know how to do it, I tried a CheckedListBox but I did not know how to d...
asked by 31.05.2018 / 10:47
1
answer

Syntax error in the FROM clause

I have 2 questions on a single topic. The following function works on other developments normally. Public Function VerificaUsr(ID As String, Psw As String) As Boolean Dim Rslt As Boolean Rslt = Conectar() If Not Rslt Then Exit Fun...
asked by 21.03.2018 / 05:52
1
answer

Avoid duplicate records in C # in modify

I have a function that does not allow me to enter the same data in the same row. at the time of entering a new product if it works I can not enter a product that is already in the database, the problem if I want to change and I only want to chan...
asked by 31.03.2018 / 02:08
1
answer

Consult mysql and show in a MS Visual Basic listbox?

Cordial greeting colleagues, It turns out that I have a database called quote, a form in MS Visual Basic with a listbox and a button called consult. what I want to do is, by means of the consult button, show in the listbox the information that i...
asked by 09.02.2018 / 18:08
0
answers

Encrypt data via URL in Visual Basic.net

I am sending data by URL of a form to any page, but the problem is that on that page your url that receives the data is NOT encrypted. This is my code: Response.Redirect("SimuladorExamen.aspx?dni=" & Server.UrlEncode(txtDNI.Text) &...
asked by 20.12.2018 / 22:21
1
answer

Hello, I have a slight problem

I write this code, but at the time of execution, it tells me an error, it says that this function is dedeclared but it is not used .... why is this error? private void Button1_Click(object sender, EventArgs e) { if...
asked by 28.11.2018 / 03:28