Questions tagged as 'c#'

2
answers

Automatic name generator

It's the second thing I need when someone clicks a button in a text box to display a name for the chutes, for example I have a list: Neuro, Food, Capitalism When I clicked the button, the textbox appeared Neuro Capitalism or capit...
asked by 10.08.2016 / 14:42
1
answer

Asp.net Identity Link authentication opens in white

I need a Help, when authenticating Email. It is not all but some users who receive the authentication email, after clicking the link that receives the email, it goes to a blank page, it follows ex: link Querying the user ID: 05a98f16-...
asked by 30.10.2017 / 12:07
1
answer

Update records linked with Entity Framework?

For example I have a person class and everyone can have a spouse if she wants (Optional). Let's suppose I have two people registered at the bank:    PersonId: 1, Name: João, PessoaConjugeId = null       PersonId: 2, Name: Maria, PersonaCo...
asked by 27.11.2017 / 18:25
1
answer

How to synchronize full screen and minimized C # [closed]

Hello How do I get an idea of Windows Forms Design in Visual Studio for different screens? position the right buttons and etc ... The forms made in Java have this automatic function, but in VS I could not find; c     
asked by 17.07.2018 / 18:06
3
answers

Condition does not contain in DataGridView

Good evening. I need to make a comparison between two DataGridView's and display in a third DataGridView, the first lines that is not contained in the second. Below is the image of the two DataGridView's that I need to buy: Note t...
asked by 04.08.2018 / 03:12
1
answer

How to access specific information inside an Asp.net View Bag

I'm doing a project where we have to create a social network in which the user can post something. After doing post it has to appear what he posted the name and the profile image. For now I have this in the controller: var posts_public...
asked by 08.12.2015 / 15:59
1
answer

tcp server chat [closed]

This is the following I have a tcp server for chat. every time I start the server and then close the form, the program gives an error because it is in an infinite loop in this part of the code: while (Connected) { Sendtxtbox.Enabled = true...
asked by 11.08.2016 / 17:29
1
answer

Compare string [] with string [closed]

I tried this way: IWebElement descriptionTextXPath = driver.FindElement(By.XPath("html/body/div[1]/div[1]/div[2]/div/ng-include[1]/section/ul/li[1]/div/div/article/h4")); String h4 = descriptionTextXPath.Text; Assert.Ar...
asked by 10.09.2015 / 13:15
2
answers

Search for previous position and two positions back in for loop

Within a for loop, I need to get the previous value of the variable i and the previous value. See, subtracting the variable from -1 and -2 does not work. This is not to get two or a previous position, but to subtract the current value of...
asked by 12.06.2015 / 17:05
1
answer

Service does not rise

I have a service [file.svc.cs] but it does not go up, I try to access it with ajax and it's not found. Anyone know how to solve this, what could be wrong.? namespace Bob.Servico { // NOTE: You can use the "Rename" command on the "Refactor"...
asked by 27.01.2018 / 19:29