Questions tagged as 'webforms'

1
answer

Problems connecting mysql with asp.net c #

A small problem appeared, which in my old application worked normally. My DAL Class is not connecting in Mysql. Being all the connection parameters, I believe it is correct. MyDALthatmakestheconnection.usingSystem;usingSystem.Collections.G...
asked by 24.09.2014 / 06:17
6
answers

How do I make a textBox that updates whenever the content changes?

How do you make a textBox that updates the database values that are placed in it? That is, textBox is filled in and the user decides to change what is there and wanted to immediately * trigger a method to update the information...
asked by 30.01.2014 / 11:31
1
answer

How to access child items in a BoundField of a GridView in Asp.Net Web Forms?

I know that in the middle of GridView , you can read an immediate item with the tag BoundField : <asp:BoundField DataField="MeuItem" HeaderText="Meu item" /> But I get an error trying to do this: <asp:BoundField DataF...
asked by 18.02.2014 / 20:34
1
answer

Error generating report in production - ReportViewer Version 11

I'm working with webforms and generating a report in the reportviewer locally, the report accepts parameters and has a dataset // Parametros List<ReportParameter> parametersReport = new List<ReportParameter>(); parametersReport.Add...
asked by 05.11.2018 / 20:32
1
answer

RegEx in JavaScript and C # for text validation

In a Asp.Net WebForms plication application, I have a TextBox that I need to validate if it contains any excerpt where < is followed by any character except whitespace. For example: Nesse texto pode existir < com esp...
asked by 25.05.2017 / 21:47
2
answers

ASP.Net - Browse RadioButtonList?

I have several RadioButtonList in a form, in the event of submitting the form I want to go through them and get the selected value. I tried this: protected void btnEnviarQuestionario_Click(object sender, EventArgs e) {...
asked by 01.09.2017 / 14:00
1
answer

How to save Image to a specific folder?

I have the following code: protected void btnSalvarDestaque_Click(object sender, EventArgs e) { if (fuFotos.HasFile) { string strname = fuFotos.FileName; fuFotos.PostedFile.SaveAs(Server.MapPath(".") + "//Content/Destaq...
asked by 28.09.2016 / 04:31
1
answer

Dynamic Image Gallery ASP.Net C #

I have the following code,  It loads the photos in that placeholder. ID="phPhotos" > public partial class ImovelDetalhe : System.Web.UI.Page { private ImovelBo _imovelBo; protected void Page_Load(object sender, EventAr...
asked by 17.08.2016 / 21:21
1
answer

Populating a field by selecting a dropdowlist through popup

I need to open a popup through the event of selecting a dropdownlist in a .net application and in this way populate the field of the first screen with the selection of the option displayed by popup . I confess that I am somewhat lazy w...
asked by 27.08.2015 / 16:17
1
answer

How to request authentication in a menu item in Asp.net

I have the login form that is currently being used to log in, but I need to do this authentication also when I click on a particular menu item. I need that when clicking "Home", ask for this authentication again, and if the user has permission,...
asked by 07.10.2015 / 14:37