I'm having this error
The operation between threads is not valid: 'LblCheck' control
from a thread other than the thread where it was created.
Task tarefa = Task.Run(() =>{
}
.ContinueWith(t => {
LblC...
I have a problem that I have tried in many ways to solve and nothing. When loading the page the page is filled into a table a list, but when it is submitted the template is null, but if you query the Request.Form.ToString () property the values...
I tried to use it in my service but I can not get anything different from this error.
Error :
ExceptionDetail, provavelmente criado por IncludeExceptionDetailInFaults=true, cujo valor é:
System.InvalidOperationException: Foi gerada uma...
I need to return a pdf and download it on the machine. But when you return the pdf, Blob does not recognize it.
$http.post($rootScope.raiz_ws + "/pdf/PdfCompraVenda", listProdutos)
.then(function (response) {
consol...
I need to run the command below:
curl -X POST -u "{username}":"{password}" -H "Content-Type: application/json"
-d '{
"name": "my_environment",
"description": "My environment"
}' "https://gateway.watsonplatform.net/discovery/api/v1/enviro...
So, the problem at hand now is that I have to get two rows that are in an XML, I get that XML through an httpRequest, and the problem apparently starts.
What I've tried so far was:
...
[WebMethod]
public void PassaProtocolo(int numProtoco...
I have the layered architecture that was created in Visual Studio Code:
WhenopeninginVisualStudio2017itdoesnotopenallfiles: RunningtheprojectbyselectingWeb.Apialwaysgivesthefollowingerror:
What is the reason for this error?
I'm having the following problem: I need to send, instead of Id of ViewBag , Municipio , which is contained in ViewBag.Cidades .
How do I change from Id to Municipio when I click Search to send the municipality...
I'm doing xml validation from an xsd file like this:
XmlSchemaSet schemaSet = new XmlSchemaSet();
schemaSet.Add("urn:bookstore-schema", @"D:\Arquivo\VoltVarPlanning.xsd");
Validate("D:/Arquivo/Exemplo_Saida.xml", schemaSet);
But I do not w...
I'm uploading an image I get via form using C # ASP.NET.
My code is working like this:
[HttpPost]
public ActionResult UploadFile(HttpPostedFileBase file)
{
try
{
if (file.ContentLength > 0)
{...