Questions tagged as 'asp.net'

2
answers

Generate a select from an array in asp.net MVC?

Cordial greeting colleagues, it turns out that I have a string type array called nodes, in which I keep 4 strings, what I'm trying to do is that in the index view where I have a form, generate a select and fill it automatically with the values o...
asked by 19.04.2018 / 21:28
2
answers

Data between views with ASP.NET

Hello I need to pass a data from one view to another, but I can not get it. Someone could please tell me the most appropriate way to send data. In this case my data is being obtained from another function and I need to know how to pass it is a...
asked by 19.12.2017 / 17:53
1
answer

Timeouts vs ExpireTimeSpan UseCookieAuthentication

I have found an MVC application at work with the following properties and there is something that smells bad to me. I do not finish understanding the timeouts of authentication , sessionState and ExpireTimeSpan . Is it necessa...
asked by 29.11.2017 / 18:52
3
answers

Why does ExecuteNonQuery () give me the following error?

Good will put my code here and have if someone can tell me what error I have here because I can not see it public List<EntidadProducto> listarProductosCD(SqlConnection conexion, int ID, String nombre, decimal precio) { List&l...
asked by 23.10.2017 / 00:32
2
answers

Two-column form in Bootstrap

Good morning everyone, I am doing a web form in ASP with Bootstrap in two columns and for the mobile version it does not keep me the width of the labels and it is a bit strange (I do not give many details because I think that seeing it will b...
asked by 28.12.2016 / 12:03
1
answer

Enable and disable Textbox C #

I have a form with the following fields, the problem is that I can not find what is wrong because it does not block the textbox of the first button and those that are in the second button if it blocks them, it is supposed to do the same thing...
asked by 12.01.2017 / 19:41
2
answers

Validate empty fields C # [closed]

I have a project in ASP.NET where I validate the empty fields that are my textbox, what I want to do is not register the user without completing the fields and that when missing data to fill an asterisk and a message of missing data, but when fi...
asked by 23.02.2017 / 18:38
1
answer

@ Html.DropDownList

good day. I am currently working with .net and I have problem I want to send information to a method of a controller by means of a @ Html.ActionLink , this method asks me for two values which are the LevelId that I have no problem in passing...
asked by 28.11.2018 / 16:32
1
answer

what is the best way to upload an excel file [closed]

I must upload an excel file (office 2010 version) to a sql server database with a system created with asp.net (c # vs2012) I've been seeing on the internet, and I'm a little dizzy because I've seen a lot of methods, but I do not know why to d...
asked by 14.11.2018 / 19:10
1
answer

I need a textbox that does not let me write numbers

I have a textbox in the webform on asp.net (without MVC), I need you to just write lyrics     
asked by 15.11.2018 / 21:06