Questions tagged as 'c#'

0
answers

Conversion error in the Deserialize method of RestSharp

I have a method that consumes a Rest and then deserializes using a class. It was working, but maybe because of the return change it made the error appear. My method looks like this: public void LoadPedidos() { var client = new RestClien...
asked by 21.10.2016 / 18:12
1
answer

Make a post on an external url

They put me in a project that was made in ASP.NET MVC 2 and need to be integrated with Itaú Shopline, I downloaded the Itall dll, I did all the encryption procedures, I can generate the data, but at the time of sending to the external URL the po...
asked by 21.10.2016 / 13:15
0
answers

Error running Xamarin project in Visual Studio 2015

When I try to run my project Xaramin the following error is reported:    Severity Code Description Project File Line Column Suppression State   Error Exception while loading assemblies:   System.IO.FileNotFoundException: Could not lo...
asked by 27.11.2016 / 15:03
0
answers

Row.Cell is coming empty

I made a button to inactivate several people in a gridview , the first time the process is right, when you refresh the page, Row.Cell always comes empty, does not recognize the selected ones to inactivate. Code: using System; u...
asked by 19.10.2016 / 12:33
1
answer

Xamarin Error Build FAILED: Unsupported major.minor version 52,0

I'm using Xamarin Visual Studio Comunti 2015 After compiling a project, however I get the following err: Exception in thread "main" 1>java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 5...
asked by 17.10.2016 / 16:42
0
answers

adept javascript code for c # (treeSample)

I'm trying to pass a working code in javascript, to C # I'm trying hard with the syntax, the code transforming the list of data into a tree structure. could anyone help? // Array de dados. A primeira coluna é o valor do nó; a segunda, indi...
asked by 17.10.2016 / 19:51
1
answer

Status with colors in gridview asp.net C #

I need to make the texts of the exam statuses of an app appear in different colors, in the case of black, marked green and not red, these statuses are in an Enum. Follow my code if anyone knows the best way for this implementation....
asked by 14.10.2016 / 07:57
1
answer

How to get the class value of a div that is inside a RepeaterItem?

Below the simplified code: Current behavior 1. When clicking on "divOnoff", the div class "divOtivoOnOff" toggles the value of each click between "OnOff on" and "OnOff off". How to save this value in HiddenOnOff? <asp:Repeater ID="RptModu...
asked by 14.10.2016 / 15:10
1
answer

LINQ Return from list has all records repeated

I'm having problems performing a select (using LINQ) in a View in SQL Server 2012. The values stored in the database are as below: ID_Acomp ID_Pessoa Nome Data 26 300 MONTEIRO 01-01-2016 27 300...
asked by 14.10.2016 / 21:21
0
answers

Query delay to be finalized

Good afternoon, I have a problem executing a query in C # using NPGSQL. try { bdConn.Open(); NpgsqlCommand sql = new NpgsqlCommand(); sql.Connection = bdConn;...
asked by 14.10.2016 / 20:34