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.
0
votes
5answers
35 views
quick and dirty way to recursively collect files from sub directories?
So I have a directory where a bunch of configuration files are stored, but now I also have several sub directories which also contain config files. I had a function for collecting all configuration ...
1
vote
0answers
12 views
Facebook Login in jQuery Dialog - MVC 4 ActionResult in jQuery Dialog
Someone can suggest me what is the clean and proper way to render, what was a MVC 4 RedirectResult, in a jQuery Dialog?
I have a Facebook Plugin that return a "RedirectResult" so that during the ...
0
votes
0answers
6 views
SharePoint 2010 Custom Pages (SharePoint Foundation)
I am not looking for the answer - just resources to point me in the right direction
I have been working through some excerices and one of them I came across states:
Instead of using the native ...
0
votes
2answers
45 views
When does Thread.CurrentThread.Join() make sense?
What is the effect of calling Thread.CurrentThread.Join(), and if/when would it make sense to call it?
0
votes
0answers
11 views
cannot get second gridview to load after clicking the select button in first gridview
I have two gridviews in asp.net the first one looks like this
<asp:GridView ID="grdFilteredDenialReport"
AllowSorting ="true"
AllowPaging="true"
...
0
votes
0answers
10 views
String was not recognized as a valid Boolean. - an Error Related to C#. GridView CheckBoxField
Here is the programming environment.
Framework: ASP.NET Framework 4
Language: Visual C# 2010
Database: Oracle Database 11g
Here is the scenario.
I'm creating a GridView from the HR Sample ...
0
votes
0answers
24 views
WPF Access grid items onClick
I'm new to wpf and have what I hope is a simple question.
I have created a simple template to display some grouped items
Currently when I click on one of the items ItemsClick is called (as ...
0
votes
2answers
19 views
Getting String Value From Database in C#
I have a database table in which i am saving created users along with username now what i want to get string value from my database if username exists in database and then i will show error message ...
-1
votes
0answers
14 views
How to create xps document using C#? [closed]
My requirement it create a XPS document using .Net C#. I have a list of .jpg images and list of fpage. Using these images and fpages, i want to create a XPS document.
Can anyone suggest how to ...
-3
votes
3answers
26 views
Generate string of fixed length in C#
How can I generate a string of fixed length based on the input given in c#.
For example :
string s="1";
string newstring ;
I want the newstring to be "AB_000001";
// Similarly if
s="xyz";
//I want ...
-2
votes
0answers
13 views
Need Code for making my app default on windows startup
I am trying to devolop a c# applicatiion . i need my app to be pop up while we log into the system (Windows) and other functions(Basic Window functions) need to be enabled only after my login page... ...
0
votes
0answers
23 views
Write data over multiple ranges of excel from vb.net
I am creating reports over excel from VB.net code .
Code details :
1. Create Range Names inside excel template :
Formulas -> Name Manager -> Create multiple new name ranges in excel .
Using ...
-4
votes
1answer
43 views
Unclear about the Error why we are getting the exception [closed]
Message: The parameter value must be greater than zero.
Parameter name: textLength
Stack Trace: at
MS.Internal.TextFormatting.TextMetrics.FullTextLine.GetTextBounds(Int32
...
0
votes
0answers
12 views
Binding Error in output window
Binding Error in output window
I have use the following code snippet to add ContextMenu items to CustomControl .
Code Snippet[C#]:
class RecordMenuItems : ObservableCollection<MenuItem>
{
}
...
-1
votes
0answers
18 views
how to store data permanently in sql compact database3.5 [closed]
i am using sql compact database 3.5, the data is being inserted successfully, but after sometime the data gets deleted automatically. Please help me in this problem.