Questions tagged as 'webforms'

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

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
0
answers

Additional information: Object reference not set to an instance of an object

It turns out that I'm trying to make a post from a posted file from the asp view to the controller but it turns out that the file arrives null simply is not sent nose that may be happening the error is this: Additional information: Object refere...
asked by 02.05.2018 / 14:54
0
answers

How to make an expression of debit and balance in a reportviewer?

Hello in my SQL table I have the fields POSITION and FERTILIZER and I show those records in a reportviewer, and I want to add a column called BALANCE to show me the output. A) Yes: I clarify that the column Balance does not exist in my dat...
asked by 04.04.2018 / 20:17
0
answers

Why is my report viewer "loading"?

Hello, I have a report in vs 2017 and when executing it in the browser it stays stuck, here I leave the code: <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> <rsweb:ReportViewer ID="ReportVi...
asked by 29.03.2018 / 19:42
1
answer

Print a Report (ReportViewer) from Code (Without preview)

protected void Page_Load(object sender, EventArgs e) { //aqui muestro mi reporte en la pagina if (!Page.IsPostBack) { using (SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["cn"].ToString())) { SqlComm...
asked by 03.04.2018 / 20:44
0
answers

How to know if there is an error in a validator C #

I have a form in Webforms where an Email is entered. You have two validators that work correctly: RequiredFieldValidator, RegularExpressionValidator. <asp:TextBox ID="txtEmail" runat="server" MaxLength="100" placeholder="Ingrese Email" C...
asked by 13.02.2018 / 16:22
2
answers

How to fill gridview asp.net c # sql from behindcode? [closed]

I have a webform application in ASP .NET with C # and I want to fill a gridview from the webform.aspx.cs. There is some way to fill it "only" when entering the page, or it must be only with a click event. Could you tell me how to do it? I will g...
asked by 07.03.2018 / 19:37
1
answer

How to get a column of a grid to reduce the field instead of seeing the right part of this stop seeing the left

In the grid the Template field Currently to see the name of the entire template you have to do the long field until the name enters to see the end of the template name. The end of the template name is what differentiates the template from the re...
asked by 13.02.2018 / 09:51
1
answer

how can I save the contents of a fileupload in a byte array?

Good evening everyone, my query is as follows. I have an asp.net web forms form on vb.net where I have an asp: fileupload control like this: <asp:FileUpload ID="UpLoadEstudiantes" runat="server" AllowMultiple="False" CssClass="fil...
asked by 24.11.2017 / 06:07