I am looking for ways to validate my model with entity framework , and with validationResult I can achieve it, but with only one class, what do you propose to call another class and validate? an attribute of that kind?
Example:
public IE...
I have a UserControl that is dynamically added to a FlowLayoutPanel . In that same UserControl I have a button to remove itself if the user wants, obviously at runtime. I need to delete it from Form . I tried this but n...
The following function gives me the following error:
System.ArgumentNullException: 'El valor no puede ser nulo.
Nombre del parámetro: dataTable'
I executed the Query, directly in SQL and I had an answer. So I do not understand why it does n...
By moving with C # I have found that a new instance can be created without storing it inside an identifier.
I understand that these statements only work with classes because of the need to invoke some method within them, but does this instanc...
Ando watching some tutorials and always say those two words, can someone explain to me what is meant by mapped? , I searched through dictionaries (wordreference.com) among others and I can not understand what they refer to.
Thank you very muc...
I'm working with lambda expressions but I have a problem
I have this method:
public static void Test_LambdaExpresions()
{
var albums = new List<Album>
{
new Album { Quantity = 10, Artist = "Betontod", Titl...
I have the following schema mounted in Visual Studio (C # .net)
The idea is to be able to bring the data from the Textbox to the UserControl2. I have tried instantiating UserControl1 and changing the level of protection of the Textbox to p...
please collaborate on the following:
I have a Class class with N attributes:
public class Clase
{
private string atrib1;
private int atrib 2;
}
I want that when I use the class I can do (I think for a better management of resourc...
I pose the following scenario.
I have a DLL ( developed in .Net with fwrk 4 ) where one of
its functions is to connect to a WebService (Service reference).
I have some projects developed in .Net that consume this DLL.
I have some pr...