Questions tagged as 'c#'

0
answers

Creating DropDownListFor with typed view

Good afternoon guys, I'm starting my studies in the art of ASP.NET C #. I'm having trouble creating a DropDownListFor. How I'm doing:  - I'm using ADO.NET  - I have my model Equipment  - I have a Viewmodel EquipmentCompany, just to list...
asked by 11.07.2017 / 21:49
1
answer

How to retrieve parameter from a Controller

After the user logs in, two parameters are passed to Controller Home : case SignInStatus.Success: { //recupera as informações do usuario que corresponda ao usuario e password var user = await UserManager.FindAsync(model.Usuário, mo...
asked by 11.07.2017 / 22:13
1
answer

Error in Migrations EntityFramework C #

Error while performing Migrations.   The ADO.NET provider with invariant name 'SqlClient' is either not registered in the machine or application config file, or could not be loaded. See the inner exception for details. My App.Config <...
asked by 22.06.2017 / 21:46
0
answers

WindwosForms between workspaces windows 10

I have a Windows Forms application and several workspaces and I need to open a window in all these areas, I already searched the internet and found link e link but none explains how to open a Form in all areas of How do I open a window in ea...
asked by 22.06.2017 / 20:52
1
answer

Store values from a data set in ASP.NET variables

I'm having problems getting the return of a select variable, I'm using a data set to create a table with the result of select, that select will return some records and form that I'm doing just get the first value, I already researched how to do...
asked by 28.06.2017 / 21:00
0
answers

Overlapping items in the ListView

Good morning! I have an android implementation implemented in C # . This application displays a "list view" with the products. Each product has information that can be viewed by clicking the "V" button and hidden from the customer by the "...
asked by 28.06.2017 / 15:34
0
answers

Can not find table 0 ASP.NET

I'm developing a screen that exports processed data from a Procedure to PDF / Xls. Debugging it returns the following error:    Can not find table 0 From what I understand it can not read the class instantiated in an object. I woul...
asked by 28.06.2017 / 16:23
0
answers

Creating properties in all WPF windows

Does anyone have any idea if it is possible to inherit from the Window class of WPF, create some properties and when to create my screens instead of making them inherit from Window make them inherit from that created class? An example: I ha...
asked by 27.06.2017 / 15:10
1
answer

View a wait message while downloading file

How to display the wait message while generating and compressing files for dowload? I'm doing the generation, compacting, and Generate more than one PDF in memory and export it to a compressed file answered by George Wurthmann     
asked by 18.06.2017 / 18:29
0
answers

How to get application settings in static classes in AspNet Core 1.1

In the web project of my application I have appsettings.json : { "Foo": "Exemplo" }, And I have a class that reflects this setting: public class FooSettings { public string Foo { get; set; } } In startup.cs I read and log to...
asked by 22.06.2017 / 01:36