Questions tagged as 'asp.net'

0
answers

Error in Generic Function for Procedure Return

I'm trying to do a Generic method for procedure return, but getting DataRow to do a Cast generates the following error:    Unable to cast object of type 'System.Data.DataRow' to type   'ClassGreen'. I'm using a Conversion Type Operator...
asked by 28.05.2018 / 15:21
1
answer

Can not convert type "string" to "int"

<% foreach (System.Collections.DictionaryEntry entry in HttpContext.Current.Cache){ HttpContext.Current.Cache.Remove((string)entry.Key); } foreach (int key in diamondMethodList) {...
asked by 24.05.2018 / 17:20
0
answers

Get Model value and pass it to a class in Controller C # /. Net

I wanted to get a value from the model and pass it inside a class that is inside the controller. Here's my class on Controller I wanted the variable "MyVariavel" to receive the value of my model public class classeTeste { p...
asked by 23.05.2018 / 19:04
2
answers

Generic Method of a Generic Class C # for similar classes

I have some classes that will use a write method. I created a CRUD (Generic) class where I would have a write method, but I need this method to take classes as a parameter. There is some way to create a generic method for what I have read, bu...
asked by 23.05.2018 / 14:08
0
answers

Jquery validation does not work asp.net mvc5?

I'm creating a project in ASP.NET MVC5 using C# and the FrontEnd validations are not working, even after I reference the bundle @Scripts.Render("~/bundles/jqueryval") na view. If I inspect HTML, I can see that the scripts ha...
asked by 26.05.2018 / 16:18
0
answers

Compatibility issue between Visual Studio versions

Is everything good? I am having a compatibility problem with Versions 12 and 15 of Visual Studio. Come on. I created an ASP frontend project in Visual Studio Pro 12, a very extensive and complex project. I recently upgraded the version of my IDE...
asked by 18.05.2018 / 01:26
0
answers

Suspended filters

Good afternoon! I would like a SUPER HELP, I am new to the internship and I have to make some modifications on the site. I need to make a suspense filter. I already have an example here, but BUT try to play the cod it does not work. @Html.Part...
asked by 16.05.2018 / 19:02
0
answers

Popup control DevExpress does not block backtraces

I'm developing a system using DevExpress MVC v16.2.6. I have some controls that call a popup control, where it will do a search, sleight, etc. My problem is that this popup that opens, is not blocking the fields of the form, is actually no...
asked by 15.05.2018 / 21:44
0
answers

Asynchronous handler completed while asynchronous operation was pending - C #

Hello, I have some questions regarding the code below. The code returns the following error [InvalidOperationException]: Module or asynchronous handler completed while the asynchronous operation was pending. The main method that calls th...
asked by 15.05.2018 / 17:49
0
answers

Deserialize an XML file and insert into a MySQL database

A save to the galera here, How to read XML files so data can be inserted into a database . The problem is to read the XML and deserialize, since the return is blank because the insert in the database is quiet. I'm using asp.net as vb.net , Th...
asked by 11.05.2018 / 04:12