Questions tagged as 'c#'

1
answer

Get TAG reference from daughter of an XML C #

XML: <?xml version="1.0" encoding="UTF-8"?> <clientes> <cliente> <nome>Cliente1</nome> <contatos> <contato> <nome>Contato1</nome>...
asked by 02.09.2015 / 15:39
1
answer

Filter by group and minimum value

I have the following table: ********************************* * IdPessoa * DataVen * Observ * * 10000000 * 01/01/15 * Teste1 * * 10000001 * 01/01/15 * Teste2 * * 10000000 * 01/01/12 * Teste3 * * 10000001 * 01/01/13 * Teste4 * * 10000001...
asked by 10.08.2015 / 16:09
2
answers

DateTimePicker, get first and last day of the month [closed]

How do I get the first and last day of the previous month, to fill a% on screen with%? Ex: Data Inicial 01/07/2015 Data Final 31/07/2015     
asked by 12.08.2015 / 15:12
3
answers

Manipulating with Update Panel

I'm working with asp:button e asp:Listbox using the click event of asp:button to populate the listbox. I'm trying to manage so that no more postback occurs in the click of the button event, but how I'm implementing is...
asked by 24.12.2015 / 15:39
2
answers

BindingSource between more than one class

I'm developing a system in C # windows form where I have my classes developed according to my database. My problem is that I am not getting my BindingSource to list the query data in a DataGridView. Here is the method that populates the BindingS...
asked by 26.08.2015 / 18:06
1
answer

How do I add more than two conditions to an Expression dynamically?

I need to pass a list of Expressions as a parameter and create the 'Ands' as dynamically as possible. So, whenever I add a new Expression to the list, I will have to change the class that mounts Expression as well. Para...
asked by 21.08.2015 / 15:47
2
answers

Fixed and unique value in Android in Unity 3D

I'm having difficulty getting a single, fixed value in C #, so I need to get a value like this, for security reasons in my software. I have tried using SystemInfo.deviceUniqueIdentifier , but unfortunately when turning off the wifi of...
asked by 24.08.2015 / 18:29
1
answer

Error connecting to remote database

Good evening, I'm having trouble with the following context: MySql Using the line of code below I tried connecting to a remote mysql server to try to access some tables and comes with the following error: SinceI'vetriedeverythingan...
asked by 19.08.2015 / 01:03
1
answer

JsonConvert returns exception in XmlNode

I was trying to convert Json to Xml so it made it easier to read. And I used the following code ... using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using System.Diagnostics; using System.Xml; u...
asked by 22.11.2015 / 22:10
1
answer

What is the purpose of Int32Rect variables

I downloaded a project that works with images and in some cases it uses variables of this type, I do not understand the purpose of this type of variable in image processing.     
asked by 22.11.2015 / 04:01