Questions tagged as 'c#'

3
answers

How can I get the values of a row when I click on a ColumnButton? (C #)

I would like to obtain all the values of the record in which the "delete" action applies, this should happen when I click on my columnButton. Delete column code private void dataTabla_CellContentClick(object sender, DataGridViewCellEv...
asked by 18.01.2017 / 00:19
2
answers

c # MonthCalendar paint the background of a color on several dates

Well I am starting with the C # and I have created an application of a calendar to practice with MySql database connection. In the calendar I want to show a monthCalendar with all the dates that have some annotation with the background of a diff...
asked by 23.10.2016 / 14:15
1
answer

Tinymce and ASP.NET (c #) Webmatrix

Good, I have a situation, I enter data to my DB sql by means of a textarea with tinymce, in the database something like this is saved: <div class="f kv _SWb" style="color: #808080; height: 17px; line-height: 16px; font-family: arial, sans-s...
asked by 04.10.2016 / 22:02
1
answer

Store a class in a variable

I would like to store a Class in a variable, in order to use that variable whether it is the class that is being stored. I had thought of a variable of type object if (nameForm == "Cliente") { Cliente _cliente = new Cliente...
asked by 15.10.2016 / 21:44
1
answer

I need to verify when someone logs into Windows incorrectly and perform an action

Hello, I am programming in C # and I have a service that starts with Windows and I need to know how to perform an action when I detect it when a user logs incorrectly when logging in. Windows     
asked by 06.10.2016 / 09:05
2
answers

How to export a database to Excel and mail

How it would be the code to export the data that are inserted in a database .sdf to an excel file. in C # and for visual studio 2008 and SQL Compact 3.5, and my other question would be if I need to call a method within    writer.WriteLine ();...
asked by 02.09.2016 / 18:58
1
answer

What is the filepath of the images that are in the Resources folder of my C # project in VS?

I'm trying to make a function that depending on the model of a car, you choose a certain image for a pictureBox. I was able to put the image in the pictureBox in the following way: pictureBoxAuto.BackgroundImage = Properties.Resources.imagen....
asked by 27.08.2016 / 10:02
1
answer

call from c # to a stored oracle procedure, if it works with one provider and not with another

who helps me with this problem, had a system in .net 1.1 (VS2003) that was connected to the provider Provider=MSDAORA.1 , all this ran in a WS2003 to perfection, it was decided to migrate this solution to VS2008 and run about WS2012R2, sin...
asked by 17.09.2016 / 01:12
2
answers

Button border in c #

Good day, I have a button with flatstyle property set to flat, now what happens is that when this button is the active control of the form the edge changes in size, I would like to know if there is a way to avoid that, I am working in visual stu...
asked by 09.11.2016 / 17:15
3
answers

convert Java to C #, xamarin android

Hello, someone could help me with this code, what happens is that I'm having problems passing it to c # @Override public void onBindViewHolder(ViewHolder viewHolder, int position) { final int pos = position; viewHolder.tvName.setTe...
asked by 31.08.2016 / 21:18