Questions tagged as '.net'

1
answer

ASP .NET - Local file directory using Chrome

I have the following code snippet: <div class='upload-border'> <input class='file-upload' id="fileUpload" runat="server" type="file" name='upload'/> </div> I need to get the local directory of the file I just selected....
asked by 29.05.2018 / 13:17
1
answer

Send view to controller values by jquery

I'm doing an application in .Net C #, and I wanted to make an input and a button that would send the information to my controller by jquery/ajax , and I have no idea how to accomplish this, I need to pass the information by ajax...
asked by 21.05.2018 / 21:17
1
answer

Assemblies not found for Visual Studio

Hello, I'm working with Visual Studio a short time and it's the first time I come across this message when trying to debug the program:   (C: \ Program Files \ x86) \ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ 15.0 \ Bin \...
asked by 01.05.2018 / 08:20
1
answer

How to get value from an Html.EditorFor

I have the following command @Html.EditorFor(m => m.DataDoDesligamento) On it is placed a date, and when clicking a button it should redirect to a report, except that I need to pass to the URL the parameter Data shutdown to send to the s...
asked by 11.04.2018 / 22:23
1
answer

Default Value Set @Html.DropDownListFor via Json - ASP.NET MVC5

I'm doing a time-stamping page using ASP.NET MVC5. The user enters the marking data according to the print below: However,incaseofanerrorintheregistrationofthetag,thecontrollerreturnsthemodeltoviewwiththedataenteredbytheuser,usingtheconceptofmo...
asked by 21.02.2018 / 02:25
2
answers

Why is the term "Private" in .NET? [duplicate]

Declaring variables without specifying the access level of the variable in C # and Visual Basic .NET ends up making private , only the type / location where it was created can access and / or modify it. However, there is also the keyword p...
asked by 22.02.2018 / 04:00
1
answer

Create List of actions already passing the parameters and then execute them according to parameters passed

I wanted to know if there is a possibility to create a list of Actions already passing their parameters to execute, because the numbers that I will pass to the execution of them can be variable, so I would like to save these aActions already wit...
asked by 22.02.2018 / 15:14
1
answer

PostBack Asp.Net WebForms

I started working a little while with WebForms and was left in doubt, because I always mess with asp.net mvc . Assuming I have a DropDownList and populated DataSource with multiple records, when done PostBack...
asked by 06.03.2018 / 15:02
1
answer

How to get all the public properties of a class in the order they were declared in VB.NET

I am creating a library to validate the Fiscal SPED in VB.NET and to speed up the process of creating the lines, each class already has its predefined attributes and in the order according to the documentation, as in the example below: p> ' REG...
asked by 23.01.2018 / 13:40
1
answer

Read file from a folder and determine if it is the same as the site [closed]

I'm doing an autoupdate launcher in C # .net and I need my program to read a database file that is in the same folder as it and see if it is the same as my site, and if it is different, p> Does anyone know if this is possible?     
asked by 20.02.2018 / 10:37