Re: Copy DataGrid columns values to text box

Souleess, Nope, looping through each row is exactly what you have to do. -- - Nicholas Paldino [.NET/C# MVP] - mvp@spam.guard.caspershouse.com "Soulless" ...

1 replies

How to declare function that accepts any generic list as input parameter?

How to declare function that accepts any generic list as input parameter? I mean I need void foo(List<> list) { } where: Valid parameters are List<SomeInfo>, List<string>, List...

4 replies

Re: Looking for a pattern

Bilz wrote: > Hello, > > I am looking for a good pattern. I have a rather large software app > that makes use of a service manager for its many services... > configuration, color...

13 replies

Re: Modifying JPEG Comment

I don't have an answer for you JPEG problem, but I have one comment respect you code, you can get the byte array using a single line like this: byte [] byteArr = Encoding.ASCII.GetBytes(txtDescri...

0 replies

Memory issue, process termineted

Hi, I have a c# console exe Based on input it consumes arround 1-3 gb of memory I am trying to run it on win2003 box with 8GB of ram. Once the consumed memory goes beyound 1 GM the process ...

7 replies

Re: sliced find in Linq

Marc Gravell wrote: > > take the 2nd page in a query on northwind employee filtered on order > I went for customers, but same horse... > The query below is deliberately not particular...

6 replies

Re: Bring To Front

You could check the Form's WindowState; if it is Minimized, change it to Normal (or what it was last)? Marc

1 replies

About system.overflowexception

I got a CER from a client said that a system.overflowexception thrown when executing the following stentence: Vertor3 v = p1 - p2; Here the p1, p2 are variables of self defined struct --- Point3,...

4 replies

Re: Calling another method in C#

First off - you can simply set the toolStripStatusLabel3.TextChanged event to fire buttonRun_Click; either in the IDE by using the pull- down menu, or through code: toolStripStatusLabel3.TextChange...

2 replies

Re: Database programminf question...

On Oct 31, 5:30 pm, Marc Gravell <marc.grav...@gmail.com> wrote: > I think nntp ate my post... I don't know much about it, but if you can > wait for VS 2008, you might want to look into ...

7 replies

Re: Full Screen on Secondary

There has to be a solution to this problem. I am will to offer any clarification if required. Thanks, Robin On Oct 27, 10:43 am, Robin <diilbert.atlan...@gmail.com> wrote: > I am ...

0 replies

Re: C# keyword list programatically

Hi Ronnie, Thanks for your background information. The C# language keywords are part of the C# language specification which is not defined in the .Net Framework(which can target many other lan...

0 replies

Re: basic string encryption

Marc Gravell wrote: > Here's another idea... don't store passwords... hash them (with salt) > and store the hash. To verify, re-hash (with salt) and compare hashes. > For example, HMACSHA[...

3 replies

Service Installer Credentials Dialog

I've created an installer for a windows service. When you install the service, the user is prompted for Windows Service credentials. If the username and/or password don't match (ie mispelling), th...

1 replies

Re: Matrix - Transformation

Hello Peter, you are angry with me, correct? I did not want that. Well, I wanted only to show the problem definition. In completely form. It say ud simply can whether you still help or not? Can...

2 replies

Question on Controls and components

here's an easy one for you guys - .NET form designer generates this: private System.ComponentModel.IContainer components = null; but I don't see it used anywhere in the generated code - ...

7 replies

Generate XML Question from

I need to Generate XML files related to some standard format. Can someone letme know what is the best way to do. As far as I know, it can be done in one of the following way : * Through sql querie...

2 replies

Re: Comparing ArrayLists

JoshP wrote: [...] > oApproved (3 elements here): > [0]Red > [1]Green > [2]Yellow > > oFound (5 elements here): > [0]Red > [1]Green > [2]Yellow > [3]Orange &...

1 replies

About system.overflowexception

I got a CER from a client said that a system.overflowexception thrown when executing the following stentence: Vertor3 v = p1 - p2; Here the p1, p2 are variables of self defined struct --- Point3,...

0 replies

wfSpy and VS2005

I download wfspy src from http://www.codeproject.com/dotnet/wfspy.asp and convert and compile the source in VS 2005 I can generate the .exe and .dll but the compiler return the error : "Erro...

6 replies

String Conversion to Int

This is a newbie question. Let me know if I'm in the wrong place. I working with an external application that returns two strings that I need to divide. val1 = "$100,000" val2 = "...

9 replies

Re: How do i pass data from form 1 to form 2

On Oct 30, 10:28 pm, maxxx <mailma...@gmail.com> wrote: > On Oct 31, 3:05 am, AshP...@gmail.com wrote: > > > > > > > Hi all, > > > I have 2 forms, "...

6 replies

regularexpressionvalidator "does not contain"

so the challenge is how to create a regex that validates a control when it doesnt contain particular words or phrases. I've used the validator plenty of times to validate correct input in differe...

1 replies

Datagrid copy

Hi, I have a datagrid with multiple columns and would like to copy the contents of one column to another datagrid object that only has the one column. I don't think copy can do this. Is there a ...

1 replies

write the escape character to the console?

How do you send an escape key to the console? I was trying to change the color of the text in cmd.exe with something like this: Console.Out.Write("\u001b[1;31m"); But that doesn't see...

1 replies

First  Prev  Next  Last