Questions tagged as 'c#'

1
answer

FileSystemWatcher - How to get the user who has modified C # file

I have developed an application that monitors events in the filesystem using the FileSystemWatcher class and would like to leave it installed on the file server as it happens that I need to register the user who accessed the file over the...
asked by 10.01.2018 / 21:43
1
answer

How to get values from the selected row in the gridview by clicking on the button

I need to make sure that when selecting a line and clicking the Approve button, the button takes all the values of the line and plays in a variable and then delete the line ThisisthecodeformyGridView<asp:GridViewID="GridView1" runat="serv...
asked by 10.01.2018 / 18:32
0
answers

SignalR Can not read property 'MyHub' of undefined

Good afternoon, I'm trying to apply the SignalR library to a site with Master page in .aspx WebForms, but I'm getting error reading the Hub file. I can not get the site to see such a file. I've run into a website without MasterPage and it works...
asked by 10.01.2018 / 18:31
0
answers

Write to a listBox in another form [duplicate]

Good stack. I am developing a small application for automatic backup of MySQL and SQL Server databases. The application is to be done in Windows Forms + C #. I thought I would implement something similar to a "console", actually being a...
asked by 18.01.2018 / 10:46
0
answers

My app aborts while trying to consume rest

It has a rest service that my android app needs to consume. For this I have to send a parameter in json format. It happens that it aborts the moment it consumes the Service . This is the code I have to consume the Service : public async Task...
asked by 11.01.2018 / 19:43
2
answers

ListView with first column exceeding limit

Hello! I made a form using the MaterialSkin library In this library there is a component called ListView (which would be similar to the ListView of WinForms) that the first column is buggy. Look at this image: Correct would be to get...
asked by 11.01.2018 / 16:56
0
answers

Pass parameter in json format to consume service post in app xamarin.forms

In my App I have this method to consume the service post (still writing the method): public async Task<string> PostIndicador(string jsonValue) { client = new HttpClient(); string url = $"http://meu_ip/indicadorservice/indicadorse...
asked by 11.01.2018 / 15:58
0
answers

Generate PDF ReportView

I've taken an example ( link ) to generate PDF of a report. The example worked, but I have other reports that need to pass parameters, if I put only to view in the ReportView with the parameters works, but when I add the function generate PDF, i...
asked by 16.01.2018 / 17:39
1
answer

HTTP Error 500.19 when running local host application

I have an application that was running with IIS express, I formatted my machine and now I get this error when running the application! Unable to read configuration file. I know the path is wrong C: \ Users \ bigant \ Documents \ My W...
asked by 16.01.2018 / 20:24
1
answer

Error with Nuget - Entity Framework

I'm starting with C# and I need a force. I tried to connect to the database, using entity framework . In the visual studio output the following message appeared:    System.TypeLoadException: Could not load type 'NuGet.NuGet...
asked by 23.01.2018 / 01:43