Questions tagged as 'webforms'

1
answer

Retrieving FindControl from parent repeater in event of child repeater

I'm having trouble getting a field from my parent repeater in the click of my linkbutton that is inside another repeater (child). My parent repeater contains the report code and other information and my child repeater contains the dates for t...
asked by 25.02.2016 / 12:52
1
answer

Multi-tenant application with asp.net webforms and routes

I'm developing a multi-client Web application for a SaaS and would like each client to have a different URL for access to their area in the application, for example: link link I thought about creating an application for each client in...
asked by 16.06.2014 / 16:15
1
answer

File download from form completion

I'm trying to access a website, fill out your form and download the file, but I'm encountering some difficulties. This is my code so far: #library's require(rvest) #website url <- ("http://www.anbima.com.br/est_termo/Curva_Zero.asp") pg...
asked by 02.03.2017 / 19:18
1
answer

How to get a column in the database, perform a calculation and send to grid

I want to perform a calculation using the value of the field VAL_VIDA_UTIL of my BD and then save the result from calculation in a new variable VAL_DEPRECIACAO and pass to my fieldName, but I am not succeeding. Could someone help me? My code...
asked by 12.07.2016 / 13:31
1
answer

Creating Dynamic Controls in ASP.Net

I'm looking to create a component for a default master record. In the project I'm developing, I'm using Web Forms, where I have my masterPage with the site layout (menu, header, and footer). But to facilitate future maintenance, I created a clas...
asked by 11.09.2014 / 16:12
1
answer

Gridview inheriting properties

In all my grid's I have to set many properties, I would like to know if there is any way to set properties only once in a single place. Grid example:     
asked by 27.08.2014 / 22:02
2
answers

The underlying connection was closed: Unexpected error on receipt

I have a web site that communicates with a WCF. This Wcf communicates with my "DAO" which is a class library where I have the .edmx template for access to the database. I referred my DAO to WCF, and my WCF to my web site. I'm using entity fra...
asked by 23.10.2014 / 01:07
2
answers

Getting the full path of a client file in ASP.NET

On the server side, is it possible to get full path of a file sent by a client using the <input type="file"> tag? For example, if the user sends the file C:\Users\Documents\a.txt , does the server get the string C:\Users...
asked by 13.05.2014 / 22:03
2
answers

How to close connection to the Firebird database

I'm trying to create a web application in ASP.NET C #, but I'm not sure how to do it. p> string conDDNS; FbConnection conexaoDDNS; protected void Abrir_Fechar_Click(object sender, EventArgs e) { try { this.conD...
asked by 12.02.2016 / 19:49
1
answer

How to display an ASP HTML code in a Label sending by Code-Behind (C #) - ASP.NET

I'm having a problem, I've done several tests where I'd like to send a HTML code directly to a label from a C # method, where it would dynamically display the code on the screen. But when I send it, it does not render. public partial class...
asked by 15.05.2015 / 02:21