Questions tagged as 'asp.net'

1
answer

Error running ASP.NET Core Web API project

As you know MS released the visual studio version for OSX, my program runs in development, but when trying to run the project from the terminal without VS the following error appears:    /usr/local/share/dotnet/sdk/1.0.4/Microsoft.Common.Curr...
asked by 28.05.2017 / 20:23
1
answer

Open a modal from another page

How would I like to know how I can do to open modal from another page, since I want to send it to call from the navigation bar, to be able to show it from x page This is my modal : <div class="modal fade" id="myModal" role="...
asked by 29.05.2017 / 15:26
2
answers

Error trying to insert ASP.NET data

I have a GridView with several Textboxs in Footer , this to try to insert, but at the moment of clicking the button, it fails and tells me that the statement . I'm using as a BD test one in access my code is the follow...
asked by 08.05.2017 / 15:39
4
answers

Doubt with PostBack and SelectedIndexChanged event

First of all, I apologize because I can not present code. The problem is as follows in an asp.net webforms application, I have 2 listboxes and each one has the SelectedIndexChanged event, (the code within those events is simply moving one item f...
asked by 05.05.2017 / 03:28
2
answers

Show list in html table with asp.net

I want to know if you can print the data from a list < > in a html table or if it is necessary to print them in a gridview namespace tts { public class tabla_conexion { public DataTable connect() { str...
asked by 03.05.2017 / 22:55
2
answers

fill dropdownlist in gridview and the maximum value must be the value that one of the cells has

I have a gridview with products from a store listing some characteristics, among them the quantity of products in stock so the user should not be able to select a value greater than the number in stock (stocks) I have this gridview and I need...
asked by 05.05.2017 / 18:15
2
answers

How to pass a DropDownList Value from a view to a controller using ViewModel?

I'm learning about ASP.NET Core and I've been a few days stuck in the following hopefully I could help. In my controller I have the following ' public IActionResult Index(string searchString) { ViewData["FiltroActual"] = searchString...
asked by 26.04.2017 / 07:51
4
answers

Update gridview asp.net c #

Good, I would like you to help me I have a GridView like this: When I select in Ver it shows me a popup or a pop-up window like this: The point is that when I click on Guardar if it is recorded correctly...
asked by 18.04.2017 / 18:40
1
answer

error when passing gridview data to another webform [closed]

I'm trying when I click to select in the gridview I show it in another webform to then create a ticket and store it in a database, the gridview is filled through a txt file but when I want to pass the data that I select, it throws me an error cs...
asked by 29.03.2017 / 15:57
2
answers

Export Excel multiple asp c #

Good I would like you to help me I'm doing an export of an excel but with a multiple checkbox because one by one if I export but when I select two or more just throws me an excel. since I do not vote any error but I want that when you select sev...
asked by 28.03.2017 / 02:02