Posts by viniciushana • 133 points
5 posts
-
3
votes6
answers15655
viewsA: Clear a datagridview in C#
You need to scroll through the rows and clear each cell as follows: foreach (var row in dataGridView1.Rows) { foreach (var cell in row.Cells) { cell.Value = ""; // ou qualquer outro valor que…
-
2
votes2
answers856
viewsA: How to change the default package installation directories by Nuget?
It is a configuration of each package. If you prefer, you can download the packages, edit them locally to follow the conventions you need and make them available in a private feed.
visual-studio-2013answered viniciushana 133 -
1
votes1
answer475
viewsA: ASP.NET Identity customize on its own basis
As it uses the Entity Framework to access users, simply map their user class and provide context for the UserStore.
-
0
votes3
answers589
viewsA: Exception in reading XML file
It is almost certain that the xml variable is null for some reason. Consider validating its value before using it to instantiate the Xdocument object.
-
4
votes2
answers845
viewsA: List ignored files with git --assume change
A simple way is to execute the command git clean -ndX, which will display a preview of the files that would be removed by the command without the -n parameter. If you want to understand this command…
gitanswered viniciushana 133