Questions tagged as 'c#'

0
answers

Search GLPI Via API

I want to do a search via API in which I return certain data according to the parameters that I define, ie: To search for all items I get a Get where you send the following: link This search returns me all the tickets that exist....
asked by 29.03.2018 / 13:42
0
answers

Select set of values inside a LINQ query

Friends, I'm trying to create the following .json with a LINQ query using Entity Framework 6: { "id": "1231-12321-sdff-21-31", "name": "nome do produto", "description": "Descrição do produto" "rating": 4.1, "pr...
asked by 29.03.2018 / 15:58
0
answers

How to close a software after a certain time?

In order to be specific, I need my system to be inaccessible, after reaching the time determined by me, but this time can not be through the date, I need every time the software is started the system counts 1, and when it arrives for example at...
asked by 29.03.2018 / 15:44
0
answers

Problems with While in C #

I have a problem with my code, I have a for to do label printing according to the amount typed in camo txt.volumes.text, but when I type more than 1 volume while it goes out of the loop and only print 1 tag. Ex if I type 2 or more tags in the tx...
asked by 29.03.2018 / 16:18
0
answers

Remove Unused Application Sets IIS 10

I have an IIS server in my personal Windows 10. To try to maximize performance and avoid incompatibilities, I deactivated the app pools I was not using at the moment, so I only activate them when I need to work on a particular project. However t...
asked by 26.03.2018 / 13:43
0
answers

How to insert a signature in outlook via C #

Hello, I'm trying to add a signature to an object that sends email, I'm able to do anything but the signature ... Follow the Code, any light will be welcome. OutLook._Application outlookObj = new OutLook.Application(); OutLook.MailItem mess...
asked by 26.03.2018 / 15:11
1
answer

How do I get the listbox to be sorted in ascending order?

Hello My C # project has a listbox that lists numbers entered by the user. What I want to do is to constantly update these numbers in the listbox. I tried to use the Sorted tool, but what happens is: link In print: I entered with the...
asked by 24.03.2018 / 01:39
0
answers

Problem writing to datagrid column

I've broken my mind about it, but I can not do it haha I need the second column of my grid to do an arithmetic mean of the two values in the previous column and row. In this print, for example link , Xi should have given 2,66 but gave 0,...
asked by 24.03.2018 / 06:39
0
answers

Recording with NAudio with C #

I'm recording audio with the code below: public WaveIn waveSource = null; public WaveFileWriter waveFile = null; private void StartBtn_Click_1(object sender, EventArgs e) { if(System.IO.File.Exists(@"D:\TELEFONE\Gravac...
asked by 22.03.2018 / 20:08
0
answers

HTML JSon POST C #

I have the following class: public class Ticket { public string name { get; set; } public string content { get; set; } public int itilcategories_id { get; set; } } And the following task: static async Task<Uri> Create...
asked by 28.03.2018 / 12:11