Questions tagged as 'c#'

1
answer

Handling a number of non-mandatory parameters on a route

I have the following wheel in an asp.net mvc control: [Route("video/categoria/{categoria}/{page?}/{sort?}")] The three parameters are: categoria , filters the category of the video, page? is the result pagination, sort?...
asked by 26.11.2015 / 15:12
2
answers

C # and MySQL with AspNetUsers, tables deleted

I'm developing a system with C # (MVC) and MySQL. Everything works perfectly fine when I use my local instance of the Database. I've duplicated this database on UolHost and that's where something bizarre happens. When I change the connection...
asked by 30.07.2015 / 02:24
1
answer

How to check if a tag exists in an xml?

// Obtém a tag "tags" if(xmlDoc.ChildNodes[1].ChildNodes[1].ChildNodes[1].SelectSingleNode("tags") != null) { } I'm running an Xml and on some nodes there is no such tags and error tags. Does anyone know another way to validate this?     
asked by 29.07.2015 / 23:08
1
answer

Response.Redirect () without generating System.Threading.ThreadAbortException?

At all points in the system that has a Response.Redirect("/Url.aspx"); It generates the exception of type System.Threading.ThreadAbortException , but it works. Is there a way to do Response.Redirect, without generating the exc...
asked by 07.08.2015 / 20:35
1
answer

Dropdown List coming from a table in the Database

I'm developing at asp.net- mvc and I have the following problem: I need to create a dropdown list that displays the name of the instructors registered in the Database. The CRUD is already working perfectly. I used the Entity Framework...
asked by 29.06.2015 / 17:50
1
answer

How to debug in C #?

How to debug in C # based on the simple form of PHP that usually uses var_dump or print_r ? I have an object in C # but I do not know how to know what's in the structure of it.     
asked by 28.06.2015 / 02:36
2
answers

How do I update dataGridView when I click a button?

I'm using an interface where I have menustrip on the left and another form on the right, hence on menustrip has the options of novo (loads form nvCli ) and busca (loads form% ( nvConsCli ), it is nec...
asked by 04.07.2015 / 06:05
1
answer

Screen Search Field (ASP.Net - MVC)

Good afternoon, I wonder if anyone could help me. I'm a beginner in programming, and I'm developing a web system, and I need a screen search of the screens that I've already created. As I use the MVC method, I wanted to know if I have to c...
asked by 02.07.2015 / 21:38
1
answer

What is the best way to develop a video player from scratch? [closed]

Well, I would like to know what topics, articles, books, references, would help me in the task of developing a video player from scratch like the average player classic for example?     
asked by 04.07.2015 / 05:38
1
answer

Information in Title - WPF

I have an application where the user can select the company to be worked on. When he selects, I would like this information to be for the Title of the application ... Is this possible? The Title attribute is in the parent window. Since this M...
asked by 22.06.2015 / 22:03