Questions tagged as 'c#'

1
answer

When I close the Form, it executes the Leave event

In my application I created an event Leave in maskCnpj , when I close my form I have to click 3 times in the window messageBox have any way to get it right? if (maskCnpj.Text != " . . / -") { lblAjuda2.Text = ""...
asked by 31.05.2015 / 22:48
1
answer

Send files between different sites in ASP.NET C #

I'm developing an access area for the client where all site administration is done through it. All pages are created dynamically by making requests to a specific file on the client's site. Even the file inclusion forms are pointing to the client...
asked by 09.05.2015 / 00:29
0
answers

How to add row and columns dynamically in a C # TableLayoutPanel?

I have TableLayoutPanel displayed in grid form on the screen that already has an X amount of rows and columns, in addition to also contain components in its cells. I allow, through a screen, the user to change the amount of rows and colum...
asked by 18.06.2015 / 14:38
2
answers

GNOME WebService Integration with C #

Can anyone help me or have you ever had this problem? I'm doing a project to integrate my software with GNRE's webservice to send the guides automated. In the integration with Webservice I am sending the SOAP package below, but I have the...
asked by 18.06.2015 / 16:03
0
answers

Get FormCollection in Page Navigation

In an ASP.NET C # MVC4 system I have some screens where I show some data. These screens have Filters and navigation (maximum limit of 10 data per page). I would like to know how I can save the FormCollection in some way so that it passes the pag...
asked by 16.04.2015 / 01:14
0
answers

How to put several series in 3 dimensions in a highchart correctly?

My goal is to create a chart where I have the name, quantity, and date range. I'm using DotNet.HighChart in C # WebForms. My chart currently looks like this: AndIevenknowwhyit'slikethis,Ijustcannotfixit.Thiserrorisduetothefollowing:Each...
asked by 23.04.2015 / 19:03
1
answer

Comparison of data between DataGrid and database

Hello everyone, I have a question in my application, because it runs a pocket pc connected to mysql by inserting it into the product table (productID, cod_barr, description), and on the other side there is an application with a datagridview show...
asked by 08.09.2015 / 21:43
1
answer

Mapping OneToMany Nhibernate

Hello, In an application has a class that I need to do a OneToMany mapping, this parent class will be responsible for performing the persistence of the child class. My question is, I did the mapping of the Bag in the parent class as below:...
asked by 04.09.2015 / 21:58
1
answer

Current size TextBlock runtime

Well, I have one question that is as follows. I'm creating a TextBlock at runtime with the following code: TextBlock txtMensagem = new TextBlock(); txtMensagem.Text = texto.Trim(); txtMensagem.TextWrapping = TextWrapping.Wrap; txtMensagem.Heig...
asked by 24.04.2015 / 18:17
0
answers

Execute SQL command in a virtual machine

I have a form, which has the login and password fields. I want to do an update command in sql on a virtual machine of course, whoever runs the program will not have privileges to execute commands in the virtual machine. I want to update th...
asked by 26.05.2015 / 22:37