Questions tagged as 'c#'

2
answers

At what point are the properties calculated? C #

I'm using C # and I got the following doubt, In a class in which I define a calculated read-only property, for example, a simple class public class UnaClase { public int Num1 { get; set; } public int Num2 { get; set; } public in...
asked by 14.12.2018 / 15:28
1
answer

How to delete not only datagrid rows, but also columns from header c #?

I'm doing this to erase the rows of my datagrid.Rows.Clear (); this erases the rows to me, but it leaves me the headings and I also want to erase the columns, how do I do it? the rows and columns are added by code datagrid.rows.add (), not fi...
asked by 05.12.2018 / 19:40
1
answer

I want to do a reading speed test in console (C #)

I'm doing a program / game in C # which is basically a 6-speed reading speed test and I want to show something similar to this in console: link The problem is that it does not show even a single word of the contents of the text file....
asked by 05.12.2018 / 02:46
1
answer

C # - Hide or show panels within a SplitPanel

In a form I have a SplitContainer: in the left panel I have a series of buttons and in the right several panels COUPLED to the right panel of the SplitContainer. The idea is: by pressing the different buttons on the left panel, the different...
asked by 18.04.2017 / 18:02
1
answer

List c # help list distribution

I am new to the list development, I have a query: Assuming I have a list with fields id, name, store, code. and the code is repeated for example 001,002,003,001,001 how to divide the list into 2. one for the repeated codes and another for the no...
asked by 26.11.2018 / 02:51
2
answers

How to do Binding to the "Icon" property of FontAwesome UWP?

I have this gallery of icons that I downloaded for my UWP project link I need to do a Binding to Icon's property so the xaml called it that way: xmlns:fa="using:FontAwesome.UWP" and in the grid or in a stackpanel I call it this way:...
asked by 19.11.2018 / 14:50
1
answer

How to represent this html code with razor helpers

I have the following HTML code: <div class="form-row"> <div class="form-group col-md-12"> <label class="form-label">Tipo de dirección</label> <div class="form-inline"> <label class=...
asked by 23.11.2018 / 11:32
1
answer

How to pass a value from one script to another

In a scene I get the data entered by the user, once you enter the data with a button changes the scene but the problem is that I do not know how to pass that value to the other scene. the method where I get the value of the data and change the s...
asked by 30.11.2018 / 13:00
1
answer

Add record to table by default in ASP.NET MVC with Code-First

Someone who works with the CodeFirst model in ASP.NET MVC and can give me an idea to know: How to add a user by default in the User table >, when executing the construction of the tables of my Context for the first time? I put this simple fr...
asked by 07.03.2016 / 18:00
1
answer

In charge of filtering data in asp.net MVC

I have a MVC web application and it contains a GRID with KENDOUI framework where it shows all the data in the "Patient" table, I wish < strong> filter the data to be displayed in the table according to the identified user which is already...
asked by 02.03.2016 / 04:01