Questions tagged as 'asp.net'

1
answer

Asp Fill Gridview with textbox

I am new to this, I would like to know how I can fill this gridview that I have with the following textbox, I will leave the code and the images as I do not know how to mount them here. <%@ Page Language="C#" AutoEventWireup="tr...
asked by 28.05.2018 / 16:15
0
answers

Enter data to DropDownList from an sql query

I have a problem when entering data in a DropDownList, because I have the code, but at the time of logging in as a user does not show me information in the DropDownList and I do not know why, because Reviewed my query and it's fine. I leave the...
asked by 28.05.2018 / 17:39
0
answers

How to update a summary datagrid when I update a record of a datagrid detail?

I need your support with the following: I have an asp.net project in c #, in the project I have two datagridview, a detail datagridview and a summary datagridview, what I need is to update a record in the datagrid detail and then update the s...
asked by 23.05.2018 / 19:36
1
answer

How to pass 2 parameters in asp.net mvc from a dropdownlist

I'm trying to pass 2 parameters to the method that is in the controller from the view, but only recognizes the value of the first parameter, the other comes as null, which I'm doing wrong, this is the code. View table> <tr>...
asked by 24.05.2018 / 22:49
0
answers

You do not recognize my public method in my aspx form

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using Negocio; namespace Presentacion { public partial class frmCatalogo...
asked by 24.05.2018 / 22:00
0
answers

Include Page aspx in another aspx

I hope to explain, you can guide me on how to include an aspx page in another aspx, my intention is to create a header but that I will use it in several projects, and I use reuse that code, I would appreciate your help. Note: try using an ifr...
asked by 29.05.2018 / 21:00
1
answer

Upload an excel to visual studio and pass it to sql server

I have a project to which I need to upload files. I have to upload an excel file, select the file from the computer and pass it to a sql server database. I have tried with tools such as sql server data tools, but apparently it only allows me to...
asked by 24.05.2018 / 15:04
0
answers

Error adding WebForms in MVC ASP.NET project

I find the following error when opening a view that I created in my MVC 5 ASP.NET project, the view file is .aspx: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Asistencias.aspx.cs" Inherits="Visitantes.Views.Informes.Asistencia...
asked by 20.06.2018 / 15:18
1
answer

Keep a user logged into the views

I am trying to realize that when I register a user, his username appears in the header of the page. All this in ASP.NET. I have done the validation and I verify that the user really exists, but now I want him to show me his name in the header....
asked by 23.05.2018 / 11:43
1
answer

Add required attribute to a textbox - ASP.net

It is possible to add the required attribute in VB.net to a Textbox. I would assume it would be something like this: textbox.Attributes.Add("required") or is it necessary to insert JavaScript to implement it?     
asked by 23.05.2018 / 15:36