Questions tagged as 'c#'

0
answers

Ghost object in WPF C # [closed]

I'm developing an application that displays an informative track in WPF C #, I've already developed the same with Windows Form C #, and I'm trying to apply one, I believe, that makes this track a kind of ghost, , it appears there, it shows the e...
asked by 02.07.2018 / 22:40
0
answers

C # HttpWebRequest send multipart / form-data to POST

I need to send POST using HttpWebRequest , with header Content-Type=multipart/form-data and Accept=multipart/form-data , and data in Body . My routine below, I use it without problems doing POST , sending...
asked by 26.07.2018 / 22:25
1
answer

I can not assign a value within my Label from a List

Good morning, first of all I would like to say that I am a beginner and I am doubtful about assigning a value to the Text property of a Label from a list created with information obtained from a txt . Follow the code: n...
asked by 30.07.2018 / 15:27
0
answers

Sort Properties C # [closed]

I have a simple question, I created a class and put some properties in it (variables), then I create the object of this class and pass the values to that object, for example objeto.nome = "bla bla bla" objeto.idade = "bla bla bla" objeto.cidad...
asked by 30.07.2018 / 09:52
1
answer

HttpPostedFileBase - Bringing null when I have many files with the big name

Good morning Friends next I have a mvc web system with C # and need to upload multiple files simultaneously. Until then, okay, but when the files have a big name of the problem I'll exemplify. I have 5000 xmls to import with the name "NFe3...
asked by 28.06.2018 / 17:25
1
answer

SQL command blocking controller requests in C # MVC

I'm implementing in a C # MVC project, a routine to perform database restore. I have a problem that when I start the restore, the requests of other controllers are stuck waiting for the SQL to finish. What I found strange is that if...
asked by 29.06.2018 / 19:00
0
answers

Update field value Using TableAdaptar C #

Greetings! I'm working with DataSet to modify data in DB sql. I have a TableAdapter allocated to a form where some of the fields are linked to textboxs. It turns out some of the fields I do not want to show in the textbox but I want to upda...
asked by 28.08.2018 / 07:17
0
answers

NullReferenceException Unity 3D

I started a course where I teach to create a 2D game using Unity3D, I tried to add more things in the game but I'm failing miserably and then I decided to come and try a little help. In the case, I tried to create a powerup where when the pla...
asked by 14.07.2018 / 15:05
1
answer

Take the fields from a Select and pass to viewmodel

I have two Selects Multiple where their function is to change values as in the image below: ThefirstoneintherealisaDropDownListwherehelooksforthebankinformation,followshiscode:@Html.DropDownList("Avaible", ViewBag.Account as SelectList, n...
asked by 13.07.2018 / 15:30
0
answers

Paging with checkboxes in the grid loaded with Linq

On my page there is a grid with pagination. It has fields to check that can not be lost when paging, but my grid is being loaded by Linq. I tried to do it this way but it did not work: protected void grdControleUnimed_PageIndexChanging(obje...
asked by 22.06.2018 / 20:36