Hi,
I have IEnumerable which contains number Data inside it.
Edit
The IEnumerable is from System.Collection.Ienumerable directive.
Attached the snapShot of Viual Studio, Enum that Contains Data:
Just to brief about the above image, eLevelData is the IEnumerable variable, in which I have my data .
Now I want to go to the data at in...
When I usually write code I follow some guidelines to ensure that my code has a certain standard and I as any other developer try to ensure that my code and software is of quality.
Try to focus on the programming and not the understanding of the domain or any other pre-programming steps(in the answer that is!).
These are the following ...
I have ExtJS based application. I have compound object on the server side, and have ExtJS window with few tabs for editing different parts of this one object. For example:
I Have Compound object "Car"
public class Car
{
public string Name;
public string Color;
public List<Wheel> Wheels;
public List<Door> Doors;
}
And on ...
Hi,
I have a situation where I need to make some data available for reading by anyone from a specific device, where the data is pre-loaded on the device, but I cannot allow anyone to create their own device and populate it with their own data in the same format.
I know this sounds a little crazy, but there is a good reason!
I was plan...
Hi,
I am working on XP m\c and right now I don't have sybase install.
But My server has the sybase 12.5 (that much I only know). I am using web service to talk to that server. How can I call the data from that server,
For this I am using a webservice which has some web methods that are using specific connection string. Right now I am...
XmlTextReader reader = new XmlTextReader(Window1.cfg.FSAddress);
bool[] startreading = {false , false};
while (reader.Read())
{
switch (reader.NodeType)
{
case XmlNodeType.Element: // Узел является элементом.
if ...
I have a service which needs to be deployed on a clients machine.
The destination machine is 64bit. My dev machine is also 64 bit.
The app is really simple, listens on a port and does some db things. It targets .net 3.5
When I deploy the Anycpu, the X64 or the X86 version, the thing won't install on the clients machine.
I checked depe...
I'm starting on my first business project (.NET) and am trying to follow DDD principles. Are there any guidelines or common patterns for orgaining source code and namespaces?
For example, do your domain objects go in a namespace MyProject.Domain or whatever? Would you separate the concrete implementations and the interfaces? In differen...
I have the following data contract:
[CollectionDataContract(Name="MyStuff")]
public class MyStuff : Collection<object> {}
[DataContract(Name = "Type1")]
[KnownType(typeof(Type1))]
public class Type1
{
[DataMember(Name = "memberId")] public int Id { get; set; }
}
[DataContract(Name = "Type2")]
[KnownType(typeof(Type2))]
public cla...
I am implementing search highlighting in a FlowDocumentPageViewer by setting the background property of selected TextRanges to yellow.
Unfortunately, the viewer repaginates the entire document when the properties are changed. If you happen to be on a page towards the end of a long document, the viewer is blank for a number of seconds un...
Possible Duplicate:
Arrays as attribute arguments is not CLS-compliant warning, but no type information given
I have some code, which generates this warning in several places. I want to fix them, but I do not know where they are because the C# compiler does not report the line of the error (there is an open MS Connect issue fo...
I am developing an application for a Windows CE OS.
I am using .Net Compact Framework 3.5.
I want to localize my control texts on my form , and I am looking for the fastest way and compatible to compact framework using C#.
Please guide me with your valuable ideas how can I do it ?
...
In most of the cases we usually creates a private variable and its corresponding public properties and uses them for performing our functionalities.
Everyone has different approach like some people uses properties every where and some uses private variables within a same class as they are private and opens it to be used by external envi...
I have a wap site with susciription and I want to check if users are authorized to see some pages. I have decided to use http module.
Should I use AuthorizeRequest or BeginRequest to check the users status? and why?
...
I've written a log parser, with some generous and insightful help from the SO community:
http://stackoverflow.com/questions/2906630/keeping-the-ui-responsive-while-parsing-a-very-large-logfile
Now, I'd like to be able to right click one of these logs, select "MyNewLogParser" from "Open With.." and see it open in my new program.
This w...
I'm looking after a framework that offers the standard management of a whiteboard. ie a zone where the web user can draw something with his mouse and will be saved to the server when the form is posted (for instance). (Php, java, .net ?)
...
Hi all,
I am not able to delete a native image :
del c:\windows\assembly\native...\mscorlib\xxxx\mscorlib.ni.dll
access refused
That works on Windows XP, but not in Seven.
Does someone know how can I do ?
Thanks
...
Hi,
How can I delete specific DataRows within a loop of a DataTable rows which meet a custom condition -lets say the rows having an index of even number-? (Without using LINQ)
Thanks
...
I'm attempting to create a program that takes input from a usb ps2 hand controller, translate and passes the info to a rs232 device. I already have everything working for the rs232 device. The problem is interfacing with a usb controller. There doesn't seem to be any good documentation out there and on top of that .NET3.0/3.5 doesn't hav...
Hi all,
I am developing a project for one of my clients.
The project goes like this.
There is a client to a Webservice which inserts a command to database(Command is inserted through webservice to DB).
There is server application which reads the command and updates that the server has finished executing the command.
How can I notif...