Questions tagged as 'asp.net'

1
answer

Problem deleting data from a worksheet

I have the following code snippet that connects to excel, where it will exclude data from a tab in a spreadsheet. private void AtualizarPerformanceEntrega() { try { string sFileXLSX = Server.MapPath("ExportPer...
asked by 04.10.2017 / 15:11
1
answer

Authenticate user efficiently and quickly (without setbacks, Identity x Manual)

I need to create a fun system that uses a validation (user, password). I have experience with WebForm, I have already studied a bit of MVC but I still do not feel safe to create a complete application with MVC. For the validation I thought...
asked by 18.08.2015 / 22:36
1
answer

Default browser autocomplete does not work in my WebForms application

I'm using Google Chorme and it has the autocomplete option enabled so much that I can store one login to Facebook . However,inmyASP.NETWebFormsapplication,ontheloginscreenINOIcanusethisfeature.Ididnotapplyanyroutinetocleanthisinforma...
asked by 16.04.2014 / 19:21
1
answer

Compare two date attributes in the database with two TextBox

How can I compare a range of two dates? data_Inicio date data_Fim date textbox_inicio textbox_fim I'll be able to do this soon on the ASP.NET side, and the goal is that my start date is never less than my end date and my end date is never...
asked by 24.11.2014 / 14:54
2
answers

Report is not displayed in Report Viewer when I pass parameters

I'm trying to display a report, but when I pass the parameters via code it does not load the report, if I let it open the browser and pass the parameters at runtime it works normally. Report Viewer code: <form id="form1" runat="server"&g...
asked by 13.11.2014 / 17:35
1
answer

Pass object to WebService

I'm starting development using WebService + Windows Form and I made some silly methods passing parameters, however, I came up with the idea of passing an object as a parameter where the Web Service would return me a string either concatenating e...
asked by 01.05.2016 / 18:02
1
answer

How to decrease byte array size representing an image

I have an array of bytes in base64 that is in a String in C #. It represents an image. The size of the String is between 50 and 80 thousand characters. I would like to know if you can reduce this size, compressing and removing the quality of the...
asked by 29.04.2016 / 01:38
2
answers

Downloading files from FTP

I need to download txt files that are in an FTP, I tried to use the following code apprehended below for this but it does not do what I need. The first parameter of the DownloadFile method is the URL I have, the second parameter is required b...
asked by 18.11.2015 / 14:01
2
answers

Capture Machine ID with C #

Good morning, I have several computers with the same IP output, how can I get any information that leads me to know which computer came a request? I use C # Asp .Net MVC     
asked by 30.09.2015 / 15:59
3
answers

FileUpload without refresh on page?

I noticed that you need a refresh on the whole page to get the server-side file. Would there be some way to refresh to perform this operation? I know it's possible with Ajax, what would it be like?     
asked by 15.09.2014 / 15:18