Questions tagged as 'c#'

1
answer

Rota Dynamica ActionResult

I have two Controllers: Faculty and Course public class InstituicaoController : Controller { // GET: Instituicao public ActionResult Index() { return View(); } public ActionResult Institu...
asked by 15.12.2015 / 21:09
1
answer

How to return query for a string using WebAPI?

I have the following code which gives me an error:    The inline constraint of type 'DefaultInlineConstraintResolver' was unable to resolve the following inline constraint: 'String'.       Exception Details: System.InvalidOperationException:...
asked by 06.11.2015 / 03:20
0
answers

Access File Database File, SYBASE

I need to remove data from a database file (.db) file that I was told is SYBASE, the client needs to migrate data and need access, does anyone have a clue where to start? because you never hear of sybase. Remembering that it is not a server,...
asked by 20.10.2015 / 06:01
1
answer

How to read an excel file in a console application in C #?

I am trying to read a data from an excel table in C #, my code looks like this: string resp; string rota= "D:/Users/e608871/documents/visual studio 2010/Projects/CEMIGID/CEMIGID/CEMIGID.xlsx"; var excel = ne...
asked by 20.10.2015 / 13:22
2
answers

Is it possible to access an Api Web by Windows Phone?

I developed an Api that communicates with my database and put it in IIS. Testing in Windows Forms applications, api data search works normally, but when I try to run it inside the Windows Phone app it returns the following error:    {System.N...
asked by 16.10.2015 / 21:35
1
answer

Value between forms Asp.Net C #

Good Afternoon Staff I'm getting the value of a gridview so far so good: gridCadastro.GetRowValues(gridCadastro.GetFocusedRowIndex(), 'id_cliente', OnGetRowValues); Now I need to get this value and pass it to an ASPxButton of a metro.master...
asked by 13.01.2016 / 19:31
0
answers

Change element names

I would like to clarify some doubts since I do not have much experience with Web-Services and, currently, I was in charge of reviewing and implementing some changes in an already implemented system. Through inexperience, I am facing basic diffic...
asked by 25.11.2015 / 22:20
0
answers

How to convert wavelength to RGB?

Does anyone know of an algorithm that performs the conversion of a wavelength to RGB?     
asked by 30.10.2015 / 19:25
1
answer

blocked by software restriction policies?

Has anyone ever encountered this message when opening Visual Sdudio ??    \ packages \ EntityFramework.5.0.0 \ tools \ init.ps1   can not be loaded because its operation is blocked by software restriction policies, such as those created by us...
asked by 09.10.2015 / 20:43
0
answers

Capture the name of the video card through the NVAPI dll

How to import the DLL "nvapi.dll" into the program in C #? I'm not sure how to capture the name of the video card: NvAPI_GPU_GetFullName - CEEE8E9F     
asked by 29.11.2015 / 16:06