In my application a Team has several users and a User belongs only to a Team (1: N), so I have the following entities:
public class Equipe{
public Guid EquipeId {get; set;}
public string Nome {get; set;}
public virtual ICollect...
I need to get a return from an ajax that I send.
The URL returns me something like: http://localhost:11910/ProtocoloExterno/Inserir?itensContrato%5B0%5D%5Bid%5D=1&itensContrato%5B0%5D%5BvalorUsado%5D=15110%2C10&itensContrato%5B1%5D...
I am trying to insert into my mySQL database through Visual Studio 2017 - C # (localhost-wamppserver) but it is giving error.
The first column of the records table is the record_id which is the primary key of the records table and is auto_inc...
I need to generate a salt, but I need all the characters to be part of a list of numbers and letters.
string usedChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
I generate salt with this function:
public static...
I have an application where one of the forms contains a comboBox with data filled from the Item (Collection) property. How to send data that is in this comboBox to a sql server database?
I have the following entities:
public class Transacao : IEntity
{
[Key]
public int Id { get; private set; }
public int LojaId { get; set; }
public virtual Loja Loja { get; set; }
public int Adquir...
How do I pass an object I have in a REST to an ASMX ?
I have this controller in REST that has the object (client) that I want to send to an ASMX
[Route("api/[controller]")]
public class OptOutClientController : Controller
{
HttpClient c...
I would like to know how I can TreeView popular with Nodes and Childs through an SQL connection. The connection is already done this is the code I have for now, but it does not work since it only adds a node that is the first one in the l...