Questions tagged as 'c#'

1
answer

What is the best way to get the RadioButton that was chosen by the user?

My program has 5 RadioButton on one of the Panel that I have not renamed and thus got Panel1 , so only one can be chosen. I created a list with all RadioButtons , after clicking a button I tried to use the code below...
asked by 13.07.2015 / 23:21
1
answer

What is the difference between Int32 and int in C #? [duplicate]

In C #, using String or string , Int32 or int , among others, has no difference, in theory. Does anyone know if this difference has any impact on the performance of highly complex applications?     
asked by 10.07.2015 / 21:08
1
answer

Questions about the datagridview

Hello, I have some questions about the datagridview of visual studio, I would like to know how I can change the values of the columns that appear to the foreign key of the sql server by the value of the table that is referenced to the primary key...
asked by 10.07.2015 / 02:56
1
answer

How to use bundle.config in webforms

I wonder if I can and how to use bundle.config that is used in MVC, in webforms. I learned that there is this possibility but I did not find anything on the net. So I would organize CSS and JS in one place.     
asked by 02.07.2015 / 04:47
2
answers

Request Validation asp.net

I have a TextBox that uses the ckeditor text editor. When I run the method to save the information, it gives an error    A potentially dangerous Request.Form value was detected from the client (ctl00 $ ContentPlaceHolder1 $ fTxtConteudo=" sd...
asked by 08.07.2015 / 16:49
1
answer

CheckBox checked as string

I have a string in the format ["0,1,0,1,1,0,1,0,0"]. Where 1 represents checked and 0 is not checked. I also have a grid where I have a checkbox in the first column. I need to checkboxes according to my string. I tried at first using JavaScript,...
asked by 08.07.2015 / 23:43
1
answer

How do I autodetect firefox with Selenium webdriver in C # (Visual Studio)

I need to select Autodetect of Firefox profile before running my script , because in the network settings of the browser is coming how to use system settings. That way I can not even open the system. I was able to do with java...
asked by 08.09.2015 / 17:32
1
answer

Pick up the application folder

I have an application with all the interfaces and functionalities. In the same project I put a simple code running in console to check if the database already created on the machine already exists. If not, it should run the script that creates...
asked by 03.09.2015 / 01:49
1
answer

Catching a string from a textbox when you press the Enter key [closed]

Is it possible to get a string from a textbox when the enter key is pressed? If yes, how? I would like you to leave code examples as I am quite new to this WinForms world ...     
asked by 02.09.2015 / 14:42
1
answer

Error while compiling MonoDevelop Project

I am developing an application with C # in the monodevelop, everything was going fine, even when I having extend the Form class and I get the following error:    /Volumes/Recover/Developer/WebCamTestA/WebCamTestA/VideoControl.cs (44,44):   Er...
asked by 22.06.2015 / 16:19