Questions tagged as 'c#'

2
answers

Program communication in C ++ with one in C # [closed]

Good people, I'm going through a little problem, I have a c ++ application and I have to get the output of it to be read by a C # program. I would like to know if there is any way to do this? I wanted to have a communication between them.     
asked by 12.04.2016 / 13:13
0
answers

Upload Application in Windows Store

I have aplicativo universal created in visual studio 2015 updated. When uploading the application and the following message is displayed: Error :    "The declared package dependency does not exist Dependency:   Microsoft .NE...
asked by 08.04.2016 / 17:48
0
answers

Decorator Pattern with Repository Pattern

I have a need here and I'm having a hard time implementing I have an application with Decorator Pattern and would like to update the data of my components by taking the information directly from the database, but I am not finding a legal way to...
asked by 13.10.2015 / 18:45
2
answers

Return a similar value from path

No result in this post , I would like to know how it would be used the Directory.GetFiles function, to list the files and folders within it without showing the full path. Ex: public List Listar(String a){ return Directory.GetFile...
asked by 13.10.2015 / 22:38
2
answers

How do I get the data typed in the TextBox that was dynamically created?

I have created some TextBox controls dynamically in my Code Behind and need to retrieve the values in a new method, however I can not use% changed% in a new method. try { DataTable tbDadosAux =// Método para...
asked by 13.10.2015 / 18:28
0
answers

The underlying connection was closed: The connection was closed unexpectedly

I'm designing in WebForm, and I'm passing an array to a method that will make a post for a specific URL. However, after I run the project and send the array to the method, it breaks with the error reported in the title. private void webBrow...
asked by 14.10.2015 / 03:59
0
answers

Update ASMX web service reference dynamically

I have a C # application that consumes a webservice asmx (which is also developed in C #). Whenever I publish a new version of webservice, I need to update the (webservice) reference in the applications that consume it. The update operation...
asked by 10.02.2016 / 20:37
1
answer

Plugin chosen ASP.NET MVC

I'm trying to use the chosen ( link ) plugin with DropDownListFor , however when using this plugin the validation of the field not working. Caixa.cshtml @model CaixaViewModel <div class="row"> <div class="...
asked by 04.03.2016 / 15:43
0
answers

Error removing data in Gridview asp.net c #

This is my method of deleting from gridview: protected void TabelaAlimentos_DeleteRow(object sender, GridViewCommandEventArgs e) { if(e.CommandName == "Delete") { GerenciarAlimentacaoController controller = new Ge...
asked by 14.02.2016 / 01:23
1
answer

Linq + Lambda, subquery, distinct and not in, how to improve this query

I had the following syntax in SQL SELECT tbl_boleto.int_IDC, tbl_Admin.int_STATUS, tbl_Admin.int_CONVENIO, tbl_Admin.int_PLANO, tbl_Admin.int_RESTRICAO, tbl_Admin.str_URL FROM tbl_boleto INNER JOIN tbl_Admi...
asked by 08.03.2016 / 20:30