Questions tagged as 'c#'

1
answer

Webbrowser with input type file

Friends, I'm building a virtual robot to work on a particular site. In a certain action I need to upload a file to the site, but when the robot clicks the <input type="file"> button it logically opens a modal window of Windows Ex...
asked by 16.03.2015 / 13:08
1
answer

Format text in Crystal report

Well I need to print a bank slip with following. Our number should be like this. 15 / 200020-3. This same number is saved in the DB like this: 152000203. How do I put the bar in the 3rd house, and the 10th hand?     
asked by 28.02.2015 / 19:08
1
answer

How to name the foreign key in the Entity framework

public class Lancamento { // Colunas e métodos omitidos [Column("IdContaBancaria")] public virtual ContaBancaria ContaBancaria { get; set; } } public class ContaBancaria { [Key] // PK [DatabaseGenerated(Database...
asked by 23.02.2015 / 16:46
1
answer

How to send mail with HTML formatting in Windows Phone C #

Hello, in Visual Studio 2012 has the EmailComposeTask Object, but it does not have HTML formatting, I would like to know how best to send emails via Windows Phone with HTML Formatting.     
asked by 19.02.2015 / 20:50
1
answer

Check which processes are connected to the internet

Is it possible to check which processes are connected to the internet and what is your destination?     
asked by 25.11.2014 / 19:12
1
answer

How to read MFD printer fiscal hard disk files

Is there any way to read MFD fiscal printer files on the hard drive? These files are binary is there any way to read binary files and save with txt? Printer : BEMATECH MP-2100 FI     
asked by 24.11.2014 / 21:22
2
answers

How to pass a large list of objects to API in C #?

I am passing a list of objects to my API in C #. When the list size is smaller, everything happens as it should. When the list is a bit larger the list comes empty in my API. When the list is smaller I get the expected result: Howeverwhen...
asked by 25.10.2017 / 15:15
1
answer

How to get a Mac-Address from a LAN IP using .NET Core on Linux?

I already have tools that can identify the Mac-Address of the devices in my network, as long as the 'server' or the application is running in Windows and .NET Framework. I have used the following: using System; using System.Net; using Syste...
asked by 26.10.2017 / 21:32
1
answer

How to return concrete classes, with filled navigation properties, through Linq queries?

Following this question: Query by Linq and Lambda getting range of options per sub-query. How do I get a closer result than simple? Where, however, my template grew to one more class (resulting in another table), the class Tela , I'm t...
asked by 23.10.2014 / 18:44
1
answer

Error in query in bank with Linq

Good evening! I'm trying to perform a query on a mysql table, using linq, and present that result in a gridview to the user. I have the table below: I'm not looking for all the columns in this table, just a few for this I'm using the code be...
asked by 09.06.2014 / 01:46