Questions tagged as 'asp.net'

2
answers

Header and Footer with ASP. Net C #

I'm having trouble separating my code, I made some tests to have separate header and footer but in visual studio I did that I can only have a
asked by 14.05.2018 / 16:22
2
answers

Error consuming ASMX Web Service

The error is this: An exception of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.ni.dll but was not handled in user code Additional information: The remote server returned an error: NotFound. I have two...
asked by 06.08.2014 / 21:53
1
answer

Run an XMLA query using WebApi from C #

My WebApi in C # is like this. using Microsoft.AnalysisServices.AdomdClient; using System; using System.Data; using System.Web.Http; using System.Xml; namespace FastReport.WebApi.Controllers { [RoutePrefix("FastReport")] public class...
asked by 10.07.2018 / 16:12
1
answer

Assigning value to a session in asp via asp.net (aspx)

I would like to know if there is a way to assign a particular value to a Session that is in an ASP page through an ASP.NET page (aspx)? Both files are in the same solution. How do I do this? I've tried: <%= Session("pgm_retorno")...
asked by 20.01.2016 / 17:01
1
answer

Convert byte into image using img src

To convert a byte that comes from the sql database into image in the ListView I do this: <asp:Image runat="server" ID="Image1" CssClass="image1style" ImageUrl='<%# "data:image/jpg;base64,"+ Convert.ToBase64Strin...
asked by 23.04.2017 / 06:11
1
answer

ReportViewer ASp.net

I'm trying to generate reports with Report Viewer. But when I go to configure the page rdlc, and I'm going to add a table for example, visual studio gives error, and it restarts. Does anyone know how to fix this?     
asked by 25.10.2016 / 19:33
1
answer

DropDownList with SelectList Item

Personal I'm trying to create a Select List, but in case it's returning this to my view:    Microsoft.AspNetCore.Mvc.Rendering.SelectListItem so it is not returning the Cargos that are in my database and here are the codes I...
asked by 29.11.2018 / 18:24
1
answer

Select the TextBox value

Is it possible, when entering a page, to leave the value of a textbox selected, and if the value is wrong, instead of deleting, is it just to enter another value that the previous value is automatically deleted?     
asked by 25.08.2015 / 19:52
1
answer

Asp.net Identity Decrypt

Is it possible to decrypt the password generated by Asp.Net Identity?     
asked by 31.10.2017 / 16:07
2
answers

Count number of checkboxes selected

I have a grid with repeater: <asp:Repeater ID="rtInlineBlock" runat="server"> <ItemTemplate> <div class="block"> <asp:HiddenField ID="id...
asked by 03.03.2015 / 21:30