Questions tagged as '.net'

1
answer

Nothing value in a query to an xml tag using linq .net

I have the following xml: <ns1:TRetLote_GNRE xmlns="http://www.gnre.pe.gov.br" xmlns:ns1="http://www.gnre.pe.gov.br"> <ns1:ambiente>1</ns1:ambiente> <ns1:situacaoRecepcao> <ns1:codigo>100</ns1:codigo>...
asked by 14.01.2016 / 18:28
2
answers

Error when inserting in batch using OracleCommand

I need to optimize a load application that runs through a database and writes to another database, but that has to be done through a Windows Forms application. I am doing this using ArrayBindCount of OracleCommand , but it is retu...
asked by 15.01.2016 / 17:09
1
answer

Take a snippet from a string

I want to get the word "[email protected]" inside this MetroMessageBox I tried this, but it did not work: String[] palavra = ex.Message.Split(new String[] { "(", ")" }, StringSplitOptions.RemoveEmptyEntries);     
asked by 10.12.2015 / 12:57
0
answers

Error in some computers when trying to capture the voltage of the processor by WMI

On only a few computers when running my hardware specification program, it reports an error on line 155. public static String voltage() { String Ic = String.Empty; foreach (var item in new Management...
asked by 01.12.2015 / 15:46
1
answer

How to add more than one DataRelation to a Dataset in C #?

Is it possible to add more than one DataRelation to a DataSet? I need three columns in separate tables to be related.     
asked by 09.01.2016 / 17:45
1
answer

CrystalReports version 13.0.2000 does not export

I'm having a .NET 4.5 webforms project, with reports using Crystal Reports version 13.0.2000 . Reports do not export, do not explode exceptions , nothing, simply the screen does a refresh postback and nothing happens.     
asked by 10.11.2015 / 20:08
1
answer

Reference error

Hello, I copied a solution from one folder to another and started giving some reference errors, it's an Asp.Net application that has a Web API project. In the original folder the application is running normal, in the folder of the copy when I...
asked by 20.10.2015 / 14:00
1
answer

On ConsumptionEvent Error 215 Rejection: XML Schema Failure

I am trying to consume the event reception service on the farm, specifically inform the science about an NFE: https://www.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx But I got the following return: <?xml version="1.0"...
asked by 09.11.2015 / 15:44
0
answers

The underlying connection was closed / HttpWebRequest

I use this request to get the return of a page, but my connection is rejected with this message The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. Follow the model of my connect...
asked by 15.10.2015 / 15:10
0
answers

Return Data Excel VB.NET

I have a problem to return the excel data to a DataGridView ... I am using the commands below Dim connectionStringExcel As String = "Driver={0};DriverId=790; Dbq={1};DefaultDir={2};Extended Properties=""HDR=yes"";" Dim driverExcel As String =...
asked by 09.11.2015 / 13:42