Questions tagged as 'asp.net'

2
answers

Conversion from string "" to type 'Double' is not valid [closed]

Good morning I am trying to add the values of a gridview that I select to a texbox, create the following (see code below) but it returns this error "Conversion from string" "to type 'Double' is not valid." Code Private Sub SumOpcion2 ()...
asked by 23.08.2017 / 15:28
1
answer

asp.net mvc why can not I create a Session [""] in a class? [closed]

I find a big unknown and it is that it does not allow me to create a Session[""] in a class file only in a controller file. Does anyone know what this is about or how could I create one there?     
asked by 10.05.2018 / 20:47
3
answers

How to assign the textbox value to a javascript variable?

I have my text box in html : <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" Height="200px" Width="1000px" BackColor=""></asp:TextBox> and I want to assign the value to a variable that I have in Javascrip...
asked by 15.03.2018 / 18:00
1
answer

How do I get a file in JS and send it to ASP.net

Good day. I'm working with C # and ASP.Net on the server side and with JS and html on the client side. I have a form similar to this <form id='frmForm'> <label>Subir Archivo</label> <input type ='file' id='file' /> &...
asked by 17.12.2016 / 22:56