Questions tagged as 'c#'

0
answers

MVC + EF Application with N-Layers

I'm working on an MVC project with EF 6, and I'm having a rather curious problem, in some ViewModel, the object that comes from my DbContext does not seem to persist and I get the generic message System.NullReferenceException. The curious thi...
asked by 23.06.2015 / 02:07
1
answer

Framework in C # that implements Graph Theory

Does anyone know of any framework in C # that implements Graph Theory?     
asked by 24.06.2015 / 18:16
1
answer

Justify Text in Windows Phone

I have an application that the text is displayed in a textBlock and I want to make this text justified, already tried to put the alignment of the text as justified, but it was not, it says that the method is not supported. I've been answered b...
asked by 15.05.2015 / 04:51
0
answers

When I change the value of a ComboBox all change

I have a database with two tables, Tab1 and Tab2. In Tab 1 I have Cd_Tab1 and Nm_Object. In Tab2 I have Cd_Tab2, Cd_Tab1. The two are related. In my project I have 4 ComboBox, all should represent the value of Cd_Tab2, but each one will write a...
asked by 15.05.2015 / 18:36
0
answers

Binding in Datagrid - Can not access a discarded object

I have datagrid with evaluations whose first column is the PATIENT NAME. But at the time of putting Binding Paciente.Nome it gives error. Within evaluation there is a patient object. DATAGRID CODE <DataGrid x:Name="DataGr...
asked by 18.05.2015 / 14:34
0
answers

01: Connection failed with TOP

I'm trying to consume a web service I'm not an administrator for. I can usually access your classes, objects, and methods. The problem is when I call the method that expects to receive requests, then I encounter the following error: "01: Fa...
asked by 18.05.2015 / 20:23
0
answers

ReportViewer with list of one table and information from another table

I have the following problem, I have a table AVALIAÇÃO and another PACIENTE . I need to generate the whole list of evaluations of a particular patient. I already have the query in my datatable that does this, however, I do not know...
asked by 18.05.2015 / 16:11
5
answers

Read XML file in C #

I have a problem when reading an XML file in C #. In this this is a file of a pre-sale, and I have the following situation: in my xml I will have several pre-sales, and each pre-sale may have several items. So far so good, I'm able to identify t...
asked by 30.01.2015 / 20:39
1
answer

Install MahApps.Metro in a Windows Application

How to install the package MahApps.Retro ( link ) is a Windows Application? Well, in getting started only explains in WPF.     
asked by 20.06.2015 / 20:39
2
answers

How do I add Role to User Registration?

I have an Asp.Net MVC project that uses Individual User Account and I would like to add a category ( Role ) to it at the time of registration. What I have at the moment is: View : @model Projeto.Models.RegisterViewModel @{ ViewBa...
asked by 08.06.2015 / 16:15