Questions tagged as 'c#'

1
answer

WebClient C # ending download before downloading

I have a question, I'm using WebClient in C # language, I have the following problem: I click on Download a file, and it does not start downloading, it says download is already finished ... Code: WebClient Web = new WebClient();...
asked by 22.12.2017 / 01:47
1
answer

Update DIV with Ajax Asp.Net C #

I'm setting up a Ticket Tracking Panel, basically there are two things, 4 fields and 1 chart. I would like to update them periodically, I tried with <meta http-equiv="refresh" content="10" /> However, this recharges the entire...
asked by 09.01.2018 / 12:27
2
answers

Working with FileStream and BLOB

Friends, by company order, I need to get all the files a system stores in a Windows directory and store it in the Database. In the database there is a column that stores the directory where the files are, I thought of going through each row o...
asked by 09.01.2018 / 19:20
1
answer

Function does not work with UseSubmitBehavior="False"

I have this button: <asp:Button ID="Button11" runat="server" Text="Cancelar" CssClass="btn btn-danger btn-block" OnClick="Button11_Click" OnClientClick="javascript:return confirm('Deseja cancelar toda a venda?');" UseSubmitBehavi...
asked by 08.01.2018 / 20:51
1
answer

Pass the certificate password v

Good afternoon, I am developing a system where it uses pfx certificate, as shown in the code below I pass the directory where it is, but I can not pass the password as a parameter, the main object of my system is to take the validity of the cert...
asked by 08.01.2018 / 20:33
0
answers

Search for an item in the Aspnet mvc List

I have a ControllerFolder, in that Controller has a action List, which it returns all the providers. In view List, I created a input type="search" . I want when searching for a name in this field, it returns the nam...
asked by 14.12.2017 / 00:55
0
answers

Selenium 3.8 + Firefox 56/57 does not run in Background

I have a service currently running with Firefox 46+ Selenium 2.53. But I need to update it and I'm trying to use Firefox 56 or 57 with Selenium 3.8. When I run on my machine the service runs nice, but when I run it as windows service, it does no...
asked by 12.12.2017 / 13:13
1
answer

What's the difference between Toolbar.axml and Tabbar.axml?

I'm starting to work with Xamarin in Visual Studio 2017, and some things have changed. In the Android part when I go in layout I come across the two Toolbar.axml and Tabbar.axml files, I would like to know which ones represent the MainPage (the...
asked by 02.02.2018 / 13:13
2
answers

Search for C # file path?

I need to find the path of a .wav file in C# . I can find and run .wav with the full path "c: \\ pathx ...", however, I need the application to find the file in any directory it is strong>. I tried to do this: var file = ne...
asked by 09.12.2017 / 14:32
0
answers

Entity Linq query in many-to-many relationship

I inherited a bank that is untouchable ... Despite having some very "strange" things. For example I have the following situation that would represent a n-n relationship but the relationship does not actually exist. In other words, a nei...
asked by 09.12.2017 / 18:01