Questions tagged as 'c#'

2
answers

Post Send data, but webapi capture null

I'm getting this header from fiddler. POST http://localhost:8887/api/values HTTP/1.1 Host: localhost:8887 Proxy-Connection: keep-alive Content-Length: 352 Accept: */* Origin: http://localhost:8383 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW6...
asked by 11.01.2016 / 20:13
1
answer

Problems with three forms and picture box

Hi, my scenario is as follows: - Configuration form (name, email and a photo) - Form ABC - which has a form that is opened by clicking on a Button on the ABC form - BCA Form - which has a form that is opened by clicking on a Button on the BCA fo...
asked by 12.04.2016 / 20:00
2
answers

Insert N comments, having the option to edit them at any time and then save those comments [closed]

I am doing the registration part of a system, in this register it is possible to save several comments and edit them as we enter them or later, however it should work as follows, the user inserts the data, on the same screen , it clicks Include...
asked by 16.11.2015 / 12:52
1
answer

Extension method (Wait () and Status ()) does not work

This is not working (only the Wait () and Status () lines) try { string url = $"http://localhost:2710/api/faturamento/{IdUsuario}/{IdGaragem}"; var uri = string.Format(url); var respo...
asked by 09.01.2018 / 17:07
1
answer

WebMatrix - CS0103: The name 'ViewBag' does not exist in the current context

Good afternoon! I'm implementing an application in the Web Matrix. My page is in .cshtml (c # with html). I want to use the ViewBag class, but I can not find it in @using System.Web.Mvc; or elsewhere. I searched the internet but I did...
asked by 03.09.2016 / 21:12
1
answer

Login to an external system using ASP.NET MVC

I need to implement a way for my system (written in ASP.NET MVC) to log in from an external system to which I do not have the source code. This external system uses uses the same users of my system. How do I log in to the system on my other syst...
asked by 14.09.2016 / 15:11
1
answer

How to handle ComboBOX

Hello everyone, I have 2 comboBox and I have 1 (one) file with texts and subtexts texto1 < 001 > ola Hi texto2 home < 002 > hospital .... I want to load this information in the 2 combobox Combobox...
asked by 29.12.2016 / 03:21
1
answer

Replace the text of a textbox when the user makes a new input in the same textbox

I have a textbox where, through another page I give you an email. txtemail.text = "[email protected]" And when my page does load , in that textbox it appears: [email protected] . But if I try to make a new input...
asked by 27.09.2018 / 16:44
1
answer

javascript query in asp.net controller [closed]

I need to make a query in a API (JavaScript) method of google maps , however by controller , is it possible? I have a ajax request that assembles a grid and inside it I make a query in the dbo.Atlas table by setting lat...
asked by 26.09.2018 / 20:32
1
answer

Problem sending email using SmtpClient C #

I have a problem sending the email when I run: objClientSmtp.Send(mensagem_email) In the + , "Non-public members" button, there shows the ClientSmtp.ServerSupportsEai property with an exception: "Object reference not set to an insta...
asked by 03.06.2015 / 23:04