Questions tagged as 'c#'

1
answer

UWP C # Pass date picker to another

I am new to UWP and would like to know if there is any way to pass information from one Date Picker to another new one, what I have in XAML is <StackPanel Name = "ContenedorElementos"> <CalendarDatePicker Name="FechaEntr" Margin="...
asked by 18.12.2016 / 22:36
1
answer

error 40 sql server

good afternoon, I hope you can help me. I just switched machines because of technical failures in the other one and it tells me this in my project I was looking for error 40 but in general the Stdio management is the one that does not work...
asked by 10.12.2016 / 22:48
1
answer

Winforms can not load the file or assembly 'Microsoft.ReportDesigner, version = 10.0.0.0' in VS2010

I have my form that has ReportViewer (version 10.0.0.0) and it is not allowing me to open it in VS2015     
asked by 27.12.2016 / 23:51
3
answers

How can I not open the same wpf window twice in c #?

I have a base application but the secondary window should not open twice when I click on the menu. This is my code: private void MenuItem_Click(object sender, RoutedEventArgs e) { Agregar_Vendedor ventana_agregar_vendedor = new Agreg...
asked by 16.12.2016 / 05:19
1
answer

Configure connectionString using EF Database First

I am working with ASP NET MVC5 and I have a mini project that I want to publish in the hosting service that offers link the problem is that when I publish the pagina launches the following exception when I try to log in and therefore access th...
asked by 05.12.2016 / 03:37
1
answer

Export Excel ASP C #

Buenos Dias would like you to help me I'm doing  in c # export excel the truth if it works everything I would like is just to press on my botton I will generate my excel but in the sheets the fields that are in my conbobox are added. how is it i...
asked by 01.03.2017 / 18:34
1
answer

How to save the value of a dropdownlist web application in a variable?

I have a Web application with C #, which generates a page with several dropdownlist . The dropdownlist are filled from a stored procedure (SP) , what I require is that when I select a value of the dropdownlist (any) I store it...
asked by 01.03.2017 / 17:10
2
answers

Update Entity Framework 6 Objects disconnected Entities 1: N (One to many)

I'm making an application and I use Entity Framework 6 to access SQL Server. I have the following case, where I want to update the value of two entities: Socio - > SocioDireccion A partner can have many addresses. Firs...
asked by 23.11.2016 / 10:38
1
answer

How do I enable a column to insert records and save it c # gridcontrol devexprees

The one I have did it by adding a column and enabling the gridview allow edit, but at the moment of jumping to the next cell, what I wrote is deleted If I enter or only change the same cell it is deleted, if it is a normal table of sql, t...
asked by 29.11.2016 / 01:12
4
answers

How can I "bin" an ObservableCollection to several views and keep it synchronized between them? WPF

I need to bind a ObservableCollection to several views and that this list stays synchronized among all the views, in case of modifying the list (adding, removing or updating a value in said list) the change is replicated for all the views...
asked by 17.11.2016 / 16:27