Questions tagged as 'c#'

2
answers

How to copy a repeater on the same page

I have a repeater control with data filled in an aspx page, the same page has the modal, the modal appears at the click of a button. How do I reuse the same repeater to list in the modal? Repeat: <asp:Repeater ID="rptPagamentos" runat="...
asked by 29.04.2015 / 15:21
1
answer

Make a query in Linq and see in index

I wanted a linq query that shows the attributes of the availability table and the name of the respective catechist that is in the person table. In the index will appear: Nome | AnoPastoral | DiaDisponivel | HoraDisponivel | Observacoes I'm...
asked by 14.12.2015 / 13:24
1
answer

Get data from each row of a column in C #

It's as follows, I have a DataGridView with multiple columns. In each line of this DataGridView will be presented the installation path of a program. With this displayed value, I'd like to use it to get the size of that folder and...
asked by 05.06.2017 / 11:17
1
answer

Problems Xamarin method Asynchronous

In the event of a button of my APP had the following code it worked running in the android emulator, but when I passed the app to the cell phone generates a message the app stopped. Button buttonPessoasNecessita = FindViewById<Butto...
asked by 05.12.2015 / 19:14
1
answer

Consume WebService NFeDistribuicaoDFe - VB.NET or C # - Manifestation / Download NFe

On the National NFe website ( link ) I already have one software made in VB.NET that consumes WEBSERVICES ( NfeConsultaDest E NfeDownloadNF ) but due to a new technical standard these webservices will be discontinued....
asked by 01.02.2017 / 18:42
1
answer

xamarin forms await is not respected

Good evening, Can someone tell me why the code below does not respect Wait, in debug the output order is 1. init save 2. End Save 3. New header ID: 1 instead of: 1. init save 2. New header ID: 1 3. End Save public asy...
asked by 11.10.2016 / 20:48
1
answer

Build Lambda Expression complex

I'm trying to build a Lambda Expression which is a little complex and I'm having difficulties. The goal is this expression: items = items.Where(x => sValues.Any(y => x.Contract_Rates.Select(z => z.CostCenterId).Contains(y))); Ho...
asked by 09.12.2014 / 14:11
1
answer

Malformed reference element: Digital Signature

I ended up having the same problem about a post already done here, however come a doubt next to what was posted in the article. What windows update would be to remove from the ones mentioned in this article ? (removal would be a palliative unti...
asked by 13.04.2016 / 21:00
2
answers

How do I get all the selected values in a DataGridView?

I'm trying to get all the selected values in a DataGridView and add to a IList<Object> but it shows an exception. How to do this? I'm trying like this. IList<Modulo> lista = gridModulos.SelectedRows.Cast<Modulo&...
asked by 10.03.2016 / 18:49
1
answer

How to update a datagridview automatically?

I've created an application that will display the data of a given view in a datagridview control. The whole application is ready: loading the data, the button to update and also the events load and activated . Technologie...
asked by 24.05.2016 / 22:24