Questions tagged as '.net'

1
answer

Get Penultimate record of a table with Entity Framework

How do I get the penultimate record of a table with Entity Framework     
asked by 30.11.2015 / 17:37
1
answer

Why can not we use Await within a Catch, Finally and Synclock in VB?

Why can not we use the Await operator within the statements Catch , Finally and Synclock in VB? The C # 6.0 has support for using Await within Catch / Finally .     
asked by 01.01.2017 / 13:43
1
answer

Convert encoding CP850 to UTF8

I have a Paradox BD that returns me the following string after a query in an industry table that a given worker gets: Maintenance. Actually it should be Electrical Maintenance. I need to return this string to a browser. From my research, this...
asked by 28.03.2014 / 02:38
1
answer

Partial for separating events and methods

I have seen in a system a separation of the methods in a partial and the events in another in UserControl and Window as the example below: "Pessoa.xaml.cs" public partial class Pessoa: UserControl { //Construtor //...
asked by 20.04.2016 / 15:58
2
answers

How to sort the items in a Listbox using quicksort

I'm doing a project for the university that consists of making software that sort from a listbox using quicksort, BlubbleSort etc ... In VB.NET I made an array to generate the random numbers in the listbox, but my difficulty now is to get the nu...
asked by 16.05.2016 / 03:52
1
answer

What is the difference between Show (), ShowDialog () and Application.Run ()?

I read something about modal but I did not understand, could anyone explain?     
asked by 28.05.2017 / 12:57
1
answer

How do I know if the solution has been modified?

I would like to make a code, which when executed, would know if the solution was changed and which project has changed, but I do not know if there is a method to take as a basis. Then I would like your help.     
asked by 01.04.2015 / 22:08
1
answer

Why Arrays implements IEnumerable but does not implement IEnumerableT?

I was making a class that contains an Array of class Episode : public Episode[] EpisodesList; Then I implemented IEnumerable<T> in my class. And as expected, I implemented the method GetEnumerator() ... p...
asked by 15.04.2015 / 06:57
1
answer

How do I know if a Client is accessing the server over the local network or the internet?

How do I identify if the client is accessing my application, whether it is inside the company (local area network) or outside (internet)?     
asked by 20.08.2015 / 13:25
1
answer

How to save text in xml or txt or html file?

I'm developing a C # program and would like to know how to save the text of a RichTextBox in .xml or .html or .txt format.     
asked by 17.08.2015 / 22:16