Questions tagged as 'visual-studio'

1
answer

Problem "Unable to copy file" WindowsForms C #

I have a problem, I changed one of the options in the configuration file of my application, more specifically, the section of 32 bits and 64, but then I returned it to normal (The default option: "Any CPU") , and I tried to run my app, but this...
asked by 14.04.2018 / 16:30
1
answer

How to do with IIS + Visual Studio what pages with the "html" extension read it as if it were "aspx"?

When it is programmed with php and Apache web server, it is possible that the pages with the extension .html and .php treat them equally, being able to have a php code within a page with an extension .HTML Is it possible to configure the IIS + v...
asked by 03.09.2018 / 10:04
1
answer

Error 'does not exist' when searching for specified path file

I have the following code to check if a file exists in a specified path but it always returns to me as it does not exist. I have looked at the file permissions and it is all correct. if ( System.IO.File.Exists("C:\Temp\test.txt")) { //Hago u...
asked by 20.08.2018 / 12:13
1
answer

How to use Node.js in asp.net MVC using Visual Studio?

I currently have a project created asp.net MVC in C # and I wanted to add code from Node.js. Download the Node.js from the package nuget and install it by creating a .bin folder containing node.cmd in the project I have the following code...
asked by 10.09.2018 / 20:36
2
answers

Error Converting a JSON-type string to Class in C #

I am building a Web Api in c # Where in one of the operations I return a string that serialized like this: public string GetCliente() { string resultado = string.Empty; DataTable dt = new DataTable();...
asked by 07.08.2018 / 02:18
1
answer

Call an object from a List and replace it with another

I need to call a specific object through a list to save it in another, I want to do it with the Id attribute, create a foreach like that but it does not return anything even the one that is marked, and I also need that from that Recommended list...
asked by 25.07.2018 / 20:19
1
answer

doubt about this code

referring to this code to calculate notes, but I have the second doubts, I know that the n is like a liminator (it's worth 2) but what does the aux and the n1 do? #include<iostream> #include<conio.h> using namespace std; struct alu...
asked by 27.09.2018 / 23:25
2
answers

Fill DataGrid with DataTable

The current situation is that I have this dataGrid1.ItemsSource = dt.DefaultView; datagridajuste(); The problem is that when I fill in my "datagrid" (no datagridview), this generates empty tables at the beginning and at the end....
asked by 22.04.2018 / 15:07
1
answer

Change color selected item in CheckBoxList, C #

Is it possible to change the background color of the selected item in a CheckBoxList? Something like this: foreach (var item_select in checkBoxList1.CheckedItems) { checkBoxList1.Items[item_select].BackColor = Color.SeaGreen; }...
asked by 23.01.2018 / 20:52
2
answers

ASP.NET Response.Redirect does not work

My problem is this: I have a POS in which I need to send the following parameters by url: amount transaction reference (it is generated automatically according to the consecutive ticket) customer mail Once the seller clicks t...
asked by 18.01.2018 / 19:40