Questions tagged as '.net'

2
answers

How to print in dot matrix printer on the client with a web application?

I have an application made in C # MVC with a routine to print plain text on the default printer. The RawPrinterHelper.SendStringToPrinter method that is described in this article has been used. Printing normally occurs when I run the ap...
asked by 23.10.2015 / 22:43
1
answer

Reason for different versions of DNX depending on OS

Some time ago I asked here about which really is the .NET Execution Environment (DNX). After reading the answer and the DNX Wiki I came to understand DNX as an interface between the virtual machine on which the managed code executes and the Op...
asked by 07.12.2015 / 14:30
0
answers

Catching records in the DataGridView and playing on a label [closed]

Folks, my idea is this, I want to get records in a DataGridView and play on five labels. Each one corresponds to a command, and these labels will change to another record as soon as they are clicked. Example: Label1.Text = "Você gosta...
asked by 03.12.2015 / 03:49
1
answer

Project only runs if Visual Studio is installed on the client machine [closed]

Hello. I have a project done in WPF, which uses data returned by web services to interact with the user. This system, when you start, consult IIS to see if it is standing, if the web services are there and if they are operative, if it is not it...
asked by 13.10.2015 / 17:14
0
answers

Block Coding

I'm trying to develop an Block Coding application. I found it difficult to develop this kind of application. With the events below, I can identify when there is a collision between other controls and drag the controls. However, I could not...
asked by 28.10.2015 / 19:44
0
answers

DbDataReader stops reading after a while [closed]

When the database is in the beginning, it works perfectly, after some time of use, the object does not return anything and the query does not work. This is the source: using (DbCommand cmd = CreateCommand(conn, sql.ToString())) { List&l...
asked by 22.09.2015 / 21:58
0
answers

ReportViewer - Data merge columns when exported to excel

I am generating a report and exporting to excel using ReportViewer and DataSet. The ReportViewer consists of a table and two textbox , which refer to the title and company, and an image. After doing some tests it was found that the% w /...
asked by 02.10.2015 / 19:36
1
answer

Enable Button in WPF C # through a function

I have a form for filling some data with Textbox . I have a class that has some validation functions for fields name, password, user for example. And in my Code Behind I just call the function that validates by passing the parame...
asked by 17.09.2015 / 17:15
3
answers

Error 400 when calling a .net service on the iOS app - How to solve it?

I need to access a webservice from my app. I've taken an example in stackoverflow to access the link service. Below is the source code for accessing the service. The problem is that I'm getting 400 error in the response (header) and no content...
asked by 17.09.2015 / 01:51
7
answers

How do I remove accents in a string?

I have a string áéíóú What I want to convert to aeiou How do I remove the accents? I need to save in the database as a URL.     
asked by 11.12.2013 / 16:51