Questions tagged as 'c#'

1
answer

Route.config of website in C # asp.net

I'm building a website. But there is one question that I can not solve. I have a Home Controller where I have all the Site Views. For example, I enter andwhenIclickononeoftheimagestogotoanotherView,, my URL does not appear as I wanted. I wanted...
asked by 16.05.2018 / 11:28
0
answers

Partial with Javascript

If I create a Partial like this below "given as an example": <script> //Codigos C# Meus documentos.. //Codigos Javascript... </script> ... and within this partial contain c # code, this partial along with c # a...
asked by 08.05.2018 / 20:01
0
answers

How to use the GraphDiff Entity Framework Code First

I have the following tables in my database: Sale Sales Details Products Sales Plots The relationship is as follows: 1 Sale = > N Sales Details 1 Sale = > N Products Sales 1 Sales Details = > N Plots I'm trying to...
asked by 11.06.2018 / 14:31
1
answer

GET Request WooCommerce with criteria by Date - restSharp

I am doing an integration with C # and the WooCommerce API, my situation is this, I can communicate with the API through restSharp and I can get the requests of the site through the URL: link , so far so good! But when I try to enter a criteria...
asked by 18.05.2018 / 20:08
1
answer

Selected data from the option tag to pass to Model C # - MVC

I'm developing an application with HTML and C # in MVC standards, and in one of the menus I need to put a list of options in which the user will select what they want, that data comes from the database, so what I did was as follows: I created...
asked by 18.05.2018 / 16:21
1
answer

Error debugging webservice (asmx) locally in Visual Studio

I'm trying to debug a webservice (asmx) locally from Visual Studio. When attempting to create the connection to the database, the following exception occurs:    Request for type permission failed   'System.Security.Permissions.FileIOPermissio...
asked by 17.05.2018 / 19:37
0
answers

VB.NET - How to make a Serial Test Loopback program on Universal Windows Platform?

I have a problem while doing the translation of C # code to VB.NET on the UWP platform doing a Serial UART Test Example made available by the Microsoft website. The program in C # is working perfectly, but when I try to run in VB.NET, the moment...
asked by 07.05.2018 / 20:18
1
answer

Jquery Selector in a User Control, inside a gridview

Good afternoon, I have the following code: <asp:GridView runat="server" Style="border: 0px !important;" ID="gdvDadosHistoricoMedico" OnRowDataBound="gdvDadosHistoricoMedico_RowDataBound" AutoGenerateColumns="fals...
asked by 07.05.2018 / 22:21
0
answers

How to retrieve parameters from a google maps API (within IIS) that is outside the ASP.NET web form project

I use a Google Maps API within IIS outside of my ASP.NET web form application, I need to retrieve the coordinates and return to the previous page of my project. The problem starts there, I have a 1st page with the form already filled in and b...
asked by 14.05.2018 / 23:04
0
answers

How can I access the IDs that are inside a GridView?

Example: I want to get the value that was typed inside this TextBox and as soon as I trigger the event of the bthResposta button I can retrieve it to be able to set the properties of the class ./ Obs. To access this field, I c...
asked by 14.05.2018 / 18:25