Questions tagged as 'c#'

0
answers

Backup Application - Online via OneDrive or Local?

   Although this question is a means of personal opinion, it can help   several other people if we put the positives and negatives   of each technology. I have a server in the USA, with a link of 1 Gbt / s Full Duplex, today I do not consume...
asked by 18.04.2016 / 21:02
2
answers

Checkbox in DatagridView C #

Good afternoon. I have a datagrid view with a column of type checkbox, tied to a DataTable with the column of type checkbox as well. My problem is this: I have to go through a presence list, if the student is present, I have to set the check to...
asked by 18.04.2016 / 18:50
2
answers

How to get a snippet of a string?

I have a string like this: ~/Areas/Teste/Views/home/index.cshtml I only need the word next to ~/Areas/ , in the case Teste (remembering that word may vary in size). How do I?     
asked by 09.10.2014 / 15:56
1
answer

Application Location to save data C #

I need to work with Windows Forms , more specifically on a system that works in intranet, without the possibility of using MYSQL , SQL Server among others. I need to create a second project that serves as a server and save...
asked by 20.04.2016 / 16:28
0
answers

Trust Level error when publishing MVC application

I need to publish an ASP.NET MVC application to a LocaWeb server. But when I publish, the server displays the following message: I'vetriedputtingtags<securityPolicy><trustLevelname="Medium" policyFile="web_mediumtrust.config" />...
asked by 05.04.2016 / 17:02
0
answers

Error trying to print document: RPC server is unavailable

I made software where one of the pages can be printed. On some computers it works normally and prints the page in PDF without problems. In others, when trying to print, the error appears: "The RPC server is not available." I tried to restart...
asked by 09.03.2016 / 12:56
1
answer

Collection of objects C #

I need to populate a list that is inside another list, but it is giving error. Follow the code: Promotora = new LojaPromotoraInfo { CodGerente = DBUtil.GetValor<string>(oRow, "CodGerente"),...
asked by 13.03.2016 / 14:16
0
answers

PHP processes never close

Hello, I am having a problem related to a PHP system that is running through a Windows Service. The application works as follows: I have a folder with several PHP files and scripts that serve as an offline application, which always r...
asked by 07.03.2016 / 19:13
0
answers

Which encoding to use for CMD script?

The Windows Command Prompt uses an ASCII table different from ours, which I do not even know what it is. So much so that a batch with special characters when printed on screen are strange: Opção de área de influência gets OpþÒo de ß...
asked by 06.03.2016 / 22:17
1
answer

How do I access a cookie in ASP.NET?

I'm trying to check if a cookie exists, but I've tried it in many ways, but the HttpContext method is simply not found and does not work. Am I missing a library? Error returned: Error CS0120 An object reference is required f...
asked by 07.03.2016 / 23:13