Questions tagged as 'c#'

1
answer

c # - Error when trying to Replace a string

Good People, I have the following problem: When trying to replace of a string (of a Literal Control ), using the following code, the value of the same does not change. MyControl.Text.Replace("id=\"KP\"", "id=\"KPC\""); H...
asked by 31.08.2018 / 11:27
1
answer

Customize calendar C #

In the system I'm doing, I need a calendar that only has the weekends of each month enabled to be selected, the rest is deleted. How can I do this in C # Winforms? I searched the internet and here in the Forum and did not find anything exa...
asked by 17.12.2014 / 22:15
1
answer

Definition of non-generic method?

In public partial class frmAltInfo : Form The error occurs:    Extension method must be defined in non-generic static class I do not understand what can be and how to solve. Here was the error: public static string TextNoFormatt...
asked by 23.11.2014 / 23:32
2
answers

How do I debug a method in a .asmx Web Service

I have a call in my application, which goes to a WS and excuta a method and returns me. How do I debug WS?     
asked by 25.11.2014 / 23:02
1
answer

FullCalendar displayed at wrong time

I'm implementing FullCalendar in a project, I've inserted some Events in the database, and I return them via Json . But by displaying them on the screen, they come with the correct date time, but the display does not show in the c...
asked by 22.05.2017 / 15:47
3
answers

Call form after loading screen

I have already checked some answers that have been made about closing a form after logging in and so on. I tested the many methods in my function, but I did not succeed. Soon my problem is not a login but a progressbar screen. I'm doing...
asked by 10.05.2017 / 23:18
3
answers

Save date in Brazilian format in Postgresql

I have a PostgreSQL database on the Windows Azure server that is set to the Brazilian standard. If I do a SQL and execute directly on PgAdminIII from the server and execute, the date is saved in the Brazilian format. But if I have my C # c...
asked by 10.05.2017 / 02:46
1
answer

ASP.NET WebForms, MVC or WebAPI? [closed]

First of all I would like to emphasize that my knowledge in web development is very small, so my question will be focused on what to use and not how to use, since the goal is to study first and then develop. I need to create a web application...
asked by 29.05.2017 / 14:53
3
answers

Generate 32-character MD5 password with CryptSharp

I am using the CryptSharp library to generate password in MD5. I had read that MD5 generates string with 32-character hexadecimal but is generating 34 and with several character types. Generating in this format:    $ 1 $ gSUz3sUo $ mFPQB05...
asked by 14.07.2014 / 16:51
3
answers

Copy file with progress

How do I use the function in C # File.Copy(string path); to copy a file by incrementing a value in a ProgressBar ?     
asked by 28.06.2014 / 03:33