Questions tagged as 'asp.net'

2
answers

get IP from the machine in asp.net c #

Good I'm wanting to get the ip of the machine. For that I'm doing this code that when I run it from my website and publish it in my local IIS it works and I get my IP from my machine. IPAddress[] localIPs = Dns.GetHostAddresses(Dns.GetHo...
asked by 25.07.2018 / 17:26
1
answer

Verify the existence of an email in ASP.NET

I would like to know if there is any way to verify if an email is real. I already used the SMTPCLIENT of C # to send an email, but it does not tell me at once if the email is valid or not. The Idea is like simulating an email, but the answer...
asked by 08.06.2017 / 02:45
1
answer

How to pass DataGridView to Crystal Report?

I have a GridView in asp.net and I need to click on a print button to generate a report crystal reports with the data of GridView . So I have filled my GridView SqlConnection con = new SqlConnection(ConfigurationManager....
asked by 15.03.2018 / 17:16
1
answer

Convert Data Table to INT and Add Values

Good morning, I need help in the following, I have a table that is filled by a DataTable, now I include my project a dropdownlist (DDL) to change a column in specifies depending on the date selected in the DDL, My inconvenience is with the pa...
asked by 27.03.2017 / 19:32
1
answer

POST request error with JSON with accents in Android

I am sending a request to an API in ASP.NET from Android, I am using Spring Framework to make requests, the problem is that when sending a JSON that contains accented characters the server returns an exception with the following message: {"exc...
asked by 02.02.2017 / 07:16
1
answer

Convert an array of objects to JSON

You see, I have the following problem, I have a field of type hidden on a page asp.net that has as value a list of objects serialized with JSON from C# . The value of hidden is the following text: [{ "Eleme...
asked by 09.05.2018 / 17:35
1
answer

Our site falls from time to time IIS Is it possible that it is a DDOS attack?

   Hello, we have a site, it works well most of the time but from time to time   when it usually gives a one minute drop, we are using IIS 8.5   as a server and we work all ASP.NET technology. Our servers are hosted at Rackspace and before...
asked by 10.01.2017 / 23:22
4
answers

Differences between ASP.Net tools from normal HTML tools

I'm starting to program Web in ASP.Net and I've seen that in Visual Studio in the toolbox you can put <asp:Button> and things of this style. How would a <asp:Button> of a <Button> change, as if it were a...
asked by 13.12.2016 / 03:56
1
answer

C # Stored procedure or function expects parameter which is not supplied

I get the error    'sp_InsertaLandingPageTest' expects parameter '@IDUSUARIO', which   was not supplied, l id is supposed to be generated from the maximum but I really have no idea how to do it if you insert data into the stored procedure...
asked by 24.04.2017 / 19:31
2
answers

Timeout in ASP .NET MVC

I have problems with an ASP .NET MVC application. The application does a timeout at about 20 minutes and nothing is done on it. I have these lines in web.config : <authentication mode="Forms"> <forms loginUrl="~/Cuenta...
asked by 10.06.2016 / 13:13