Questions tagged as 'c#'

2
answers

How to install the Microsoft.ReportViewer.ProcessingObjectModel 12.0.0.0 assembly in the GAC?

I'm using Visual Studio 2015 and my project uses ReportViewer, however when I export my application to be installed on my client's computer it informs me this message: I've tried all day on the internet about this problem, I tried to ac...
asked by 27.09.2017 / 21:41
0
answers

Error 407 when connecting in proxy

I am trying to communicate with a web service and my machine uses internet via proxy. When initiating communication with the web service, the proxy authentication error. How do I get the user and password that I use for browser in the browser? I...
asked by 27.09.2017 / 19:45
0
answers

Error creating controller using Entity

In my Employee Master project I have the following folders: MODEL CONTROLLERS DAL VIEWS From the moment I create a controller using Entity that already creates my view directly, it gives the error:    (Error executing the sel...
asked by 26.09.2017 / 21:39
1
answer

When clicking on the button of form 2 update label of form 1 [closed]

How can I pull the label from form1 to form2 to give label.Refresh?     
asked by 26.09.2017 / 20:26
0
answers

Problems changing color of rows in a DataGrid in C # Wpf

I am having problems changing the color of the DataGrid rows, I use the following function int i = 0; private void gvDados_LoadingRow(object sender, DataGridRowEventArgs e) { DataGridRow rowContext = e.Row; if (rowContext != null) {...
asked by 26.09.2017 / 22:23
1
answer

How to put information of a class in an array?

To save lines of code, I do the following: PictureBox[] pic = { pictureBox1, pictureBox2, pictureBox3, pictureBox4, pictureBox5, pictureBox6, pictureBox7, pictureBox8 }; And I have a class called InformationLetters , whose same has se...
asked by 11.10.2017 / 07:59
1
answer

Check item checked

I have the following code inside the Itemchecked event: private void lsvRecebeGrupoLayout_ItemChecked(object sender, ItemCheckedEventArgs e) { Layout lay = new Layout(); GrupoLayout grupo = new GrupoLayout(); RepositorioGrupoLayout...
asked by 11.10.2017 / 18:48
0
answers

Ignore files in the obj \ Debug folder

I have a problem, every time I check in visual studio lists these files: I created a file (.tfignore) to try to ignore them but it did not work: \packages \obj \bin \_design\.sass-cache \_design\scss What am I doing wrong? Does...
asked by 22.09.2017 / 21:17
1
answer

Problem to save C # content [closed]

I'm trying to do a replica of Notepad, in the part of saving the content in richTextBox1.Text I'm having the problem:    System.IO.IOException: "The process can not access the 'file path' file because it is already being used by another proce...
asked by 11.10.2017 / 19:23
0
answers

Best way to build a class to execute a SQL package

I am mounting a database access layer and need to access the functions inside a package on the oracle server. The orm already connects to the database and accesses tables and procedures through their respective repositories and entities. I...
asked by 22.09.2017 / 17:33