Tagged Questions
C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.
0
votes
0answers
9 views
How to pass values from View to a Controller Action parameter? MVC3
I apologize if asking some questions these days. But appreciate for all kind helps. Actually, I need to pass data from View to Controller using MVC3 Razor.
Here is the View Code:
...
0
votes
0answers
5 views
Animating controls in C#
I'm trying to slide a control to the right when I move the cursor on that control and slide back when the cursor is out.
Since the form contains many control with the same animation, I've decided to ...
-1
votes
0answers
10 views
Ambiguous reference between 'Microsoft.Xna.Framework.Color' & 'System.Drawing'
I think this is a simple question to answer, but I still can't figure out a way to get past it.
Basically, what I wanted, was to use a Bitmap object in my Xna game. So I went ahead and added ...
0
votes
0answers
6 views
How to determine the cut-off point between the straight line and circle windows phone8?
I have a point inside a circle and another point outside a circle. I want find the point where the line cut the circle. How can i do that in windows phone 8. Please give me any idea.
0
votes
0answers
8 views
Opening OdbcConnection results in an error
Hi I am trying to create a connect to an SQL-Server database using Odbc and I seem to be having some problems when oppening the connection I get this error:
ERROR [08001] [Microsoft][ODBC SQL Server ...
0
votes
2answers
8 views
ASP.NET MVC 4 FilePathResult and staticfile handlers
I'm building a simple CMS for one B2B application. The user can upload/browse an image, but those images are stored outside of IIS (my application is located on drive C, and images are stored on drive ...
0
votes
0answers
6 views
Proper way for reminders in windows 8 modern ui
I am developing a windows 8 modern UI and I have to implement a reminder functionality. After googling I have found that ScheduleToastNotifications are good to use, I download the sample from
here. ...
-5
votes
0answers
34 views
Few Questions To Ask On C# [closed]
using System;
PUBLIC CLASS K
{
PUBLIC MAN() //METHOD 1
{
int c=20;
}
// ----------how do i access the variable c from same class ????
}
public class Y
{
public ...
0
votes
0answers
57 views
Console.WriteLine isn't working anymore in VS2012
All of a sudden my Console.WriteLine isn't displaying anything anymore in the "Output" window. Debug.WriteLine does work though. I already checked with right-click on the "Output" window that all ...
0
votes
0answers
39 views
Compare two string using Regex C#
I am using two string for a matching program like this:
string s1= 5-4-6-+1-+1+1+3000+12+21-+1-+1-+1-+2-3-4-5-+1-+10+1-+1-+;
string s2= 6-+1-+1+1+3000+12+21-+1-+1-+1-+1-+1-+1+1-+1-+;
as ...
1
vote
0answers
10 views
Autofixture - Two constructor parameters of the same type, but different values (SutFactory)
Using autofixture as a SutFactory, I can see that if I register or freeze a value for a type, that value will then be used for all subsequent usages of that type. However, if I have a class with two ...
-1
votes
1answer
15 views
Sync 2 Comboxes C#
Hi I'm struggling to come up with an effecient method for syncing 2 comboxes unsing c#. The 2 comboxes contain the same values minus the current selected values from either combobox.
i.e.
...
0
votes
0answers
22 views
WPF toolkit IntegerUpDown - bug or my mistake
I have a WPF application with several pages in it. I have used IntegerUpDown from the Extended WPF Toolkit. The IntegerUpDown works fine and is placed in a Page myPage.
This is the code :
...
1
vote
1answer
40 views
Focus syntax for Tab
Hello guyz can i ask for the right syntax for Focus this is what i want to be happen.
if i hit the Tab(keyboard) the focus from userNameTextBox.Text will go to passwordTextBox.Textand will highlight ...
0
votes
2answers
18 views
`WHERE … IN @xs`, where @xs parameter is a value list: Supported by ADO.NET?
I am trying to create a parameterised ADO.NET query with a WHERE … IN @xs clause, where @xs is a short list of possibly non-contiguous values, for instance (2, 3, 5, 8, 13). Can this be done? If so, ...