I have always worked by attaching only images to my BDD tables, I remember converting to MemoryStream and then to Byte and inserting ... But I need to insert any kind of file extension into my database.
I'm not able to develop the following environment:
public abstract class AplicacaoGenerica<TEntity> where TEntity : class
{
private IRepositorio<TEntity> repositorio;
public AplicacaoGenerica(IRepositorio<TEntity> rep...
I can not get my app to find the table tag.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Dominio
{
[Table("Loja_Carrossel")]
public class Carrossel
{
public int Id { get;...
I'm doing a C # application on Windows Form using .Net Framework 3.5 .
In this application I have a textbox for the entry of CPF or CNPJ.
I need this field to have only numbers and CPF / CNPJ characters (./-). I would like to validate...
I'm working on a Web Forms project that has a DLL, and in that DLL there are references to external services. We have 3 environments (development, homologation and production) and for each environment there is a specific URL for each of the serv...
No DateTimePicker I can display anything using d for day, MM or MMMM for month and yy or yyyy for year.
However, I would like to simply display in the customformat property: April 15th.
Howe...
I have the following code that inserts a value into an excel cell for export
context.Response.Write("aa\r\nbb\r\nccc");
o / r / n breaks the line but writes in the cell below, I would like to break the line but continue with the text in the...
I'm doing a form (Windows Forms) in C # and would like to know how do I get the component that is in focus. In my form there is a SplitterPanel and inside it, in Panel2 , has TabControl with several: ComboBox , TextB...
Console.Write("Digite um numero de 4 digitos: ");
string numero = Convert.ToString(Console.ReadLine());
int soma = 0;
for(int i = 0; i < numero.Length; i++)
{
soma += Convert.ToInt32(numero[i]);
}
Console.W...