Questions tagged as 'c#'

1
answer

How to create a GridView

The examples I saw on the net none worked, or were very personalized. I just want a simple table with 4 columns that will be populated with data from a bd. The same will be within a simple modal: <div class="modal fade open" id="modalVersao...
asked by 16.03.2015 / 21:54
1
answer

pick up customer with certain types of purchases

I have these tables:    Sales: SalesList (int) PK, SalesDate (DateTime), QdeItem (Decimal),   Sales Value (Decimal) .IDItem (FK), CustomerID (FK)       Item: IDItem (int) PK, Description (Varchar), ValueItem (Decimal)       Client: Customer...
asked by 30.03.2015 / 16:28
1
answer

Decrypting XML with private digital certificate password

I need to decrypt this XML: <?xml version="1.0" encoding="UTF-8"?> <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"> <xenc:EncryptionMethod...
asked by 28.04.2015 / 03:03
1
answer

Windows Form: Microsoft Skin

Currently, I'm seeing several programs from Microsoft and others with this look: I wanted to know if it's a free skin and link .     
asked by 29.04.2015 / 00:24
2
answers

How do I get the server time or the current time of day and change in the system via code?

I need to update an O.S system with the time of another micro, in case this other micro would be a server. I would like to do this via code. Another method that would also help would be to pick the right time of the day and compare it to the...
asked by 16.02.2015 / 18:54
1
answer

Last publication date

We're having issues with publishing. We use TFS to version the application. But there are two people doing the final publication (I do not accept that). Is there any way I go in Visual Studio and see the date of my last posting on my machine?  ...
asked by 09.03.2015 / 13:56
1
answer

How to use column data from a query as a row in the datagridview?

I have a query with 3 columns that bring data from the Oracle database and I want to use one of these columns as a line in datagridview . There are 3 columns name , data and contagem de nomes , and in the Data...
asked by 04.03.2015 / 19:37
1
answer

List method does not return objects

Method with EF     List internal List<Arquivo> GetAllArquivo() { using (var ctx = new TESTEntities()) { var arquivos = ( from ver in ctx.ARQUIVO select new Arquivo()...
asked by 10.02.2015 / 12:37
1
answer

Problems with sorting within a repeater

I have repeater: <asp:Repeater ID="rptDocumentosRepeater" runat="server"><%--onitemdatabound="listaDocumentosRepeater_ItemDataBound"--%> <HeaderTemplate> <legend class="uppercase">Lista de documentos</leg...
asked by 04.02.2015 / 17:04
2
answers

Add new Controller

When I add a new Controller to my project using the MVC 5 Controller with views, using Entity Framework option I'm having the error there was an error running the selected code generator , depending on the image.     
asked by 09.01.2015 / 18:50