Questions tagged as 'asp.net'

1
answer

Conversion of RPT file to PDF c #

Good morning I have the following file in .rtp and I need to convert / convert the data from this report to pdf .    BalanceCompany.rpt I need this to be done through a click event.     
asked by 14.06.2017 / 16:36
1
answer

By clicking on the DIV clear textbox

I have a DIV that opens a modal, but I would like it when I click, clear the textbox, here is where I have the DIV that when clicking opens the modal: <div class="link-box"> <a href="#dialog" name="modal" class="...
asked by 14.06.2017 / 13:48
2
answers

Change the name of the pdf file to hash and then be able to undo the name to read again

I'm doing a feature on a system where; Anyone will upload an important file, this file contains sensitive information linked to each employee of the company. Each employee can open his / her own file, but no one else can open it. The file is...
asked by 23.06.2017 / 22:00
1
answer

How to change and maintain mapping of classes and properties using ADO.net

When using a database I have tables and columns with names like: - tb_user usu_id usu_name usu_data_nasc - tb_product pro_id pro_name pro_desc_resumida pro_desc_completa When you use ADO.NET Entity Data Model - &g...
asked by 07.06.2017 / 13:40
1
answer

View encoding

I'm having trouble setting the page encoding I've made in ASP.NET Core (keeps appearing ? in accented letters). In the old MVC you made the configuration in the web.config project, but now that file does not exist, and I have no idea h...
asked by 29.05.2017 / 06:24
2
answers

Dynamically set timeline in html on page .aspx

I would like to ask a little help from the forum, to dynamically set up a timeline in html using the asp.net font or code behind C #, in a Web Forms application with SQL database. I need to mount I imagine, for this a for each in the aspx code t...
asked by 08.07.2017 / 17:00
3
answers

Print Items Web Page

I would like to know how to print a web page, but I would not like to print the entire page, I would like it to print the title, and some grids, which are formatted (you would need to print all GridView data without paging ). Unfortunately of...
asked by 11.05.2017 / 14:05
1
answer

Update multiple form divs after jquery / ajax post request

I have two post requests in the form, one inactive and the other one activates a registration, as they are the same I will only display one to exemplify: function inativarCadastro(cod) { $.ajax({ url: '@Url.Action("InativarCadastro...
asked by 02.06.2017 / 17:03
2
answers

Error 1 The type or namespace name 'DataReader' could not be found (are you missing a directive or an assembly reference?)

Good afternoon, I was performing a code to query my database when I encountered these errors: Error 1 The type or namespace name 'DataReader' could not be found (are you missing a directive or an assembly reference?) I know it's something sim...
asked by 07.04.2017 / 18:52
2
answers

Login with Asp.net 4.5 (Entity Framework)?

How can I make a Select using Entity Framework , and check if the registry exists? Example: txtlogin.text txtsenha.text Login table. user field password field valida() class created to execute the command and se...
asked by 23.03.2017 / 16:22