Questions tagged as 'c#'

1
answer

Passing data from a DataGridView to TextBoxes in C #

Hello, I'm having a problem and I've even asked a similar question previously, but now I'm being more specific. I have two forms, one form has a DataGridView attached to one Database and the other form will serve as an edit for the data of th...
asked by 15.10.2016 / 02:16
1
answer

Ignore property with FluentNHibernate?

I'm trying to ignore a property of a class for mapping with FluentNHibernate and I'm not getting it. I'm trying to follow this example link . How to do this? Trying. public class Caixa { public virtual long id...
asked by 20.09.2016 / 20:56
1
answer

List reservations by Administrator

I'm trying to list my reservations by different admins. However, the way I did, he lists all the reservations. This is the method I'm using: public ActionResult Index() { Administrador administrador = db.Administradores.FirstOrD...
asked by 24.09.2016 / 03:07
0
answers

ReportViewer does not display object value?

I am trying to generate a report with ReportViewer on the items in a sale, the report is displayed but in the product column the #Erro appears instead of the product. My classes are all with [Serializable] but it still is not worki...
asked by 24.09.2016 / 16:33
0
answers

COM component interface (Interop)

Could anyone help implement Interface to create a DLL interop of this classe ? using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Text.RegularExpressions; using Syst...
asked by 24.09.2016 / 03:16
0
answers

ASP.NET Identity: Authentication Error

I changed the PK of the String Identity tables to Int, but When you log in, Identity does not authenticate, it logs usually do not have access to any of the controllers which requires permission, returns to Home. I do not know if there is any pr...
asked by 20.10.2016 / 17:32
1
answer

DataGridView Scrollbars C #

The option ScrollBars is as Both , but they are not appearing at all. I do not even have code to exemplify. Has anyone ever been through this? I'm loading a datagridview , but the scroll bars are not appearing.     
asked by 20.10.2016 / 20:07
1
answer

ComboBox and SQLReader

I have a ComboBox with a list of items that contains names that are generated from my database (I draw the name of the coluna beer that are allocated in the table) : private void Form1_Load(object sender, EventArgs e) { try...
asked by 04.10.2016 / 01:51
0
answers

Error with Mapping and Fluent Api

I have now started the study in Asp.Net MVC with EntityFramework, I am taking some time to save the following case: public class Aluno { public int Codigo { get; set; } public string Nome { get; set; } public DateTime DataNasciment...
asked by 03.10.2016 / 23:19
0
answers

Problem Connection DB

I am doing a C # system, I connected the database (Access) and the program asked to copy the database to the system folder and everything. The problem is that the application is not saving the data in the system folder bank, I have to direct...
asked by 03.10.2016 / 19:19