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.
1
vote
0answers
16 views
Passing a list of int to a HttpGet request
I have a function similar in structure to this:
[HttpGet]
public HttpResponseMessage GetValuesForList(List<int> listOfIds)
{
/* create model */
foreach(var id in listOfIds)
...
0
votes
0answers
14 views
converting .net refernce to c++ refernce
i have a c++ function called innergetnum that gets as a parameter float& num
i write in managed c++ a function with the following code
void getnum(float% num)
{
innercppclass.innergetnum(num);
}
...
0
votes
1answer
22 views
Catch Print event in C#.net?
what I want is when I print a document (which is a record in the database) this document can't get updated by the user anymore, so i thought if only I can capture the printing event and set a print ...
0
votes
1answer
14 views
asp.net c# adding multiple tablerows to table only results in one row
I have to add a selection of data from the database to a table dynamically. To do so I have created a table that has rows added to it in a loop. However it only really adds the final row. I assume ...
0
votes
1answer
8 views
Network error (tcp_error) when uploading file using NeatUpload asp.net control
I get the error below when trying to upload files using NeatUpload asp.net control.
Can anyone help me please?
0
votes
0answers
7 views
ListView in FlipView Windows 8 Metro App C#
i'm developing a currency app which takes currencies from 5 different sources. The problem is that i'd like to show them page to page in flipview.
Here's my code to read currency xml to listview;
...
0
votes
0answers
6 views
How to run multiple tabs in Internet explorer using Watin
I take input from user for how many threads to run then i write the posting function .code below:
for (int j = 0; j < maxThreads; j++)
{
threadsStarted = 1;
...
0
votes
0answers
8 views
silverlight child window display position issue
In my Silver light child window, I have implemented search Text box (search item from list box). I have filtered list box by text inside the search text box.
When I search item and Go back, close ...
-2
votes
2answers
59 views
If Else Condition For .Close?
i got 2 forms 1mdiparent, 1child
lets say mdiparent = Form1 then child = Form2 .
i got New button in Form1 calling childform (Form2) like:
private void newDocument_ItemClick(object sender, ...
0
votes
0answers
3 views
current Focus Value of camera in windows phone 8
I am developing a simple windows phone application. I want to get the current focus value of the camera. Any body help me if the default API gives me this type of information? If yes, then how i can ...
0
votes
0answers
14 views
Reference to a value storage: object, ValueType or dynamic
I am receiving data from third-party lib in form of this class
public class Value
{
public virtual byte asByte();
public virtual double asDouble();
public virtual int asInt();
public ...
0
votes
0answers
19 views
Set the minValue directly in a DateTimePicker
Is there a way to set a minValue directly in a DateTimePicker and not in a DateTime.
I use WPF and dotnet 4.0.
1
vote
0answers
6 views
machine key in web.config for SSO without using of membership
Is there anyway to use the machine key solution to create an SSO between two websites under the same domain ,The two website have separate databases and don't use asp.net membership .
If i can't use ...
0
votes
2answers
23 views
how to read and display json data in text file using c#
i really needs all the helps available now.
Objective: How to read Json Data in normal text file putting the specific text into String variable?
Coding platform: visual studio 2010
Language: C#
...
-2
votes
0answers
7 views
C# sending 2 files trough comport
Hello everyone i have a little problem,
I have to make a program wich has to send 2 files at the same time over a COMPORT in this case COM 1.
How can i send the 2 files without them messing up each ...