Questions tagged as 'c#'

1
answer

Pagination with EF 7 Asp.net 5 MSQL 2008

Hello, I would like to know if anyone has any solution for paging using EF - Entity Framework for versions prior to MSQL 2012     
asked by 20.02.2016 / 15:53
1
answer

How to disable some C # keys?

I would like to know how to disable / lock some keys on the keyboard while the program is running or until the lock is canceled? For example: If I disable / lock the entire keyboard or just allow x key it would not be possible to use it in an...
asked by 29.12.2015 / 19:26
0
answers

Communication between layers

I have 3 layers, BLL, DAL and Project. In the DAL layer is ENTITY (automatically creates the GETs and SETs) and I want to use the GETs and SETs Because when the project layer arrives the value is "0". Maybe it's a bit confusing to ask the...
asked by 23.02.2016 / 14:29
2
answers

DropDownListFor does not display selected value

DropDownListFor does not display value selected. public static List<SelectListItem> getMesesPagamento() { List<SelectListItem> listMeses = new List<SelectListItem>(); for (byte i = 1; i <= 12; i++)...
asked by 17.12.2015 / 13:42
1
answer

C # - Cursors.Hand.Handle does not identify the "Hand"

I made a program to identify whether the mouse cursor is Hand or not. I'm using an event that identifies the global cursor, so even out of Form it is able to identify. The problem is that in function: private static bool Cursor()...
asked by 06.12.2015 / 23:42
3
answers

Doubt with pagination in Asp.net

Does anyone know how to implement a paging or would I have an example using this architecture link I would like to use Linq's Skip () and Take (): As was done in this example MVC asp.net page But I'm having an error: public IEnumer...
asked by 04.12.2015 / 01:21
1
answer

Repeated Labels, windows .bat file does not delete some tags

I'm having a problem with a system here in the company which is as follows. The system generates labels and prints them on an argox printer, these label printers. They are labels of the requests that are generated with PHP and PPLA which is t...
asked by 03.12.2015 / 17:08
0
answers

Server Socket on Windows Azure, how to capture External Ip?

I developed an App Console, which creates an asynchronous Server Socket. You may see a similar HERE . I also have a common Web App, which consumes the information entered in the database by the App Console. There has been a need to upload...
asked by 06.01.2016 / 19:35
0
answers

Implement Back button in Universal Apps

Well, I'm developing an application for Windows 10 and I have no idea how I implement a back button in a similar Pivot is in the Microsoft Weather application.     
asked by 26.12.2015 / 02:02
1
answer

Problems with RibbonComboBox

Good afternoon, we are developing a text editing tool. In it we are using the menus with the "RibbonControlsLibrary", and so far everything is right. When I decided to use RibbonComboBox it started the problem, based on an example I tried to rea...
asked by 23.12.2015 / 19:33