Questions tagged as 'c#'

2
answers

Create a menu type, but with a (+) sign (TreeView)

I use a Bootstrap 3.1, Entity 6.1, Visual Studio 2013, MVC5, JQuery and etc ... Well, I need to make an inquiry, so that when the screen is loaded, it can load some information, like medicine (Description) and other information, but separately. N...
asked by 19.08.2014 / 19:35
2
answers

Converting text to C # number to write to DB

I'm using this conversion to get the string of txtvalor.text and transform it to a value like this: 1.500,80 curso.Valor = double.Parse(txtValor.Text); Example I type 1,500,80. And I'd like you to write to the database as well...
asked by 06.08.2014 / 20:38
1
answer

Validate response on controller is giving error

I need to validate the answer in my method in the controller. For this I need an if. Why does the method not consider return within an IF? So: public JsonResult ValidaLogin(string _email, string _senha) { INETGLOBALEntities...
asked by 05.08.2014 / 15:56
1
answer

Shopping Cart Implementation in ASP.NET MVC

I'm trying to build a "simple" sales system, however, I do not have any knowledge in e-commerce. What I want is the following: The user chooses the products he wants, assembles a cart, and completes the order. Then my question starts: the car...
asked by 18.11.2014 / 06:53
2
answers

How to remove a mapping in visual studio in tfs

How do I remove a mapping made by VS 2010 Ultimate in tfs? I need to do this, to map correctly, because it is wrong.     
asked by 20.11.2014 / 14:03
1
answer

Edit list of objects with form POST in MVC C #

I have both classes below. I know how to make a screen to enter the data, and get the data of PERSON and PHONE, by% with% and by% with%. But how to do this on an editing screen? I want to display the data of model and the list of Li...
asked by 27.08.2014 / 02:57
1
answer

How to translate Strings from an .resx file? [duplicate]

I'm creating a small application in C # and would like to translate it into English, as I intend to publish it and a good part of the target audience speaks English. Researching, I discovered that I can use Visual Studio's own tools to tran...
asked by 28.07.2014 / 17:07
1
answer

Error in foreach

Good evening guys. I have a project for a school that records student data and its occurrences. going straight to my problem: What happens is that I have a page where to show the new occurrences that were generated in the system by a Partial tha...
asked by 26.07.2014 / 01:22
2
answers

Use lambda with Ado.Net

Using sqldatareader and ado.net, can you use lambda with linq or just lambda or just linq? This is not a multiple question, but linq and lambda are always together, so the various "?", Ok?     
asked by 05.06.2014 / 20:36