Questions tagged as 'c#'

1
answer

Error converting with DuoCode using WinForms

I developed a C # application using Windows Forms, but wanted to convert to JavaScript using DuoCode. But it is giving the following errors: tryduocode.cs(7,14,7,21): error CS0234: The type or namespace name 'Windows' does not exist in the nam...
asked by 29.08.2015 / 23:12
1
answer

Program stopped responding - c # Windows Form

I'm doing a program in C # that basically does (large) queries to a MySql database. When I run the program via Visual Studio, everything happens perfectly. But when I do this by the executable, when the button that performs the queries and handl...
asked by 30.08.2015 / 00:50
1
answer

How to implement PKCS # 7 (components-class, library, dll, plugins and others) in an MVC5 web application

I'm trying to implement PKCS#7 in an application web mvc5 I've found some solutions for desktop application, I've never added desktop solutions (class, dll, reference etc) in a web application, Has anyone worked or knows h...
asked by 16.10.2015 / 20:05
1
answer

Handling pages / sites, Windows Phone Silverlight C #?

I see several apps on Windows Phone, which manipulate a website, are usually apps from the sites themselves, such as TecMundo. It captures site elements and adds within the elements of the app, such as Canvas . And it also allows to cha...
asked by 24.08.2015 / 17:17
1
answer

Select two attributes from two different tables in a view

I have the model (superclass) Pessoa and the model Aluno public partial class Pessoa { public Pessoa() { this.Escola = new HashSet<Escola>(); } [Key] public int PessoaID { get; set; }...
asked by 24.08.2015 / 17:25
1
answer

Configuration Table

How could I do to use a configuration table in nHibernate? That is, a table of only one record and that it only controls this record, I know I have to do this via application, but I wanted to know if nHibernate already has some feature that hand...
asked by 24.08.2015 / 19:07
1
answer

Auto component alignment does not appear in Visual Studio

Do you know when you drag, for example, a textbox to one place and another to another location, and Visual Studio automatically aligns you so that form is more organized? I use Visual Studio 2013 and it suddenly stopped with thi...
asked by 24.08.2015 / 18:25
1
answer

How to control a RadioButtonList via code

I'm using C # asp.net web forms I have two RadioButtonList <asp:RadioButtonList ID="rblGrupo" runat="server" AutoPostBack="True" CellPadding="5" OnSelectedIndexChanged="rblGrupo_SelectedIndexChanged">...
asked by 15.10.2015 / 20:58
1
answer

C # put a condition for a column value in a DataGridView with DataSource

I'm using VS2013 Entity 5. The situation is as follows: In a Children table, there is a SexString attribute that receives the value 0, 1. 0 for male and 1 for female. (could use "m" or "f", but it is a learning situation) In my DataGridVie...
asked by 18.09.2015 / 22:03
2
answers

Error Unity 5 apparently code

I was doing this game when this problem appeared    Assets / SampleAssets / 2D / Scripts / Platformer2DUserControl.cs (2.25): error CS0234: The type or namespace name CrossPlatformInput' does not exist in the namespace UnitySampleAsset...
asked by 03.09.2015 / 21:24