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 developing a Windows Form C # activity control application for a company, however I would need to display the activities as buttons within the GridView cell.
I've tried:
DataGridViewButtonColumn uninstallButtonColumn = new Data...
I have a layered application, and in my presentation layer, I have a ViewModel that is UsuarioViewModel within this I have a property call public email {get; set;} .
> that is being registered already exists in...
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...
I have an action that receives a user file.
[HttpPost]
public ActionResult UpdateFicheiro(FicheiroViewModel model)
{
var listaDeFicheirosJaAnexados = servico.obtemficheirosJaAnexados();
model.ficheirosJaAnexados = listaDeFicheirosJaAnexa...
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...
I'm working with ASP.NET CORE 2 and it's a Layer application.
This is my ConfigureServices no Startup.cs
public void ConfigureServices(IServiceCollection services)
{
services.AddTransient<DbContext,...
I have my registration, which was done using Scallfold's visual studio
In my view:
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-actions no-color">
<input type="submit" value...
I'm doing a class that will get one of three values, and will list the field that I fill in, I'll type the product name or the code or the value and it will list me.
I need help to make the following condition: if I type the name it will bring m...