Questions tagged as 'asp.net'

1
answer

upload file to server and save path in BD with .NET

I have a web form within which one of its fields the function is to upload a file to the server (I already have a folder where the files are stored) and the path to save it in a BD. How can I do so that with just the button to send the form you...
asked by 22.11.2017 / 03:50
1
answer

Change value of 'meta' in link css after onload

I have a problem. I'm trying to use asynchronous CSS loading to optimize my graphic elements. In the <head> of my html I have several links of .css (example:) <link id="cs1" rel="stylesheet" href="css/ZooCss.css" media=...
asked by 16.11.2017 / 22:18
1
answer

insert the checkbox values that are selected in accordance? [duplicate]

My CH is connected to a field in the database, as the values that are selected are inserted into an array?     
asked by 29.11.2017 / 19:00
1
answer

send a list between calls from a webform page

Good, I have a dataGridview page, one of the datagridviews (gridviewSelection) is filled according to the selections made in the other two. Then, I must keep in memory the objects that have that gridview so that they are loaded with the new sele...
asked by 24.10.2017 / 15:55
1
answer

Control value of a Javascript variable

I have the following code, where there are 2 functions of draggable / droppable. For each element that is placed well, I increase my variable by 1 to know that all the elements were placed well. I did another function where I control that...
asked by 20.10.2017 / 02:58
1
answer

Problem with MongoClient in C # .NET

I have Mongo's dependencies needed for the project in VisualStudio 2017 Community but an error is generated when instantiating the MongoClient class Error:    Unable to load the file or assembly 'System.Runtime.InteropServices.RuntimeInfor...
asked by 20.10.2017 / 16:23
1
answer

Insert SQL query with AJAX and ASP.Net

Hello, I need to do a SQL INSERT using ajax in ASP.NET, I'm not sure what I'm missing. $('#submit').click(function () { insertFeedback(); }); function insertFeedback() { var modelx = new Object(); var depS = documen...
asked by 18.10.2017 / 23:38
1
answer

Load a Combobox from a consumed WebService list

Good I would like you to help me I'm doing is to consume a webservice that I return a list and those values add it in a combobox This is my Webservice public List<Combos> D_LlenarCombo(Int32 Opt, Int32 Id_Tipo) { S...
asked by 17.10.2017 / 04:43
1
answer

CSS element loses effect after refreshing the page

On one page I have the following structure: Div that occupies 70% - another div that occupies 30%. I wanted to separate them by an image, thus eliminating the fixed line of separation. That image that separates the 2 div's loses its css posit...
asked by 13.10.2017 / 03:40
1
answer

Direct print without preview with asp.net/javascript

I'm trying to print directly to a default printer. What I do is send print with preview, because for now I can not print directly, because when uploading it to production site I got errors that according to some answers to my question, was that...
asked by 08.10.2017 / 19:07