Questions tagged as 'c#'

5
answers

What is the difference between string vs string?

I'd like to know what the actual difference is between String (upper case s) and string (lowercase s). Apparently the two have the same goals, but which one is "better" to use?     
asked by 01.02.2014 / 11:31
0
answers

Make a filter in the datagridview (row filter)

I have a SQL database with two tables. One of these stores measures created ( table 1 ) and the other actions of these measures ( table 2 ). I inserted a datagridView with the data in table 1 and created a column named " SITUACAO...
asked by 15.08.2018 / 23:48
1
answer

C # WebBrowser How can I get innerHTML from a span inside a div

OI people. I need to get with c # the innerHTML of the first SPAN element that has a numbered value that is inside a div and I I already wrote a code that is on the right track I think .. so far is this: HtmlElementCollecti...
asked by 20.08.2018 / 00:40
0
answers

How to use credentials in an HttpWebRequest

I'm trying to capture an image from an IP camera. In the first model tested, it worked normally, since the model under test did not request credentials to return the images as array de bytes because the credentials already came in the req...
asked by 06.04.2018 / 20:48
1
answer

Retrieve last inserted id and selected course [duplicate]

I have the following situation: In the same form, I enter a student: SqlCommand inserirAluno = new SqlCommand("INSERT INTO ALUNOS (Nome, DataNascimento, CPF, Endereco, Bairro, " + "CEP, Cidade, IdEstado, Sexo) " +...
asked by 11.03.2018 / 16:16
0
answers

Not overlapping the value

I want the final information of the calculation to overwrite what is already saved in the Inventory table, as it would be to do this, because Save is overwriting correctly, I tried to apply in the update, but not saved. > Update: var Consult...
asked by 09.04.2018 / 17:16
0
answers

Register multiple fields 1 at a time

I need to insert a "line" at a time from a table, as in the image example below: .Iwillfilloutthisformandneedtoregistertheforminthebank.ButIneedtoberegisteredonelineatatime.Forexample:(Monday,08:30,16:30,30),dps(Tuesday,08:30,16:30,30).Thisi...
asked by 07.02.2018 / 15:28
1
answer

Blurred text when activating Canvas

Image as it should be: ImageblurredafterfirstturningoffCanvas,andactivatinganotherCanvas: IusetwoCanvasinthesameScene,oneforlogin,whichstartsenabled,anotherfortherecordthatstartsoff,andwhentheregisterbuttonisclicked,itactivatestheCanvasregis...
asked by 08.02.2018 / 05:47
1
answer

Reading and displaying a PDF inside a zipped folder without extracting it

Is it possible to do this or do I really have to extract the file before then read it? In my code I'm doing this: string zipPath = @"C:\Users\Analistas\Desktop\ZipFile.zip"; using (ZipArchive archive = ZipFile.OpenRead(zipPath)...
asked by 04.01.2018 / 18:55
0
answers

How to ensure that my Plugin will not kill my host? (C # / WPF) [closed]

Sirs, I need to set up a Plugin system that meets certain requirements. Ensure library isolation, for example, The host must use MahApps Version A, and the plugin should use version B. I should avoid to Maximum that some Thread or Sy...
asked by 31.12.2017 / 19:31