With the code below, I generate a file and write it somewhere, however, instead of writing to disk, I wanted to generate it in memory, how do I do that?
using (var context = new ClassContexto(ClassMaster.conexao()))
{...
I have a web application that needs to present a list containing some data, for this, I created the Model: Crm_Analise :
public class Crm_Analise
{
[Key]
public int id { get; set; }
public string cod_item_CRM { get; set; }...
I need to make a check with a given text within a string .
How do I go through this string and look up the text to do this check?
Example:
If(dentro da string contém "Olá")
{
Mostre o valor determinado para essa string;
}
I have a multidimensional array:
string[,] classificacao = new string[20, 2];
and it has the following inputs:
classificação[0,0]="Hamilton"; //ISTO É O NOME DO JOGADOR
classificação[0,1]="20"; //ISTO A SUA PONTUAÇÃO
classificação[1,0]...
I have a textBox and I want it, when typing something, the dataSource of my grid provider to be updated.
I'm using the code below:
private void txtNome_TextChanged(object sender, EventArgs e)
{
gridFornecedor.DataSource = modelOff.forne...
I have the modeling down and I need to map composite keys as the embedded id of hibernate, but in the entity framework using the model first, is it possible?
I have an application and in the end I wanted to send a msg to one of the user's contacts about my application.
var columnNumber = cursor.GetColumnIndex(ContactsContract.CommonDataKinds.Phone.Number);
contacto_numero = cursor.Get...
I'm trying to send SMS through a WebService.
Sending a single SMS is simple. Just use the URL in this format:
https://xxxxx.com/sendMessage?messageText=mensagemdeteste&destination=552199998888&key=XXXX
However according to the We...
I have a parent class DadosClientes and two child classes DadosClientesPF , and DadosClientesPJ .
The DadosCliente instance has the field: Nome , Telefone
The instance DadosClientePF has the fi...