Questions tagged as 'c#'

1
answer

Strange error on line XLWorkbook

Follow the code: protected void importar_Click(object sender, EventArgs e) { if (selecionarArquivo.HasFile) { if (Path.GetExtension(selecionarArquivo.FileName) != ".xlsx" && Path.GetExtension(selecionarArquivo.Fi...
asked by 28.02.2018 / 13:04
1
answer

Linq to Entities - Count elements of a query that references two contexts

I have the following query: var query = (from q1 in query1 join q2 in query1 on q1.idGenerico equals q2.idGenerico into q2Left from q2 in q2Left.DefaultIfEmpty() join q3 in query3 on q2.idGenerico equals q3....
asked by 16.03.2018 / 19:17
1
answer

select data from a sql server procedure in C #

I made a procedure that takes all the data of all the columns of my sql table of interest, in my application asp in C # I can put all the rows in a list, but I need to refine this search by taking only all the data of a column only. I researched...
asked by 11.01.2018 / 12:10
1
answer

GridPanel CheckboxSelectionModel - Add selection (ext.net)

How can I add a particular column that is selected via java-script? I'm using ext.net. <script> var sumCheck= function () { var resultSum; /* todo loop selectedrows resultSum += column(...
asked by 12.12.2017 / 17:40
1
answer

How to execute multiple commands (cmd) C #?

Good people, I need an application that captures the input and output, so that after executing a command the same prompt is not closed. Now I can execute commands and capture output in isolation. Here is the function I did: public string Cm...
asked by 28.07.2018 / 03:24
1
answer

External connection to sql server by android application, C # xamarim [closed]

Well I'm looking for information about what procedure to access a sql server database by android.     
asked by 28.07.2018 / 15:44
1
answer

How to perform a Left Join with LINQ C # using my SQL?

Example that works in SQL: select * from Doacoes inner join Projetos on Projetos.IdProjeto = Doacoes.IdProjeto left join Pedidos on Doacoes.IdDoacao = Pedidos.IdDoacao left join Recompensas on Pedidos.IdRecompensa = Recompensas.IdRecompensa...
asked by 07.12.2017 / 12:39
1
answer

Calling JS in C #

I'm working on WebForm with MasterPage, in this framework I'm not able to make modal call (js) in my C #. Intheeventofthebutton(intheimageabove)withinamodalthesameasarefreshonthepageandkillsthemodal,followthecodebehindinC#:protectedvoidbtnIm...
asked by 06.12.2017 / 18:03
1
answer

How to create an image with hover effect in C # [closed]

I'm not sure how to do this, but I'm not sure how to do it.     
asked by 28.11.2017 / 19:05
2
answers

How can I create a list

I need to create a list, where it will list all the existing items within an order. In the method below I can bring an item, but I can not bring it if I have more than one. My question would be, do I have to create a method in code behind...
asked by 19.09.2017 / 15:15