Questions tagged as 'asp.net'

1
answer

what is the correct way to login to log in simultaneously with asp.net?

I have this static class to have the user data but it is a desktop design because I realized that the resources are shared by the web. if you start other users, the session is overwritten public class Authweb { private Authweb() { }...
asked by 21.02.2018 / 04:05
2
answers

as I export a datagrid to excel

I want to export a datagrid, its button works but when I open it in excel, it tells me that the extension has another format. otherwise, if I accept the excel, the sheet shows nothing this is the code public class CustomersB...
asked by 19.02.2018 / 15:36
1
answer

how to validate checkbox selected in asp .net mvc5 for login?

Hello, what I need is that with the user registration form provided by the .net mvc5 the user can register successfully only if, only if he selects a textbox to accept terms and conditions (as is commonly seen in registration forms) ) I really d...
asked by 19.02.2018 / 08:29
0
answers

Problems in the ASPxSpinEdit control in Internet explorer VB

It turns out that I'm doing a form, and in one of the sections, I use an ASPxSpinEdit. The problem is the following: In Internet Explorer, when entering a number in the control, for example the number 21, the first number is written well, 2, and...
asked by 20.02.2018 / 10:43
0
answers

Validate MVC user through APi

I'm doing a project in MVC ASP.NEt that consumes an API for all the data you need, including users, everything is in the API. What I need to know is whether it is possible for me to verify the MVC Login in the API and when the API answers OK,...
asked by 16.02.2018 / 22:13
0
answers

The value in all arrays C # is changed

Hello, I would like your help or see if anyone knows what is happening, when reading the data in an excel file I keep it in an array and I keep two more to perform other procedures with them, but when modifying one the others are modified two, s...
asked by 18.02.2018 / 17:39
2
answers

Problem with decimals in ASP.NET MVC 5

I have a payment administration in which I have an error that I have not been able to solve so far. The error is given in the monetary value of the payment because the value that is entered in the view generates a decimal number of type xxxx.00....
asked by 15.02.2018 / 02:25
0
answers

How to know if there is an error in a validator C #

I have a form in Webforms where an Email is entered. You have two validators that work correctly: RequiredFieldValidator, RegularExpressionValidator. <asp:TextBox ID="txtEmail" runat="server" MaxLength="100" placeholder="Ingrese Email" C...
asked by 13.02.2018 / 16:22
0
answers

Aspx dynamic page

I have a problem with a dynamic page that I am developing on ASP.net The structure is from a "blog": Each "post" is an HTML page with variables: [Title] [Date] [Description] and finally I have the Read more ... <articl...
asked by 09.02.2018 / 00:44
1
answer

EF Core Generic Repository error with GetById method

I have a generic repository for my crud in netcore, but I have a problem with one of the methods. The method is GetById public async Task<TEntity> GetById(int id) { return await _dbContext.Set<TEntity>()...
asked by 07.02.2018 / 15:31