Most languages have methods to encode and decode a URL, such as C # System.Net.WebUtility.UrlEncode(string value) and System.Net.WebUtility.UrlDecode(string encodedValue) .
I realized that when I use some language methods for Ur...
I'm starting in ASP.NET MVC and doing a course where the teacher used to display data from a class different methods for displaying a given.
It uses @Html.LabelFor and @Html.DisplayNameFor . From what I have read in other forums%...
I'm having trouble running my local server in Visual Studio 2013. When I try to run my application the following screen appears:
If you need anything else, let me know what I'm editing and I'll put it here.
Well, I'm new to C # and then I'm seeing a few database connection tutorials that appear to me this error:
ThecodeI'vedoneisallstillbasedonabasictutorialandI'llleaveithereforyoutosee
using System;
using System.Data.SqlClient;
using System....
I have the following scenario:
public abstract class Pessoa
{
/* Propriedades do Pessoa*/
public Guid IdPessoa { get; set; }
}
public class Cliente : Pessoa
{
public Cliente()
{
IdPessoa = Guid.NewGuid();
Endereco...
I'm trying to store an array of ints to use periostealmente, but I came across a syntax error in the part. { 4, 7, 8, 9, 10 }
private Int32[] m_FluxosPlataformas = null;
public Int32[] FluxosPlataformas
{
get...
Good afternoon, I'm trying to update an excel worksheet but the command is not changing any values, it's just corrupting the worksheet.
I create the last two columns and rewrite the other
connection.ConnectionString = "Provider=Microsoft.AC...
I have two variables DateTime , which are DataCadastro and DataAtual(DateTime.Now) . I need to know if the time difference between these two dates is greater than or equal to 4 hours. Is there a method in the DateTime class th...
I want to make an application that will have an option to call Regedit and the user will be able to choose whether to block or unblock for the application to start with Windows.
I've already looked at a number of websites and even here on S...