Questions tagged as 'c#'

1
answer

Windows Phone, how to import data (IsolatedStorageFile)?

Is there any way I can import a data file (txt) into Windows Phone's internal memory using "IsolatedStorageFile"? I need to import a list of clients, and be able to edit by the device.     
asked by 18.07.2014 / 14:28
1
answer

Default constructor to calculate an employee's annual salary in C #

I need to make a code that calculates the annual salary (% with%) from the months worked ( float ) and monthly salary ( int ), but it has to be using the constructor method. Here is a code that I did but is returning 0 for the annu...
asked by 16.10.2018 / 15:58
1
answer

Certain infinite looping input numbers [closed]

When I paste the number 14 into the input it goes into infinite looping, how can I solve this problem? using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ex14 { cl...
asked by 18.10.2018 / 05:25
1
answer

"JsonResult" does not contain a constructor that accepts 0 arguments

I'm trying to return a JsonResult for my View, but it's returning the following error.    "JsonResult" does not contain a constructor that accepts 0 arguments Would you help me out? [HttpGet] public async Task<IActionResult> GetAl...
asked by 16.10.2018 / 19:07
1
answer

Problem when printing a report using ReportViewer

Problem I have several Report Services Client reports that when I try to print two possible errors happen: If rsclientprint.dll is not installed, the following message appears when I try to print the report: Ifrsclientprint.dllisinstal...
asked by 04.02.2014 / 20:02
1
answer

MVC PivotTable

I need to return the result of the procedure, I put a fixed value just to perform my tests but it will have a typed input, in datepick. But I can not create the list for the columns. Here is the snippet of code: public string dtaTotal(strin...
asked by 19.12.2018 / 14:23
1
answer

Error in xaml saying that the type was not found

In my xaml I have: <?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:Opa"...
asked by 18.12.2018 / 20:06
2
answers

Limit query in index but not in combo

Good afternoon, In the company's ERP we have a query in the Index that is limited to 80 records. The problem is that in create we have combos that bring more than 150 records and also limiting to 80 records. How can I do to just leave in i...
asked by 05.10.2018 / 18:02
1
answer

POST requests AJAX ASP net MVC

Good afternoon, I'm having a little doubt, I'm doing a POST request with AJAX in ASP net MVC and everything works fine, but in firefox I get an error in the console However,inchromethiserrordoesnotappear.Hereistherequisitioncode:functionadicion...
asked by 09.10.2018 / 21:18
1
answer

MVC in C #, separate by folders or class library? [closed]

I have seen examples that separate by folders, and others that separate by a library of classes and then creates the annotation in the references. Can both shapes be used?     
asked by 01.10.2018 / 00:11