Questions tagged as 'c#'

2
answers

Error using store procedure - Entity

I used a store precede for authentication in my application as suggested ... insert the link description here But now you're giving the following error ...     
asked by 18.07.2014 / 01:42
2
answers

Foreign key error while deleting a record

I have a table with products and another with the category of that product. In the category table I have a detailsView with a delete button, and it deletes when a category is not associated with a product (from another table), that is when a cat...
asked by 17.07.2014 / 13:20
1
answer

Problem updating database data using LINQ to SQL

I'm developing a C # ASP.NET application in which I look for certain data from the database, I put it in a form, and when I click 'Save', I want the database to save the changes I made. I'm using Linq to SQL. The code below, at the end, calls...
asked by 17.07.2014 / 15:38
2
answers

jQuery Mask Plugin does not format the number correctly

I'm working on an MVC4 project, the mask works correctly when saved, but when returning the database data the plugin shows incorrect data if the value ends at 0. Data example: 99.000,00 , when I go in the Edit View it gets: 990,00...
asked by 18.07.2014 / 21:03
1
answer

C # MySQL connection thread-safe

I have a server that receives hundreds of asynchronous connections and needs to implement MySQL access to different threads. Actually, as I use the Async Socket Begin / End standard of .Net, there is a thread pool, so it is not 1 thread for each...
asked by 01.07.2014 / 21:33
0
answers

How to add tor proxy settings in chrome browser with c # and selenium

I need to open the chrome browser with Tor proxy settings using selenium. I have achieved success with firefox but it is not very agile, so it is necessary to use chrome. The problem is that I do not know how to apply the settings to chrome....
asked by 28.12.2018 / 20:31
1
answer

SQL CE Database Insert Error

I am creating an application for a PDA, how much do I try to do the data insertion in the database I always encounter this error.    There was an error parsing the query. [Token line number = 1, Token line offset = 100, Token in error =)]...
asked by 28.02.2014 / 14:18
2
answers

How to enable the "Add Controller" option in the menu?

Recently the option of my Adicionar controller has disappeared from the menu. I'm using Visual Studio 2013, and the project is ASP NET MVC, version 5.1. How to fix this problem?     
asked by 13.02.2014 / 18:18
2
answers

Exception handling not working

Hello, I am studying C # and was trying to do exception handling using middleware, to send the message and exception code to the client, but it is not working very well. Debugging, the breakpoint is normally passing through the middleware, but...
asked by 19.12.2018 / 22:45
1
answer

Clear a listview that is inflated with an inflater layout, Android C #

Well, I'm having the following problem, I used a inflater map to fill a listview with a adapter but I want to clear that adapter , since the products contained in the list do not change when I click another category of produc...
asked by 21.12.2018 / 17:15