Questions tagged as 'asp'

4
answers

HTML elements are cut

I'm doing a main page of a project. With full resolution its elements look good (logo "zoo park" and play button) But when I start to decrease the resolution, the elements are cut. Here is how you cut the play button: Any id...
asked by 21.09.2017 / 00:17
2
answers

Convert Text to Bar Code C #

I want to convert a text string entered in a TextBox to a barcode, but it has an error: Error: No se puede convertir implicitamente el tipo 'System.Drawing.image' en 'String' I use the following instruction: libraries: using Bar...
asked by 03.09.2018 / 22:53
1
answer

Set the value of an asp.net dropdownlist with javascript in a content page

I have the following javascript function: function tipodepsolicitante_event() { var e = document.getElementById("ContentPlaceHolder1_cbotipodepositantes"); var d = e.options[e.selectedIndex].value;...
asked by 27.01.2016 / 21:51
1
answer

Add an object to a field of a DataTable c #

I have the following datatable with a DataRow DataTable InfoHDVIndicador = new DataTable(); DataRow vlrInd = InfoHDVIndicador.NewRow(); with 18 columns, one of them is: /*18*/ InfoHDVIndicador.Columns.Add("FuentesArray");...
asked by 05.12.2018 / 16:47
5
answers

Make a query with LINQ to entities

var query_actualizar = from x in ctx.banner let orden = ctx.banner.Where(y.id_banner == id_banner).First(y=> y.orden) where x.orden > orden select x; foreach (banner ord in query_actualizar) { ord.orden = ord.ord...
asked by 19.12.2016 / 15:27
1
answer

Error in ASP TextBox: The name 'txtDate' does not exist in the current context

I have an ASP TextBox control with ID="txtDate" that captures a date from a CalendarExtender control. When I try to access the value in codebehind of the txtFecha.Text object, the compiler shows me the message: The name 'txtFecha' does not exist...
asked by 16.08.2018 / 11:06
1
answer

capture data from ASP to javascript

I have a doubt I want to capture data from start dates and end of an ASP query to jQuery, this data is sent to an email, but it shows me the data in white. <% dim i, Q dim fInicio, fTermino dim lCentros ' obtener fechas anteriores fInici...
asked by 10.12.2018 / 14:51
1
answer

How to pass a variable js to a query in ASP.Net

Very well I explain, I have a form, I use the date picker range for the dates, and it works, I make a console.log and it gives me the start date and the end, all right up there, the point now is like I send that variable to my search query in th...
asked by 11.12.2018 / 20:00
2
answers

I try to upload files to the asp .net mvc server

I need your help I'm starting with asp.net mvc, I need to upload files to the server, this is my html: <form action="javascripts:;" method="post" enctype="multipart/form-data"> <input type="file" id="fileUpload" name="fileUpload" val...
asked by 13.11.2018 / 20:57
1
answer

Highlight text in the cell of an html table when clicking

The problem is that I have a html dynamic table, and I want to put in bold the text of a specific cell when I click on the row. try using jQuery, but it's still a bit complicated for me Does anyone know how you could do that? Excuse me if it'...
asked by 24.10.2018 / 20:05