Questions tagged as 'c#'

3
answers

Register with output variable using ASP.Net and SQL Server

I'm doing a web application with the ASP.Net C # language but I'm validating the OUT output to show me the error message: This is my procedure: ALTER PROCEDURE pAdminUsersEvaSmart @tipo INT ,@UserName VARCHAR(100) ,@ERROR V...
asked by 06.04.2017 / 20:13
2
answers

Load Image from a picturebox

I'm doing a webcam program and I can not save the webcam image, until now only the camera appears in a picturebox, and I have a picturebox2 where I capture the image, but I need to save that image in a folder, either at desk or anywhere, and I d...
asked by 28.04.2016 / 16:59
1
answer

dataGridView prevent relocation when updating

My program contains a dataGridView where a series of data is displayed, this is updated every X seconds with a Timer_tick , the problem is that in each update the selected row of DataGridView is again the first, the objective...
asked by 11.01.2018 / 10:39
2
answers

Foreach of an object c #

Good afternoon, what I'm trying to do is set the attributes of a list of objects from a table with two for for the table and a foreach for the attributes of the object. I'm stuck on how to assign the value to the attribute. /*recorre las fila...
asked by 20.02.2016 / 00:58
1
answer

Do not allow access to defaultUrl in web.config file

I have a web application that has loginUrl="Index.aspx" and% defaultUrl="list.aspx" . This works well, because once I have the Index.aspx and I hope the user identifies, I get the page list.aspx . The problem is t...
asked by 08.02.2016 / 19:11
1
answer

Add content from rows of a DataGridView and unstick it in a Textbox

I am developing an application for the control of labels for the company where I work. I am working with a DataGridView which stores the data entered from the first Textbox as shown in the following image: What you do until you press th...
asked by 09.08.2018 / 19:42
1
answer

Avoid flickering Winforms

I am developing a simple game (Snake) in winforms . I use pictureBox that I use canvas (game board) this canvas is repainted for each execution of a Timer with interval of 100ms. g = canvas.CreateGraphics(...
asked by 16.08.2018 / 14:03
2
answers

Extend asp.net mvc 5 identity

I have to set up a login system and that this system can be reused in two mvc projects The model (according to the architecture) is as follows: User : usu, password, email Confirmed, etc. Client : userId, email, etc. Employee...
asked by 04.02.2016 / 06:35
2
answers

Left join using Linq C #

I have the person table in which there are 100 people of which 80 are students, of those 80 only 50 are enrolled, I try to make a left join (Sql Server) to show me the student that exists, even if not are enrolled The table that stor...
asked by 30.12.2018 / 19:18
2
answers

MySql Entity Framework Code-Firsrt

I am trying to persist against a MySql database using the Entity Framework the Code-First approach, use in EF6 I do not get an error, The problem is that I do not create the database or the table or add the records I persist. We show our im...
asked by 10.07.2017 / 01:12