Questions tagged as 'c#'

2
answers

Check if directory is a repository with LibGit2Sharp (C #)

I'm starting to study C # so my knowledge is quite limited. I'm using the LibGit2Sharp library and would like to check if an informed directory is a repository. Their documentation is not yet complete, so I'm having trouble. Follow m...
asked by 11.05.2015 / 15:13
1
answer

Reading .NET PDF

I've been researching for a long time a way to read a pdf document that contains Sinapi Inputs tables and save the data in my database, and I do not do the minimum of how to do it, could anyone give a tip? > pdf link here more complex pdf...
asked by 16.05.2015 / 04:14
1
answer

Displaying Modal with model passed inside a foreach in C # asp.net MVC

I have a main page containing a list of users. In this list of users I have a button on the side where I will click and display a modal, passing the model of that line that I clicked. I managed to do it right, follow the code summary: @foreach...
asked by 27.05.2015 / 02:59
2
answers

Photo saved in Directory does not appear in Solution Explorer

After much pain, you can save the photo in the directory and not the bank. But she does not appear in my folder in my Solution Explorer, but when I open the photo through the windows explore it appears. Because of this, the photo is not displ...
asked by 08.06.2015 / 18:26
1
answer

Find data from related tables

I know that to return the values of a directly related entity in the database is done with LINQ: List<Usuario> lista = banco.Usuario.Include("Tipo").ToList(); But how do I get the data back from another table related to the "Type" tab...
asked by 26.05.2015 / 14:06
1
answer

Problem with relationship Entity Framework

I am having problems in my bank relationship, I am developing an application that manages Courses, I am still a beginner in ASP.NET MVC. I have two Student tables and Course tables, and I have another table that links those two StudentCours...
asked by 12.06.2015 / 06:27
2
answers

Problems with SelectedIndexChanged asp.net C #

I added in the method where the list comes from the database: ddlSalas.Items.Insert(0, new ListItem("TODAS", "")); When I choose this option "ALL" in dropdownlist , a post on the page happens but it does not call the selectedindexc...
asked by 11.06.2015 / 20:16
1
answer

Find phrase within .cs files from a specific folder using C #

I would like to know how I can fetch a phrase within .cs files from a specific folder. You do not need to develop code, just want to know what functions to use and how to use them. I could not find anything on Google.     
asked by 17.06.2015 / 21:15
2
answers

Create a type corresponding to a playing card

I need to create a type that corresponds to a playing card. I tried this way: Create a class for each Card and within the class create the properties of these classes that would be the cards themselves, type, Ace, Jack, King, Queen, Two and so o...
asked by 17.06.2015 / 15:56
1
answer

Make Loading Animated Screen - Unity 5.1

I'm having trouble making a Loading Screen for my game, the game is a bit big so it takes a while to load, even more for being a mobile game. At the moment I'm trying to do this: public bool loading = false; public Texture loadingTexture; publ...
asked by 16.06.2015 / 19:20