I continue with my project in Winforms C # and I have many problems since I only know WPF and Silverlight, which is very similar.
In WPF if I put, in XAML :
HorizontalAlignment="Strench"
VerticalAlignment="Strench"
Without...
Good, fiddling with C # and C ++ I've found that the following type of expressions is valid:
int A, B, C, D, E;
A = B = C = D = E = 1;
According to this action, I am assigning 1 in E , E in D and so on, until the end....
I fill a list from OpenFileDialog and I put it in "file" and then put it on the list like this:
foreach (string file in selectedFiles)
{
ListBoxItem lstItem = new ListBoxItem();
lstItem.Content = file; //File es la cadena de la...
I have this method that receives a list of type VentasLinias and inserts each record in the database
public void InsertLines(int idVenta , List<VentasLinias> listVentas)
{
foreach (VentasLinias vl in listVentas)
{...
As I recently started programming in .NET C # I still do not have much idea of how it works ...
I have a table with 7 records in a database. But when I do a SELECT of that table from my class, it only takes the values of the last record ......
(For) Create a program that asks the user for width (for example, 5) and height (for example, 4) and write a rectangle formed by that number of asterisks, eg:
At the moment I have this:
Console.WriteLine("introduce el tamañno de cuadr...
I need to translate the following query from SQL to LINQ in .NET with C #:
This is the SQL query to translate:
SELECT COUNT(id_documento)
FROM documento
I need the value to be stored in a variable or to capture the n...
The main purpose of this question is to contribute content to Stack Overflow in Spanish
In C # we can convert data types (that do not accept the null value) to be nullable; assigning null to this type of data, produces a syntax error since C...
Good morning,
I have this little doubt, what happens when running my application as seen inside the image starts already selected a radiobutton.
My question is:
How can I select so that at the moment of running the application I start in t...