Questions tagged as 'c#'

1
answer

Perform a summation and save in session variable? asp.net

I am using session variables to save the data and the table, users, etc. (Then they travel to another page) and then I have the dilemma that I can not solve what steps to follow to make the summation of the Total label. I'm practically new with...
asked by 17.11.2018 / 03:42
0
answers

Problem with inheriting a WindowsForms C # menustrip

I'm having a problem with the inheritance of a MenuStrip from a parent form to a daughter class since I can not access the edition of it. I have already tried from the parent class to put the modifiers in public and make their events virtual and...
asked by 19.11.2018 / 17:52
1
answer

problems with month calendar c #

I have a problem with MonthCalendar of c# , I will briefly explain ... I have a form where you get dates from a data base SQL , at the time of finding dates they are marked in bold in MonthCalendar . By doing cl...
asked by 19.11.2018 / 18:30
0
answers

because the input of my game does not work

using System.Collections; using System.Collections.Generic; using UnityEngine; public enum MoveDirection { Left, Right, Up, Down } public class InputManager : MonoBehaviour { private GameManager gm; void Awake() {...
asked by 17.11.2018 / 20:31
0
answers

Problems with the Entity Framework

Good morning, I have the following error when saving the data of a form in the Database. I work with C # and WPF. This is the exception: System.Data.Entity.Validation.DbEntityValidationException: 'Validation failed for one or more entities....
asked by 22.11.2018 / 12:32
0
answers

Help with project in visual studio on asp.net and c #

Very good I would like to know if someone could help me with this project that I have an error. It consists of connecting to the database (I have it with char fields), which is fine, but when I click on the button with nothing works well, the pr...
asked by 25.11.2018 / 15:09
1
answer

Error System.StackOverflowException

I've been doing this code to make a maze and solve it. The first creates a vector of panels and labels, the panels are the squares of the board, and the text of the labels says if it is a wall (#), free path (+), path already crossed (-), the be...
asked by 16.11.2018 / 01:09
0
answers

Load partial view

Hi, I hope you can help me. I have this view with this script <div class="contenedor"> <div class="tabs tabs-style-tzoid"> <nav> <ul> <li><a href=""><span>Personales</sp...
asked by 16.11.2018 / 19:56
1
answer

Login with database fields

How could I do a login, request the name of the server, the database, the user of the database and the password of the same in C #? SqlConnection conexion = new SqlConnection("server='" txt_server.text; database='" + nom_db + "' ; user='" + u...
asked by 15.11.2018 / 22:49
0
answers

Can a Resource Dictionary be used in xaml to instantiate Page?

What happens is that I have a Datagris and I wanted to load it dynamically in a Page, like this example <GridView ItemsSource="{x:Bind Items}" ItemTemplate="{StaticResource ImageOverlayTemplate}" IsItemClickEnabled="False"...
asked by 15.11.2018 / 21:16