Questions tagged as 'asp.net'

1
answer

Placing a dynamic YouTube video in an iframe (asp.net)

Good evening! I'm trying to put a youtube video based on a url stored in a sql database, the problem is that the way I found it to put, works only with some static url, in the following way: <iframe width="560" height="315" src="https://www...
asked by 18.05.2016 / 02:41
1
answer

How to create signature in asp.net with pagseguro

Hello, I've researched all over the place and I have not found how to integrate a signature into my system in ASP.NET MVC with the pagseguro. I used this code and my feedback is not working when I add this preapproval! //*********************...
asked by 08.07.2016 / 19:04
1
answer

How can I create a screen with different Views for C #

It is the following I have a system that has some reports wanted to do a single screen (webForm) and as the user makes a report call the screen generates that report and shows on the screen.     
asked by 15.03.2016 / 18:28
1
answer

What is the difference between FormsAuthentication createPersistentCookie true or false?

In an ASP.NET Web Forms application that uses FormsAuthentication in Login I would like to know: What's the difference in using FormsAuthentication.RedirectFromLoginPage with createPersistentCookie true and false? What changes in applica...
asked by 05.04.2016 / 19:36
1
answer

Insert via EntityFramework "IDENTITY_INSERT is set to OFF" error

I have several models and for some reason one of them has the following error: Cannot insert explicit value for identity column in table 'tbl_boleto' when IDENTITY_INSERT is set to OFF. I remember that I have already entered a record, but...
asked by 03.03.2016 / 13:17
1
answer

FormsAuthentication causes an infinite redirect error - ASP.NET C #

Good afternoon, I'm developing an ASP.NET application with C # that requires login, works and is being used this way: protected void Page_Load(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(...
asked by 14.04.2016 / 17:00
1
answer

Using Dynamic Connection String in Asp.Net Webforms and Windows Forms

I'm working on a project with 4 layers ( Banco , RegraNegocio , Webforms and Windows Forms ). I made the following references:    Webforms > Business Rule > Bank winforms > Business Rule > Bank...
asked by 19.02.2016 / 18:18
1
answer

Remove "www" from domain by doing 301 redirect

How do I redirect a www.dominio.com.br to dominio.com.br (without www)? I'm using asp.net mvc .     
asked by 03.01.2016 / 15:55
1
answer

Report Viewer with object dataset

Hello, I am trying to create a report in ReportViewer but I wanted to use an object as a data source, I saw some articles on the internet but I can not get ReportViewer to find my object to select, it finds other classes of the project but the my...
asked by 27.10.2015 / 13:18
1
answer

How to save pdf generated by reportviewer to disk at runtime?

I'm doing a series of reports which I need to generate the PDF and save to the server for the user to download. I can not use atatchment mode and inline mode. Because the user has the option to create multiple reports and download...
asked by 09.11.2015 / 17:16