Questions tagged as 'c#'

1
answer

The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception

I'm doing a program in C # that attacks an Oracle 12C database that is in another virtual machine, if I connect using SQL Developer I have no problems, I connect and I can work. Now I try to enter from code and I get the error indicated in...
asked by 01.06.2017 / 15:33
1
answer

Ajax UpdatePanel does not work when deployed in IIS8

I implemented a UpdatePanel in a Webform that I need to update automatically every 30 seconds, when debugeo in Visual Studio 2013 works correctly but when I implement it in my Web server with IIS8 is not updated. Help me know if I nee...
asked by 23.05.2017 / 15:37
2
answers

Capture value of a TextBox and check that it is equal to another value in C #

I would like that when the user puts exactly something in a TextBox , like for example 1234 , that another window can be opened later, but only if he puts that in particular. So, how can I check that what the user entered is 1234...
asked by 21.05.2017 / 18:30
2
answers

Extract the certification chain in c #

I would like to have access to the certification chain of a certificate installed in the windows certificate store, I currently get this string but from a pfx file with its key, but now they changed the form and want it to be extracted from a in...
asked by 17.05.2017 / 15:37
1
answer

Get the name of an object in C #

Can I get the name with which I have instantiated an object and save it in a string? float[] objeto1 = new float[4]; float[] objeto2 = new float[5]; new Vectores().MejoresAlumnos(objeto1 , objeto2); class Vectores...
asked by 02.11.2017 / 18:41
1
answer

Insert data to sql server only if the 3 "insert" were correct

Good afternoon, I am currently filling in 3 tables in my database, so when the data is obtained they are entered in the first table, I get the primary key of the first insert and then fill it in the following two, I tried my code and everything...
asked by 09.11.2017 / 20:55
1
answer

A canvas control is frozen

Working with Visual Studio 2015, WPF I have a Canvas control which serves as a canvas to draw a skeleton that I get by scanning through the Kinect device when I get in front of the device my skeleton that appears on the canvas freezes. I trie...
asked by 09.11.2017 / 22:23
1
answer

Consume Webservice with asp.net c #

Good afternoon I would like you to help me I am trying to consume a service. so I have been told to consume the service DtoGeneradorTablaAmortizacionRequest then when you check the result I will vote for another service called DtoDividendo b...
asked by 25.05.2017 / 20:40
2
answers

Run query in Access from C #

I have the following code in C # that I use to consult information from a database in Access: public DataTable selcfecharegitro() { DataTable dt = new DataTable(); OleDbDataAdapter da = new OleDbDataAdapter(); DataSet ds = new Data...
asked by 27.01.2017 / 17:30
2
answers

ASP.NET MVC - Models

I'm working with the MVC design pattern, I have a three-layer architecture, is it necessary to put the models in the Models folder ?, can the models go in another project?     
asked by 18.01.2017 / 04:49