Questions tagged as 'visual-studio'

1
answer

foreach does not appear in Vista

I try to make this work but it does not show any errors or exceptions, it just does not appear in the view ... @if (Model.Recetas != null) { <div class="row"> @foreach (Receta receta in Model.Recetas) { &l...
asked by 12.07.2018 / 19:49
0
answers

Clean datagridview connected to data c #

Well I'm making an invoice which is that the invoice consists of two tables detail purchase and purchase she keeps and everything perfect! My problem is that when I save correctly if I want to return an invoice without closing the form, the prod...
asked by 03.04.2018 / 11:20
0
answers

Custom FlowLayoutPanel: Get inside elements posotion and / or Rectangle

I have created a customized user control from the FlowLayoutPanel control that contains customized Panels inside, added dynamically. I want to get the position of the controls within this FlowLayoutPanel to complete the isPointOverPanel method....
asked by 15.03.2018 / 22:52
1
answer

Authentication of Individual User Accounts in Asp.Net Core

When I create an Asp.Net Core application with Authentication of Individual Users Accounts, it asks me for certain information: Domain name Application ID Registration policy or login What should I put in them?     
asked by 14.10.2017 / 20:34
1
answer

Event click has no function

I have created dynamic buttons and I have assigned them a click event but when clicking them, they do not enter the event protected void Unnamed1_Click(object sender, EventArgs e) { ScriptManager.RegisterStartupScript(this, this.Ge...
asked by 30.06.2017 / 22:29
2
answers

Why does it return zero value?

in my programming class in form I have to show the area in a message, only that they want the data of height and width to get it from the inheritance of the class and in the way that the I'm doing it always returns zero in t...
asked by 04.10.2018 / 08:54
1
answer

two switch in visual C #

Can I make two switches in the same method in visual C #? I try to do it and in the second switch I get an error message that says unreachable code. thanks for the help. private bool CalcularLibro() { switch (TipoPasta.ToUpper()) { case...
asked by 01.10.2018 / 04:12
1
answer

Help with problem CS1586 visual studia next to MySQL

I do not understand why I get an error CS1586, specifically when I say new string[] class ConsultaMySQL { private MySqlConnection conexion = new MySqlConnection("server=localhost; database=thepacioli; Uid=root; pwd=Valentin_...
asked by 03.10.2018 / 04:43
3
answers

Modify file in resources directory in Visual Studio

Hi, I'm doing a project in visual studio 2015 and I have a PictureBox whose image is taken from the Resources folder. That image I will need to change every day I'm trying to change the image by hand replacing it in the directory, but then when...
asked by 23.11.2016 / 19:58
2
answers

The project sometimes does not recognize me a class

I have a class that I use to generate the custom buttons of my project in winforms, I simply define the font..color and in this way I use this custom button in all my forms. The structure of files and directories that I have is this, within t...
asked by 31.05.2017 / 12:46