I have the following user control being used in a Form:
public partial class CampoTelefone : UserControl
{
private void maskedTextBoxTelefone_Validating(object sender, CancelEventArgs e)
{
//validações
}
}
Af...
Well, I see some examples of codes using associative tables. But I'm not sure what this term means, its applicability, concept etc ...
What is an associative table?
I'm trying to create a button with the Command event inside a ListView in MVVM , but it's not falling on the event in ViewModel .
How can I make this button Command access your method in ViewModel ?
And also...
I'm trying to send all the CheckBox from my View, however, I can only send the ones that are selected via FormCollection
Controller
public ActionResult Index()
{
List<ListaCheckBox> listacheck = new List<ListaCheckBox>();...
I have the following problem: In a view I will show data from 8 different tables and I have the following code that I put together to take the data to the view.
public ActionResult Index()
{
var avisos = (from av in neEAD.mot_avis...
During the installation of my application on a server, the following line is executed:
using (var com = con.CreateCommand())
{
com.CommandText = "CREATE LOGIN [BUILTIN\Administrators] FROM WINDOWS";
com.ExecuteNonQuery();
}
This cod...
How do I call the constructor of an attribute before the constructor of the decorated class?
For example, I have my attribute:
using System;
namespace T.WinForm
{
public class TesteAttribute : Attribute
{
public TesteAtt...
Developing a project in C # I came across the following situation, I need to download files from some URL's, what is the best way to do this? Would there be any way to download a progress bar together?