Questions tagged as 'asp.net'

0
answers

An attempt to attach an auto-named database for file

I am working on a login in ASP but when I do the query it sends me the following error:    An attempt to attach an auto-named database for file C: \ Users \ Jose Pablo \ Documents \ Visual Studio 2015 \ WebSites \ ProyectoFinal \ App_Data \ s...
asked by 17.11.2017 / 22:45
2
answers

ado.net stored procedures asp.net mvc 4

I am working on n-layers asp.net mvc 4 c # web and I want to list an SP that contains inner join and that is listed when an ID is sent . the topic esque to list I do it in the following way in my DAL: public List<Solicitudes> ListarSoli...
asked by 07.11.2017 / 15:56
0
answers

Buttons disabled after file download

After downloading an excel with the grid data all my buttons on the page lose the functionality (search button to refresh the grid with other parameters and download a new excel with other data, eg dates). I have tried to force him to refresh...
asked by 06.11.2017 / 12:40
0
answers

OnClick of a Button does not enter the ASP.NET C # event

I have a problem with a button, it has an OnClick event but it does not enter the function that is programmed in C #. protected void Page_Load(object sender, EventArgs e) { btn_agregarCentro.Click += new EventHandler(this.btn_agre...
asked by 06.11.2017 / 18:01
0
answers

Concurrent Access to a Session Start, is it recommended to use Threads?

I have a question, I hope you can help me, thanks in advance. I am working on a project, a WEB application hosted on IIS;  the approach is that I have a LogIn for the users, but the LogIn must allow a user to log in at the moment, so if two u...
asked by 06.11.2017 / 17:01
0
answers

How to use NPOI SXSSFWorkbook to export large xlsx

I have to export to a client in Excel 2007 (xlsx) a BBDD table of 500,000+ records through web access. Using NPOI or Epplus everything works fine until the table is very large and an Out of Memory is obtained. (ASP.NET-C # -VS2015)...
asked by 30.10.2017 / 14:32
1
answer

C # How to package dlls in an .exe

I have an executable (.exe) developed in Visual Studio 2017, I compile it with Costura.Fody to package all the dll that are needed during the execution of the application, however there are 3 dll that must be manually copied to the same location...
asked by 09.11.2017 / 20:27
1
answer

Search by numeric value sql net mvc2

I must filter the data by the address table data, it works fine with string but with int no. public ActionResult Buscar(string palabra) { IEnumerable<domicilio> domicilios; using (var bd = new serviexpres...
asked by 27.10.2017 / 20:58
0
answers

Problem with Page_Load to get values from a textbox

You see, I have the following problem. In the following image I have a series of data that comes from a database, initially the edition of the fields is disabled. A button called Modify enables the fields to be edited. In a question I a...
asked by 16.11.2017 / 22:40
0
answers

How to prevent a FileUpload from being cleaned when an event occurs in the form?

I have a fileUpload and a button as follows: <asp:FileUpload ID="FileUpload1" runat="server" /> <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" /> Each time the Click event of the button is generate...
asked by 17.11.2017 / 00:28