|
Hi all,
i wanna know way to store every row in a datagridview into array list
also i wanna know way to sort data by specific column in datagridview
watting u
don't forget me
|
|
|
|
|
How to get address of variable in C# not use unsafe code.
le van giang
|
|
|
|
|
simply you cannot.
[ITA] Tozzi ha ragione: Gaia si sta liberando di noi.
[ENG] Tozzi is right: Gaia is obliterating us.
|
|
|
|
|
You can't. As there is nothing you could use that address for in safe mode, there is no reason to have the functionality to get it in safe mode.
How do you plan to use it?
---
b { font-weight: normal; }
-- modified at 13:29 Sunday 28th August, 2005
Changed unsafe to safe in my post, as that was what I meant.
|
|
|
|
|
|
You assume absolutely correct.
I modified the post to reflect my original intention.
---
b { font-weight: normal; }
|
|
|
|
|
i'm doing a project which related to C#+Mysql+Crystal report
i have a big problem on crystal report part...
anybody can guide me how to call out the crystal report using MySql ?
thank you
Ben8873
|
|
|
|
|
Hello everyone!
OK, I read and re-read this code like a thrillion times and I can't understand why it's doing this... Please check it out: (VS.NET 2003 solution file)
http://www.sulfurmidis.com/BeepXtreme-srchelp.zip
[^]
OK. When I click on the open button, (File>Open), it's suppossed to make a thread (OpenFileThread()) and open a file. It starts out by making the BIP file and then validating (Check for errors in it) it (BipReader.ValidateBipFile(), file BeepXtreme.cs, line 975) but it stops on there! It doesn't throw me an exception or anything, it just pauses at the if statement on BeepXtreme.cs line 979, and the ValidateBipFile() won't execute because I tried debugging with a pause at line 298 in BipReader.cs. What's causing this?! Thanks very much!
Darth_Sulfur (Sulfurik)
http://www.sulfurmidis.com
http://www.sulfursoft.tk
ftp://tsfc.ath.cx
http://tsfc.ath.cx
hotline://tsfc.ath.cx
|
|
|
|
|
|
Umm... what's the problem with that code? What's a stack overflow? (Sorry for sounding noobie...)
Thanks!
Darth_Sulfur (Sulfurik)
http://www.sulfurmidis.com
http://www.sulfursoft.tk
ftp://tsfc.ath.cx
http://tsfc.ath.cx
hotline://tsfc.ath.cx
|
|
|
|
|
|
It's... calling itself? How?
Thanks!
Darth_Sulfur (Sulfurik)
http://www.sulfurmidis.com
http://www.sulfursoft.tk
ftp://tsfc.ath.cx
http://tsfc.ath.cx
hotline://tsfc.ath.cx
|
|
|
|
|
public BeepCollection FileParams
{
get { return this.FileParams; }
}
Actually, this is same as BeepCollection FileParams_get(){ return FileParams_get() } . Do you see now how it is calling itself? Maybe you know recursion but you was confused by syntax of properties. Properties are syntactic thing only, in reality it generates setter (and getter) functions. Is it clearer now?
Never forget: "Stay kul and happy" (I.A.)
David's thoughts / dnhsoftware.org / MyHTMLTidy
|
|
|
|
|
Set Breakpoint at
public BeepCollection FileParams
{
get
{
return this.FileParams;
}
You will see that you will never goes out of the body
Of FileParams Property because the Body Call The
Property again and so on
This Like you wrote somthing like
public int Sum(int i,int x)
{
return Sum(i,x);
}
this will still sum i and x and
MCAD
-- modified at 20:50 Saturday 27th August, 2005
|
|
|
|
|
this property call its self but why did not throw
StackOverflowException
MCAD
-- modified at 20:58 Saturday 27th August, 2005
|
|
|
|
|
Well, is there a better way to do it? I really can't figure it out, I thought that was the correct way to do it... Thanks!
Darth_Sulfur (Sulfurik)
http://www.sulfurmidis.com
http://www.sulfursoft.tk
ftp://tsfc.ath.cx
http://tsfc.ath.cx
hotline://tsfc.ath.cx
|
|
|
|
|
Return the member variable that actually backs up that property, instead of returning the property itself, which is what is causing infinite recursion.
class X
{
string fileName;
public string FileName
{
get { return fileName;
}
}
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
And what's my "member variable"? All I have is the FileParams...
Thanks!
Darth_Sulfur (Sulfurik)
http://www.sulfurmidis.com
http://www.sulfursoft.tk
ftp://tsfc.ath.cx
http://tsfc.ath.cx
hotline://tsfc.ath.cx
|
|
|
|
|
You need to Declare class member like
private BeepCollection beepCollection;
and the Change the implementaion of FileParams Property
to
public BeepCollection FileParams
{
get
{
return beepCollection;
}
set
{
this.Lines = this.FileParams.Count;
this.beepCollection=value
}
}
MCAD
-- modified at 13:21 Sunday 28th August, 2005
|
|
|
|
|
THANK YOU ALL!!!
It works! Now I can keep on working on this! Thanks!
The program's homepage: http://www.BeepXtreme.tk
Darth_Sulfur (Sulfurik)
http://www.sulfurmidis.com
http://www.sulfursoft.tk
ftp://tsfc.ath.cx
http://tsfc.ath.cx
hotline://tsfc.ath.cx
|
|
|
|
|
Dear All,
I have the following issue...
I need to call a function from an unmanaged dll...
One of its input parameters is described as follows;
CvContourRetrievalMode as the datatype name
and it takes one of four values{CV_RETR_TREE...etc}
so shall I define it as enum or what?in msdn I found only examples for strings,structs and classes?any suggestions?
Thanks and Best Regards,
E.A.
|
|
|
|
|
|
|
hi, i use a Text Box...can i underline some text in the text box?
For example when i have:
Hello how are you?
i want to underline Hello and you...
maybe its possible...
cu
|
|
|
|
|