Questions tagged as 'c#'

1
answer

Tcp Server adds the client name to a lisbox

I have a server and a client, when the client connects it adds the client's ip to a listbox of the server, it appears as if an item was added (in the listbox) but does not appear ip, this is the code: using System; using System.Collections.Gen...
asked by 16.08.2016 / 17:12
1
answer

Error exporting DataGridview to DataTable

I'm trying to generate an Excel spreadsheet based on a DataTable, all data is in the given format, however the Data format is in the American standard ("MM / dd / YYYY"). Here is the code for the function: //Metodo que exporta um grid...
asked by 17.08.2016 / 20:48
1
answer

Stock Quantity Management C #

I can not find a solution for inventory and sales management. The scenario would be a Stock of Autoparts, where I register the entry of a product into stock with a certain quantity.    cod - name - qtd - vlr       3239 - Water pump - 2 -...
asked by 10.08.2016 / 18:37
1
answer

Exception error when authenticating login with null values - Simplemembership - ASPNET MVC

I've developed a project in asp.net mvc5 from a course I'm doing, which is accusing the following exception error at the time of authenticating the login menu when I do not enter any data in the form fields and step null parameters:    "An ex...
asked by 11.08.2016 / 17:00
0
answers

Problem in running webapp after reinstalling windows 10. Visual Studio 2013 Express for Web

After reinstalling windows 10 and Visual Studio 2013 Express for Web, a project that previously worked indicated the following error:    Could not load the file or assembly 'System.Web.WebPages.Deployment, Version = 2.0.0.0, Culture = neutral...
asked by 18.07.2016 / 18:19
1
answer

Connection String not found WPF Entity Framework

I'm in a WPF project using some MVVM practices, I'm using the Entity Framework database first and the connection string is already in the app.config, I've already followed all the procedures I've read on several issues but in the view this messa...
asked by 14.07.2016 / 14:27
0
answers

Error Entity Framework class mapping from existing database

I have a SQL Server database and have the mapping classes automatically generated from the existing database. However, when I run the application, it gives the following error:    (404,10): error 3015: Problem in mapping fragments starting at...
asked by 14.07.2016 / 02:21
0
answers

Upload - the process can not access the file because it is being used by another process

I'm trying to mount a file manager, but I'm having trouble updating the file. First I make the upload of the file, and after that, if the user wants to update, I have the option of updating, where it changes the file, that is, it uploads...
asked by 15.07.2016 / 14:20
1
answer

Send List of objects to my wcf web service

Good people, I need to create a WCF Web service that receives a list of objects and inserts it into a postgresql database. To test I've created a vb.net client app , but something is not going as expected. So far I have the following...
asked by 15.07.2016 / 19:10
1
answer

ASP.NET MVC Integration of accounts with office365 authentication [closed]

I have a project in Asp.net MVC 4 and the users have registered with the system itself, however it was necessary to authenticate them through office365, that is, when accessing the office365 the system recognizes the same access email and integr...
asked by 15.07.2016 / 14:20