Questions tagged as 'c#'

2
answers

How to communicate with a device connected in lan

Good, I'm fiddling with a biometric fingerprint sensor, my intention is to get the data through a program. But I've found that to begin with, even though I can ping him, I can not communicate with him using the Socket class. static void Probar...
asked by 17.03.2016 / 12:48
1
answer

Conditional on a field in the view

I'm doing maintenance on MVC for an employees table. I have made a grid that shows the list of employees, and I added buttons to edit and delete in each record, but I want to say delete instead say "Give High" or "Unsubscribe" depending on the f...
asked by 08.03.2016 / 21:04
1
answer

How to use an if loop with a result of system.data.row

I have a web service that has a logical data set. When I use LINQ to be able to obtain a parameter that I want, I do it without problems. Where I find problems is when I call a second web service and I have to make a condition IF to on...
asked by 10.03.2016 / 19:49
1
answer

Could not load file or assembly 'System.Web.Http, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35' or one of its dependencies.

Good afternoon, For several days I have come with this error It is an application that consumes a wcf but when loading the data in the jqGrid generates error "HTTP status code: 500" and then removes the window from the image. Navenga...
asked by 24.02.2016 / 21:02
1
answer

Error installing Paypal SDK Xamarin

I'm trying to install the Paypal SDK (1.7.0) and I get the following error:    Could not install package 'PayPalCoreSDK 1.7.0'. You are trying to   install this package into a project that targets   'portable-net45 + win + MonoTouch10 + MonoA...
asked by 19.02.2016 / 00:02
1
answer

Use .NET component in COM + application

In my company there is a asp application that interacts with COM + components made in Visual Basic 6 and one of those COM + components interacts with a component made with .NET C #, for which the type library had to be created ( tl...
asked by 24.02.2016 / 23:07
3
answers

Increase in loop For not working

I have a for loop that does not work properly for me. If I do a Debug, the increment always resets to 0 so it only reaches 1. Here is part of the code: First I loop % for to call the userID var userDataId = client.GetUser(D...
asked by 01.03.2016 / 19:03
1
answer

Return an entity

I'm working with Entity Framewor app windowsw forms, I need to return an enbity for that I'm calling the Single method but I do not know how to use it What I try to implement if it exists returns an entity and does not exist, it returns a...
asked by 07.06.2016 / 19:43
1
answer

Error updating web service reference

Could someone tell me why I get the following error when updating the reference to a web service?     
asked by 08.06.2016 / 20:30
0
answers

Overflow of SqlDateTime. It must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM

Good morning: I am using c # with crystal report I am doing a report with date parameters, the question when I execute the stored procedure in c # I get the error already mentioned in the title , I would like to know what my error would be....
asked by 31.12.2018 / 02:11