Questions tagged as 'c#'

0
answers

Question about sql attribute Type Bit [closed]

Good afternoon guys, I have a doubt about this "Bit" guy. I have to insert some data into a table from c # but one of those data is a bit type .. what kind of data from c # equals the bit type in sql server?     
asked by 07.10.2017 / 23:58
0
answers

Manage concurrent invocations (WCF) C #

I have developed a chronometer to practice a little WCF . In this case, the server is responsible for making a decrease of x to 0 and the client receives in real time the state of the latter. The problem I have is that if...
asked by 06.09.2017 / 20:22
1
answer

C # Injection of dependencies in UnitTestProject

Good morning. I am setting up a test project to test a webapi (for now only the controllers). This uses Unity for the dependency injection. For this, in my test project I have included the Unity 4.0.1 library and I have made the following cha...
asked by 29.08.2017 / 10:00
1
answer

Save data in txt by going through a select

I need to develop a program that stores the result of a select in two variables and saves the data in a txt and shows by console the iteration resulting from the urls I could already get it to print correctly in the console, they could...
asked by 24.08.2017 / 21:11
1
answer

Work with lists without known columns

I have a form that receives a list, to show on the screen and allow to choose, or even, to search in it, something simple to not use heavy and expensive controls like DevExpress , the subject is the following: The form receives the list...
asked by 25.08.2017 / 18:21
0
answers

How to Open Cash Drawer connected to a Receipt Printer via USB with c #

Good afternoon, I have a project in c # that when you print from a receipt printer connected by usb also open your money drawer that is connected to the printer. I managed to print but not to open the cash drawer. printer details: NCR 7197 RE...
asked by 26.08.2017 / 18:53
1
answer

I can not connect to MySQL from C #

I'm trying to connect to a MySQL database in C #, and my code has been working perfectly since I started, but sometimes I know it's giving me this error like, every 2 days, sometimes it connects sometimes not , I have 2 DB in different servers a...
asked by 04.11.2017 / 09:16
0
answers

MVC4 C # problems calling Action from Controller

I have an index.cshtml that contains a JqGrid grid, which is filled with a controller method and works correctly. (invoke the method from the client and fill all its fields) Then I have a function _editRow that is executed when a record o...
asked by 23.04.2018 / 21:58
0
answers

Why does an unmapped property that returns another property return me an error?

Good to see, I have a navigation error in an EF class where Linq navigation is not supported, I would like to know if someone happened this and if they have any suggestions on how to solve my problem. Error: The specified type member 'Prop2'...
asked by 11.08.2017 / 20:10
1
answer

Do not create a table in BD based on the model in MVC 5

I'm working with ASP.NET MVC and I need to have it show me a list of registered users, although I do not want them to be saved in the database, but I get them from the RegisterViewModel model that was created automatically when the projec...
asked by 02.08.2017 / 22:19