Questions tagged as 'c#'

1
answer

I can not change the form code C #

Good evening guys could you help me? Hi, I am using C # with SQL Server database, I have a form with two fields codeCdd and descriptionCdd both of type text, I can include and exclude data from these fields without problems, but when I change bo...
asked by 08.12.2016 / 20:42
1
answer

Use Droid project class in PCL Xamarin Forms

How do I use a class that was created in the project Droid in PCL ? I've created a new class that will save the image to a folder in the project, but I need to call this class in PCL . My class: namespace PCI.APP.Droid...
asked by 12.12.2016 / 14:30
1
answer

Object reference not set to an instance of a Visual Studio object

I am having problem in the id variable of my dataGridView, it is giving the following error: "Object reference not set to an instance of a Visual Studio object". I am using Windows Form, MySQL and the DataGridView. Here is the code: //Declaran...
asked by 04.11.2016 / 11:53
1
answer

.Include () does not load child class - Lazyloading C #

I was using the DDD Model with Repositories and with 3 layers of data, (with% of%,% with% and% with of%), with the help of some users here I decided to change the project and now I've finished removing 2 layers to Serviço and Repositor...
asked by 04.11.2016 / 16:44
1
answer

The member with identity '' does not exist in the metadata collection?

I could not figure out how to solve this problem between my base and my mapping using Fluent API. I have a mapping in the Fluent API of a certain pre-existing table in the client database, however this table has a trigger that is triggered...
asked by 04.11.2016 / 19:48
1
answer

Question about ReportViewer C #

Good night, I would like to know if you have a text in the report, for example I'm making a receipt and I put a textbox and I would like to put it all on the same line, for example I got the name, nameRazao_cli, CPF holder, cpf_cli , the importa...
asked by 02.11.2016 / 02:14
1
answer

Possible values for ComboBoxPopupAnimationKey?

I recently had a bug with combobox on WPF . It was bug related to a "haze" at the source when it had only one item in the combobox while it opened. I solved the problem by removing the animation from it with the...
asked by 31.10.2016 / 19:28
1
answer

How to give reload in a WebViewer by time interval in Xamarin Android?

I'm creating an application, where you have a WebView that needs to be updated from 5 in 5 seconds while the Switch is checked, and when you uncheck it, it should do the page stops loading. I tried to use a while, but the application is w...
asked by 01.11.2016 / 22:54
1
answer

Extract information from the request header in Fiddler

I need to extract information from the request header in the FIDDLER application to make a comparison of a context variable that is sent in the header and set routes based on that variable. In case, if the variable is value 3, the...
asked by 24.10.2016 / 14:06
2
answers

What is Serialize and Deserialize for? [duplicate]

My question is what is it for Serialize and Deserialize in C #. I have an API and am having some issues with this, so I want to understand it better.     
asked by 29.12.2015 / 12:46