Questions tagged as 'asp.net'

1
answer

Input Boxs "more" in one view

I am creating a view for the creation of gymnastic routines, but it turns out that there is an "over" input box from each dropbox of the exercises and I can not find out why. this is the html: @model FitnessWebApplication.Models.R...
asked by 17.08.2018 / 20:32
1
answer

How to get the id of a row in GridView using a LinkButton?

How to get the id of a row when activating the LinkButton event ?, what I want to achieve is a delete query for sql server and get something like this; protected void GridView_RowDeleting(object sender, GridViewDeleteEventArgs e) { int us...
asked by 19.10.2018 / 03:08
1
answer

How to include an aspx file inside an html file?

In a wep with ASP I need to show the start URL of a page with the extension .HTML How can I do to include a piece of code in aspx inside an HTML file?     
asked by 09.08.2018 / 10:47
1
answer

Create a variable connection string. How do I use it now? [closed]

I'm not sure how to make this possible, so I'd like some advice since I'm new to managing connections in this language. In my code I use the following string to connect to SQL SERVER; WEB.Config <connectionStrings> <add name=...
asked by 25.07.2018 / 07:22
3
answers

How to iterate this javascript object in C # (or the correct way to send with AJAX) in ASP.NET

From a table where the user can add, delete and modify their values, you get a data type like the one shown below (which I can not change its format or data type) [here the code of the table ]: var info = [{ nombres: 'Juan',...
asked by 25.07.2018 / 02:42
1
answer

IErrorInfo.GetDescription error with E_FAIL (0x80004005)

I have the following function which receives the path of an Excel file to open it and read it to add users, I execute it in my project from Visual Studio and it runs without problems, when I take it to the server where it should work it shows me...
asked by 24.07.2018 / 18:50
1
answer

how could I run the ashx service with asp.Net c #?

Hi, I'm working on asp.net c # web, run this aspx service so use this xml code, without redirecting DateTime DiaActual; DiaActual = DateTime.Now; String VariableEnviar; String Obteneyear; String Mes; Stri...
asked by 07.07.2018 / 18:26
1
answer

Async page in aspx

I am developing a web page with .NET I have a method to send emails which I want to do asynchronously. So far everything has been done correctly, but in the design of the .aspx views I have the following problem. I have a MasterPage struct...
asked by 05.07.2018 / 10:07
1
answer

API with ASP.NET, running a POST sends blanks

Hi, I'm pretty new to this .net and had to create an API to make a simple record, create it using the sig. video link The API works I can do the GET, POST, PUT but note that when I do a POST the data is saved with a lot of blank spaces, exa...
asked by 28.09.2018 / 01:16
1
answer

I can not make a Redirect towards an external url

I am creating an action filter to validate certain data in which, if followed, it follows the normal flow of the application, but otherwise it must be redirected to an external url. So far I have been doing tests and nothing has worked for me...
asked by 26.06.2018 / 15:09