.net-3.5 Questions
3
I am looking here to find a quick and easy way to bind a list of checkbox list items when the postback occurs in the model.
Apparently the common way to do it now seems to do it like this form.Get...
Toscano asked 3/2, 2011 at 16:15
3
Solved
Assuming I have made a web control as follows:
public class TestControl<T> : WebControl
{
...
}
Is there any way to place that control on an .aspx page without having to do it via code? I...
4
Solved
I have the following code:
using System.Configuration;
namespace test
{
public partial class MyService : ServiceBase
{
public static ReadConnectionStrings()
{
ConnectionStringSettingsCollec...
Plosion asked 6/10, 2010 at 14:41
2
Solved
I am compiling in C# using .NET 3.5 and am trying to convert a TimeSpan to a string and format the string. I would like to use
myString = myTimeSpan.ToString("c");
however the TimeSpan.ToString ...
Already asked 20/7, 2012 at 12:7
4
Solved
Configuration settings in 3.5 is driving me nuts... Help! ;)
I have a class library (Named ADI), that needs some configuration settings from the project using it (like connectionstring, filesystem...
2
I just created a WCF web site .net 3.5, I think by creting a default one would be enough to replicate. yet it is defficult to replicate. I have VS2013 with all updates as downloaded from my MSDN an...
Eby asked 3/7, 2014 at 17:5
10
Solved
I was successfully able to remove read only attribute on a file using the following code snippet:
In main.cs
FileSystemInfo[] sqlParentFileSystemInfo = dirInfo.GetFileSystemInfos();
foreach (var...
2
I'm using a Ribbon control from RibbonControlLibrary for .net 3.5.
I can't use RibbonWindow for some presentation-compatibility issues. So I place a Ribbon control inside Window.
There are no vis...
3
This should be so simple - I've been hitting my head against my desk for so long trying to make a seemlingly simple task work (makes me feel like WPF is un-intuitive or buggy)...
In any case, I'v...
Clavus asked 17/10, 2009 at 18:23
2
Solved
I am trying to make an installer for a project I did not write, and I use the wizard to create the setup.
Program Files Folder contains a favicon.ico, a custom dll, and Primary output from the proj...
Toinette asked 6/2, 2009 at 16:32
6
Solved
Wonder why. C# .Net 3.5
int a = 256 * 1024 * 1024;
int b = 8;
long c = b * a;
Console.WriteLine(c);//<-- result is -2147483648
Where does this minus from?
Fake asked 26/1, 2015 at 17:36
12
Solved
I recently upgraded to IE9-beta. Now, In my .Net (3.5) WinForm application I want to use WebBrowser control.
So my question is, whether the WebBrowser control will exhibit all properties and func...
Zachariah asked 6/1, 2011 at 6:8
6
I've installed a clean XP virtual machine for test purposes, only .NET 3.5 SP1 redistributable is applied.
When I try to start our WinForms app, it gives the following exception:
System.Configu...
5
Solved
I need to create XML serializer classes for approximately 65 XSD files, for which I am using Microsoft's XSD.EXE to generate the C# code...
However, I keep running into Window CMD's character limi...
Alicealicea asked 4/10, 2010 at 21:34
1
So I've got a web app running on .net 3.5 connected to a SQL 2005 box.
We do scheduled releases every 2 weeks.
About 14 tables out of 250 are full text indexed.
After not every release, but a fe...
Unequaled asked 20/5, 2010 at 2:34
1
Solved
I'm using .NET 3.5 on Windows 8, with the default Aero theme.
This was supposed to be an answer to Scale Checkbox without scaling content but it didn't work as easily as I expected. I'm trying to:
...
3
Solved
Is there a way in the .NET Framework to hand some method or validator an object instance whose class is decorated with Data Annotations, and receive a collection of errors?
I see that there is a w...
Varmint asked 24/6, 2013 at 22:10
3
Solved
In Html 5, there is a new attribute on textbox called autofocus.
The problem is that it is a boolean value (there or not there)
It should look something like :
<input name="a" value="" autofo...
Bigham asked 8/6, 2010 at 14:30
2
Solved
What I want to do is basically remove a function from an event, without knowing the function's name.
I have a FileSystemWatcher. If a file is created/renamed it checks its name. If it matches, it ...
3
Solved
I currently determine what page of a tabcontrol was clicked on via the SelectedIndexChanged event.
I would like to detect before the selected index actually changes, for validation purposes. For e...
3
Solved
I have a Queue on which the Enqueue operation would be performed by one thread and Dequeue would be performed by another. Needless to say, I had to implement some thread safety for it.
I first tr...
Housley asked 27/1, 2011 at 15:20
4
Solved
We have a .Net 3.5 application that is built using some scripts that call msbuild.exe
Recently all our machines started automatically updating from .Net 4.0 to .Net 4.5 as part of a company-wide p...
4
I have a gridview control which displays data returned from DB. The datakey property of the gridview is bound to the ID column of the DB
Each record in the GV had 2 buttons and one Checkbox. When ...
Fourposter asked 4/12, 2008 at 20:31
3
Solved
I am currently aiming to implement a read-only role provider for an ASP.NET application based on domain security groups using the utilities in the System.DirectoryServices.AccountManagement assembl...
Aflame asked 10/11, 2011 at 21:9
2
We have run into a strange bug that we're having problems debugging.
We have a MDI workspace that uses Microsoft CAB, DevExpress components, and .Net 3.5.
If users open two windows in the worksp...
Embree asked 11/6, 2014 at 18:50
© 2022 - 2024 — McMap. All rights reserved.