Questions tagged as 'asp.net'

1
answer

HTTP 404.No found in [HTTPPOST] of the driver

Good morning I'm starting on asp.net and I'm having a problem that I can not find the solution for, because I do not understand why it works exactly. What happens is that when you send a form to the controller, the actionResult receives an...
asked by 09.08.2016 / 17:14
1
answer

Consume webservices from asp.net

I have an asp.net C # application (VS 2010), where I have a form with a textbox , a button (to search for records according to ID, and I must pass it as a string to web service ) and a gridview , But the data I have to take from a web ser...
asked by 29.07.2016 / 15:37
1
answer

ASP.NET VB web 3 layers when publishing the entity is not defined

Hi, I'm doing a web application with vb.net in 3 layers. I have the entities, data and business projects, and one asp web application. Each project has the reference of the others added, and in local it does not give me any error, but w...
asked by 28.06.2016 / 09:34
1
answer

How to put a link in jquery table that opens a pdf using generic handler?

good morning: I have the following code: generic handler public void ProcessRequest(HttpContext context) { string nombreArchivo,tipo; // int id = 12725; NOTA:"Si hago asi no marca error y si me muestra el pdf" int id = int.Parse(cont...
asked by 27.06.2016 / 17:48
3
answers

Concatenate columns into one

I need to concatenate these two columns into one: columna1: columns.Bound(c => c.primer_nombre).Title("Nombre").Width(30); Columna2: columns.Bound(c => c.primer_apellido).Title("Apellido"=.Width(30); That those two remain in a single...
asked by 16.09.2016 / 00:25
1
answer

What is the asp.net equivalent of the "Execute" function of asp

I'm migrating an asp page to asp.net and I usually find this kind of functions function realizar_calculosRteTesDin(nombreDin) Execute("sumaIngresosCorriente" & nombreDin & "=" & chr(34) & Calculos(cCalculo1) & chr(34))...
asked by 15.09.2016 / 17:13
1
answer

Entity Framework map some properties

I have a sqlserver database from which I generate the corresponding models with EF. The problem arises because a table in the database for example users is dynamic, it may be that a record appears or not (Address). TABLE USERS with records: I...
asked by 20.07.2016 / 16:19
1
answer

Error with dropdownlist: There can not be multiple items selected in DropDownList

This error just came up in my GridView because I have 6 dropdownlist in the GridView in EditItemTemplate, and when I click Edit, this error occurs:    System.Web.HttpException: There can be multiple items   selected in DropDownList. This...
asked by 04.06.2016 / 19:17
2
answers

Is it possible to use a value of javascripts in razor asp.net?

Suppose I have the following value of javascripts: <script type="text/javascript"> var variable_js=10; </script> and in razor, an asp.net variable, I want to assign the value of javascripts that you declare. For example: @...
asked by 15.05.2016 / 22:32
1
answer

How can I check if the logged in user is admin by his id?

I am working on my first login in this language, which when entering the correct credentials (user and password) will direct you to a specific page depending on whether you are a common user or administrator according to the assigned idRole, as...
asked by 01.01.2019 / 00:11