C# 4.0 introduced features like dynamic objects, COM interoperability improvements, and optional and named parameters. Use this tag if your question specifically pertains to C# 4.0 specific features. The C# tag should be used if your question is not specific to C# 4.0 features.

learn more… | top users | synonyms (1)

0
votes
0answers
3 views

How to Navigate to running screen if app is accessed in windows phone?

I am trying to develop location tracking. In this app first user opens the main screen. Then he selects to run the app which navigates to the second screen. Then it also works in the background as ...
0
votes
0answers
13 views

HttpContext.Current is null in Application_PreSendRequestHeaders

I'm getting a null reference exception when starting my application. Here is the HttpContext.Current null. protected void Application_PreSendRequestHeaders() { HttpResponse response = ...
0
votes
1answer
21 views

Fiddler Website web request Mimicking for screen scraping

I'm trying to log into a website to download data through my account. This is the raw Fiddler Request for the POST login form. POST login/login.jsp HTTP/1.1 Host: server.com Connection: keep-alive ...
0
votes
0answers
10 views

Action when click on calendar day

i have this code and i need action when i click on the red day... <asp:Calendar ID="Calendar1" OnDayRender="Calendar1_DayRender" OnSelectionChanged="Calendar1_SelectionChanged" runat="server" ...
-2
votes
0answers
30 views

Update data in datatable in c#

i have one datatable Timetable_Block which has three columns ID for identity block start and block end for lecture slot(in datetime) i present a dummy timetable with some values like 08-00 to 09-00 ...
1
vote
1answer
17 views

How to develop Stacked Column Chart

I want to create Stacked Column Chart using ASP.NET, C#. Can you give me examples to develop stacked column bar chart. And the series values are shown in bar, count at the top side of the bar. I am ...
0
votes
0answers
4 views

Confirmation prompt before downloading the dragged file from server

I am dragging a treeview node to desktop to copy the file from server. However I need to show a prompt asking for locking the file before downloading after the drop of the dragged tree node. Any help ...
0
votes
0answers
20 views

Prevent Paste strings into Combo Box which are not items of that Combo Box in C#

I'm using C# win forms and I need to prevent paste into a combo box in that.(Prevent only if pasting string not in the drop down item list). If pasting string is a item in drop down list user should ...
0
votes
2answers
23 views

How to mock two consecutive web requests

I am trying to test a method that makes two consecutive web requests. Up until now I only tested single requests using this solution and that works like a charm for single requests. But now the ...
0
votes
0answers
4 views

Provide security to WCF restful service with data transmission

I am having a WCF service which is presently using basic http binding, Is it possible to use WsHttpBinding for more security?or any other way of providing security? I am calling the service from ...
-2
votes
2answers
24 views

“Object reference not set to an instance of an object.” [closed]

am trying to retrieve ip address. but it's giving this exception Object reference not set to an instance of an object. ManagementScope scope = new ManagementScope("\\\\.\\ROOT\\cimv2"); ...
0
votes
1answer
12 views

Issue of ulong data type

I am having above kind of method.So my question is When I passed 10.0 and 10.5 as parameters, How it returns mask = 1048576 ?
0
votes
0answers
33 views

Property could not be set to a 'String' value, must set this property to a non-null value of type 'Int32'

I have created my own complex type to populate the results from a stored procedure function import. The datatype from the SP is an Int and the complex type property is also an Int. When I run the ...
0
votes
0answers
32 views

How to show video on asp.net and protect it to copy and download

I am new to asp.net..my requirement is I want to show video, PDF, PPT, DOC, TEXT, Images into my website so I am storing all the data into my Application folder called StoredData. Now these all the ...
0
votes
0answers
29 views

Flickering in windows forms c#

I have created one application in windows forms. I have used various user controls and have made a single main form. As per click on menu, I load all my controls in controls panel. All the controls ...

1 2 3 4 5 1004
15 30 50 per page