Questions tagged as 'asp.net'

1
answer

Connection string for different users logged in

I'm doing a work and I came up with a possibility that I would like to know if it's possible to do it: the purpose of this idea is to switch a certain connection string as the logged-in user. That is, I will have a connection string...
asked by 18.11.2016 / 12:23
1
answer

Is it possible to have a repeater line not repeat? W#

Is it possible to have a repeater line not repeat? Or bind in lines of FooterTemplate of Repeater ? I need the last line I tried to put in FooterTemplate does not repeat, because they are the total values. When I leave in ItemTem...
asked by 16.11.2016 / 18:15
1
answer

tag with display: none - asp net

I have some tags <h3> , <p> with display: none or empty (usually use them to display messages or some div), when clicking on any system event, these tags appear: display: block or else they are filled by...
asked by 05.01.2017 / 08:13
1
answer

Download a pdf from a WEB application to a desktop application, in C # [closed]

I have to do a job for college using C #, with Visual Studio, where a user accesses a web application, uploads a file, and sends it to a remote desktop machine and saves it to a specific folder. I will use ASP.NET MVC in creating the WEB appl...
asked by 06.10.2016 / 21:13
1
answer

make a button to terminate user session (asp)?

I'm developing a site that allows the user to log in to his account and such, but I need q after he logs that login button sum and one appears to end the session (a quit button). <nav class="acceder"> <ul> <li>...
asked by 14.10.2016 / 15:42
1
answer

Error making a return in windows form c #

Someone could give me a hand, please, I'd like to know what I'm doing wrong for this giving this error when it returns. I want to show in Grid these fields: SubCategoriaId, SubCategoriaNome, CategoriaId, CategoriaNome I have a parame...
asked by 22.06.2016 / 10:42
2
answers

DataReader opens and gives error for not closing

I have DataReader on my website to read the data the bank brings. I have a problem with VS, but I do not know how to do it.    There is already an open DataReader associated with this Command that must be closed first Would there be...
asked by 18.10.2016 / 14:24
1
answer

Are MVC and Webforms (with code-behind) paradigms mutually exclusive?

My question comes from an instructor's explanation that the MVC standard applied to the presentation layer, but when I came across #     
asked by 01.06.2016 / 13:11
1
answer

SUM within SUM Entity Framework perfomance

I've done a query with entity framework and I'm having performance issues. public static Decimal ValorPrevisto(this ClinicaModel clinica) { return clinica.Contratos.Sum(c => c.Mensalidades.Where(m => m.Pagamento != n...
asked by 18.03.2016 / 04:22
1
answer

jquery ui dialog does not expect confirmation

I'm using a ListView to generate buttons according to IdPassoWorkflow , and display the buttons as shown below. Whenclicked,Iopenadialogfortheusertoconfirmtheaction,theissueisthatdialogdoesnotwaitforuserconfirmationandalreadycal...
asked by 08.01.2016 / 12:46