Questions tagged as 'c#'

0
answers

Error calling generic handlers (ashx) c # with JavaScript getXMLObject

I have a generic handlers that I plan to use to check the database connection from my website, it is called by a JS file which uses > XMLHttpRequest to make the request to the server IIS local and return an object that will be shown in t...
asked by 29.07.2017 / 05:12
0
answers

Problem DatagridView C # asp [closed]

Good morning, please help me: I'm doing a datagridview where you can view it from the database. that in my datagridview has these columns as image: * Ticket Days Missing. Date State Visualize Where it says visualize I wan...
asked by 08.03.2017 / 23:00
0
answers

SOAP web service consumption with certificates

I must make an application in C# where I can consume a web service of a Bank, using certificates: These are the transport, messaging and security management protocols in the messages: Transport Protocol: HTTPS in two ways Messaging...
asked by 15.12.2016 / 13:55
1
answer

Create filter in excel from C # using Interop

In the header I want the filter to appear once the document has been created in excel. I have tried several options and combinations, but NO have worked for me. Option 1: oRng = oSheet.get_Range("A1", "J1"); oRng.AutoFilter("1",...
asked by 27.12.2016 / 12:59
1
answer

Paginate the result of a query with Linq

I am working with Entity Framework version 6 together with SQL Server localdb 13.0.2151. I have 4 entities Professors, Resources, Subjects and Assignments. The query I intend to make must retrieve all Assignments along with their Resour...
asked by 06.12.2016 / 17:48
0
answers

Error installing AutoMapper in VS 2012

I am using Visual Studio 2012, NET Framework 4.6.1, when I try to install AutoMapper I get the following error. PM> Install-Package AutoMapper Install-Package : 'AutoMapper' ya tiene una dependencia definida para 'NETStandard.Library'. En...
asked by 05.12.2016 / 01:10
1
answer

CheckBoxFor in Razor with MySQL bit value

Could you help me please? I have in my database MySQL Bit fields (1), I do the Model and I work it in the controller with true or false ( Boolean ), until then everything is fine. In Razor I call my field...
asked by 02.12.2016 / 19:17
0
answers

How to get an authentication token, just by sending the userName (Active Directory)

I have my code that generates the apiToken, but this requires a userName and password, it works correctly if the correct data is sent, what I want to achieve is that I generate that token but only with the user of the active directory, because o...
asked by 21.11.2016 / 14:39
0
answers

How to generate the client that shows the data of this service echo in NuSoap

Hello, I have the following web service. <?php function ProcessMySoapObject() { $responce =[10]; for ($i=0; $i <10 ; $i++) { $object = (object) ['Nombre' => 'Nombre'.$i,'Descripcion' =>'Descripcion de la'.$i,'Preci...
asked by 08.12.2016 / 02:05
0
answers

How can I compare a data binary with GridFs in MongoDb?

I am using C # and MongoDB as the database engine. In my application I keep the User's Footprint used the following lines in C #. var id3 = ObjectId.Empty; using (var file = File.OpenRead(rutaArchivo)) {...
asked by 14.11.2016 / 23:19