Questions tagged as 'c#'

1
answer

Passing and Catching the CommandParameter of a Xamarin Forms Button

How to pass a value that is in a Binding by the CommandParameter of a button that is within a ListView to ViewModel ? The button is accessing Command right, but I do not know if this is how CommandParamete...
asked by 27.12.2016 / 19:15
1
answer

Bank Account Validation Rules [closed]

Where do I get the official bank account validation rules and check digit? After a lot of Google search, I can only find rules ten years ago and in forums, with no source reference. I learned that Itaú has undergone changes in its rules and I...
asked by 20.10.2016 / 15:18
1
answer

How to exclude row from datagridview?

Populate datagridView like this: dgvProdutosErp.DataSource = produtos; // produtos é uma lista I try to remove it as follows: foreach (DataGridViewRow row in dgvProdutosErp.Rows) { dgvProdutosErp.Rows.RemoveAt(row.Index); }...
asked by 26.10.2016 / 14:10
1
answer

How to Load TableView Dynamically

Hello, I'm having trouble creating a menu dynamically by loading directly from a list. In my project this is as follows <?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xm...
asked by 17.10.2016 / 18:00
1
answer

Entity Framework, doubts with the structure of the solution (app.config and package.config)

I started a solution with Entity Framework code-first. In the structure of the solution, I have separated the domains from the other EF files (context, etc.). That is, the domains were in a separate project. However, for me to be able to make us...
asked by 23.05.2016 / 23:43
1
answer

Redirect to a controller in another area

I tried a solution for this but I could not, I'm trying to redirect session errors to login, my application stays inside a folder called Areas and when I see something redirect to it I redirect it like this: <li><a href="@Ur...
asked by 11.10.2016 / 19:27
1
answer

C # - Access Denied Windows Files

Hello, I'm doing software that can scan certain Windows files, where I leave certain types of extensions in it, but when I put it to scan the following access denied message in certain folders. The code would be as follows: DirectoryInfo di...
asked by 04.05.2016 / 18:33
1
answer

redirecting C # / javascript pages

I have a somewhat silly question (I think), I have to do a filter for client and I need to do it urgently, so I gave a "fast" solution to my problem, I created a controler that does client search but now with a filter, and returns to a page simi...
asked by 27.09.2016 / 18:47
1
answer

How to check if the framework is installed in the correct version?

Requirements to install the main software: .Net Framework 4.5.1 Service Pack 1 In other words, I am creating a download manager that downloads the correct version of the main software (32 or 64 bits) and the manager himself scans the client mach...
asked by 25.09.2016 / 19:13
1
answer

How to use an enumerator as an ItemSource of a ComboBox?

Assuming I have the following: enum Dias {Segunda, Terça, Quarta, Quinta, Sexta, Sábado, Domingo}; How can I use the enumerator Dias as ItemSource of a ComboBox in a WPF application? For example: <Combo...
asked by 23.09.2016 / 23:35