Questions tagged as 'c#'

1
answer

Error receiving Picker content

I have a client registry and I need to change the registry of a client at some point, but to make the change I have to deal with a Picker field, only it gives an error when I try to bring the content that is written to it soon after, if change....
asked by 24.04.2018 / 22:46
1
answer

Return Json with XMLHttpRequest

How popular is a table with JSON using XMLHttpResquest POST ?    Jquery var xhr = new XMLHttpRequest(); xhr.open("POST", "/EnvioEmail/PlanilhaPaciente", { area: "Sistema" }, true); xhr.addEventListener("load"...
asked by 02.05.2018 / 19:02
0
answers

Build VSTS with error (missing an assembly reference)

Has anyone had this error while running the build in VSTS? I have a C# project, which runs locally and can publish to the server. I tried to check in the project in VSTS, to automate the build and the error below always occurs ... 20...
asked by 02.05.2018 / 19:33
0
answers

OnNavigatedTo method is not always executed

When I try to change the scene using this.frame.Navigate () event, the class responsible for handling this event has the onNavigatedTo () method that supposedly should always be executed but only a few times it runs, I'd like to know how I can d...
asked by 23.04.2018 / 20:04
0
answers

Get value with GridDataItem

I have 3 grids, one inside the other as a tree. As I get a value from the first grid, being inside the 3rd grid, I have the code: GridDataItem parentItem = ((source as RadGrid).NamingContainer as GridNestedViewItem).ParentItem as GridDataItem;...
asked by 24.04.2018 / 14:05
0
answers

Add image to QR code generated by ZXing.Net C # MVC

QrCode being generated   MyQrCodecreationclause:publicstaticclassQRHelper{publicstaticIHtmlStringGenerateQrCode(thisHtmlHelperhtml,stringurl,stringalt="QR code", int height = 500, int width = 500, int margin = 0) { var qrWriter = new...
asked by 23.04.2018 / 20:49
0
answers

How to update in a table using mysql c # and a method?

Is it possible to use a method or class that uses table fields to do an update on this table? For example: update record field 1 with f (record field2), record field1 with f (record2 field2), etc ... reg|campo1|campo2 1 f(x) x 2 f...
asked by 23.04.2018 / 15:50
0
answers

Generate Object with values from a resource file

I have Resource File with the following values: Name: Value: Teste1 TesteUm Teste2 TesteDois And I read as follows: ResourceManager rm = new ResourceManager("MyResource", Assembly.GetExecutingAssembly());...
asked by 23.04.2018 / 21:26
1
answer

Integrating API in C #

I would like to pass the result of this API to a TextBox . I'm having trouble fetching information from this class to the graphics part. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; usi...
asked by 22.04.2018 / 19:04
0
answers

AVL Tree Rotation

How do I fix this rotation method? Public void rotSimplesEsq(AVL node) { AVL aux; aux = node.right; node.right = aux.left; aux.left = node; node = aux; }     
asked by 28.04.2018 / 02:30