Questions tagged as 'c#'

2
answers

how to get html label value from ASP.NET server side c #?

On my client side I have an html select where changing the index changes an html label with jquery $(document).ready(function () { $("select[name = sreport]").change(function () { var selected = $("option:sele...
asked by 03.10.2016 / 20:11
3
answers

Problem connecting from .net to Oracle with EF

I explain a little about the problem of my scenario, in my development machine I have ODAC 12 installed and can develop normal connections against Oracle, in my production server install the same Oracle but when trying to run my application.exe...
asked by 14.09.2016 / 19:57
2
answers

How do I attach my sql server 2012 database to a c # visual studio 2012 installer?

Good in itself is the following, I have a membership application in c # that handles reports and obviously a Database, my question is the following as I can do so that when the installer of the application install sql server is created automatic...
asked by 16.09.2016 / 02:55
2
answers

Show view returned by my controller

I have my Petition. $.ajax({ type: "POST", url: "Estimates/ManageProject", data: JSON.stringify({ IdProyecto: dataItem.IdProyecto, Homologacion: dataItem.Homologacion, Cliente: dataItem.Cliente, Tipo...
asked by 15.09.2016 / 21:03
2
answers

How to make an if in linq

How can I make a if within Linq for example I have the code: lstParentLines = dbContext.Packages.Select(p => new SummaryViewModel { Id = p.Id, Package = p.Name, CurrentTotal = budgMonthDetails.Where(bm => bm.Co...
asked by 30.09.2016 / 20:19
1
answer

How to put in my table in JSON jQuery a sql pdf?

I would like to open my pdf file that I stored in my sql table with the following fields: nombre(varchar),tipo(varchar),ruta(varbinary) . How would it be? So I have it but it only brings me the name as I open the pdf ??? function OnSu...
asked by 20.06.2016 / 19:10
2
answers

Variable returns to 0 when returning to main menu C #

Good, my problem is that in the part of the code that appears the first if of Case 1: says if (pos < vectorsize) this I do so that the user can not add more data and does not exceed the limit, The problem is that when you ret...
asked by 23.06.2016 / 20:58
1
answer

Filter data from a CSV table

I have an ASCII file and this I do the conversion from excel and I separate it by spaces or also with commas. But I want to filter only some data with all its row that have a common pattern (9999) and based on this create a new table that con...
asked by 25.09.2016 / 04:23
2
answers

Error viewing a report crystal report vs2010 in version vs2012 [closed]

Create a project in c # with reports in crystal report on that occasion with Visual Studio 2010, when trying to open and execute the project in Visual Studio 2012 I do not get the reports !!! Will there be any changes to the code or reference...
asked by 20.09.2016 / 06:24
1
answer

how to consume a web api, from MVC.asp.net?

I have my Web API in ASP.NET , I need to make a simple abml consuming the services from the MVC driver. Could you help me? The WEB API that I have is the one that generates scaffolding     
asked by 16.08.2016 / 16:25