Questions tagged as 'asp.net'

1
answer

API Amazon Product Advertising

I'm using the third-party API (Nager.AmazonProductAdvertising) to fetch books and other items in the Amazon Catalog, when the application was in test it did not show any error, just put it on the air about 7 days later, started to return error "...
asked by 23.03.2018 / 13:46
1
answer

System.NullReferenceException was unhandled by user code [duplicate]

When compiling my application I received this error from the image below, would anyone know how I could solve it?     
asked by 27.03.2018 / 14:47
1
answer

Doubt as to window.location.href ()

I know that window.open() will open url in a new window and window.location.href() will open on the calling page. It turns out that when I use window.location.href() , I put in the page_load a javascript call ( aler...
asked by 18.01.2016 / 22:07
1
answer

How to clear the query string after I have already got the values I want?

I'm using ASP.NET C #, and I wanted to clear the query string so that it does not look at the user, for example " link " ..... I get this name and use it in my code when on pageLoad, but I wish that after I got his name, it would not be visible...
asked by 09.09.2015 / 21:03
1
answer

How do I set the values of a PropertyInfo of the instantiated classes within a class?

I'm doing a generic method for rounding values of a class (T), but I also have the classes inside that main (T), these classes I can set this way: IEnumerable<PropertyInfo> childrenProperties = entidade.GetType().GetProperties(BindingFla...
asked by 30.07.2015 / 14:05
1
answer

Input string was not in an incorrect format

I'm getting the "Incoming Sequence was not in an incorrect format" when I make an inclusion in the database and update the gridview. But this only happens for the first record. From what I've tried I've noticed that the error comes from the C...
asked by 21.05.2014 / 20:34
1
answer

Error in SendMessageToWinControl - A type control was not specified

I have a web application that generates barcode label. In order for a client to print, I need to access the COM port on the computer. I created a project that does this function. But for the label to print, I need my application to pass the...
asked by 16.05.2014 / 20:05
1
answer

Error accessing a server hosted on a local IIS

When I test my machine, the login works perfectly, when I share it over the network it returns me the following error:    A network-related or instance-specific error occurred while   establishing a connection to SQL Server. The server was no...
asked by 25.03.2014 / 13:54
1
answer

Print Datatable in a DIV using Bind or Eval

Is it possible to print the data of a DataTable ( codebehind ) in a div ?      Print data from datatable to Label . How to use bind or eval ? Or some other way?     
asked by 10.03.2014 / 21:10
2
answers

Passing variable values in ASP.NET and Mysql [closed]

Hello, I'm developing a page in asp.net and I'm having difficulty passing values from a SELECT from Mysql to variables. I do not know where to start and would appreciate examples of how to do it.     
asked by 02.08.2016 / 18:29