|
I wanna ask that can a Jagging Array in C#.Net behave like a Multidimentional array.
Regards,
Salman Khursheed Bhatti
|
|
|
|
|
A jagged array is a multidimensional array, but it does not guarentee that the same number of elements exist in each 'row'. So, you'd have to add code to check that the element you want is there, for each row you read.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillionOneHundredAndFortySevenMillionFourHundredAndEightyThreeThousandSixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it )
|
|
|
|
|
You should check the spelling in your messages before posting. What is a 'Jagging Array'?
Paul Marfleet
|
|
|
|
|
A jagged array is simply an array of arrays. You can only move the data from a jagged array into a multi dimensional array if all the second level arrays in the jagged array have the same length.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
I need to show the details of drives before installing and to install application in an specified drive the user select other than 'c'drive
naveen
|
|
|
|
|
A standard MSI allows the user to select an install path.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillionOneHundredAndFortySevenMillionFourHundredAndEightyThreeThousandSixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it )
|
|
|
|
|
can u give some more explanation
naveen
|
|
|
|
|
When you create an installer, it's going to offer that, simple as that.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillionOneHundredAndFortySevenMillionFourHundredAndEightyThreeThousandSixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it )
|
|
|
|
|
when using smartclient(clik once deployment),how can this feature(path) will be added
naveen
|
|
|
|
|
if u r making your setup through the default setup wizard of .net then u don't have to worry about this...
even if u r using install shield or some other software to make setup then this feature is by default added in it.
|
|
|
|
|
when using smartclient(clik once deployment),how can this feature(path) will be added
naveen
|
|
|
|
|
HI,
I have two radio buttons male and female in windows form....
this is my code.....
whatever i do it will only display female which ever radio button i clicked....
i suspect there is some pblm with my bool...
can anybody help me plzzz
bool flag=true;
public Form1()
{
InitializeComponent();
}
private void txtBranch_TextChanged(object sender, EventArgs e)
{
}
private void btnRadio_Click(object sender, EventArgs e)
{
if (flag==true)
{
txtBranch.Text = rdoMale.Text;
}
if(flag==false)
{
txtBranch.Text = rdoFemale.Text;
}
}
}
}
thanks in advance
C#
|
|
|
|
|
kabutar wrote: if(flag==false)
{
txtBranch.Text = rdoFemale.Text;
}
You are not setting flag=false anywhere in the code
|
|
|
|
|
but navneeth isnt the bools default value always false.....?
can you just alter my complete code for me so that i can understand it better if you dont mind....
or is there anyother way of doing by not using the bool ie
something like
if(rdobuttonmale.selected)
{
txtBranch.Text = rdoMale.Text;
}
if(rdobuttonfemale.selected)
{
txtBranch.Text = rdoFemale.Text;
}
my basic purpose is the same ie the textbox should display the selected radio button....
thanking you
C#
|
|
|
|
|
But I see only one event here. Write two events for both radio buttons, and assign the textbox value in those events. No need of using the flag
|
|
|
|
|
Awesome now i got it working........now its working fine.....thankyou guys
C#
|
|
|
|
|
hi,
i have one more doubt
if i want to use multiple windows that form1 will have datagrid and form2 will have textboxes and if i want to display the details entered in form2 in the datagrid in form1 .....do i need to use delegates or is there any other easy way of doing it.....
thanks
C#
|
|
|
|
|
kabutar wrote: do i need to use delegates or is there any other easy way of doing it.....
Delegates are always a good practice. Alternatively you can overload form2 constructor and pass form1 object there while invoking form2. Use this object to set value back to form1.
|
|
|
|
|
Thanks again will try with delegate first
C#
|
|
|
|
|
if you have two radio buttons then btnRadio_Click(object sender, EventArgs e) corresponds to which radio button is it for both ?
Koushik
|
|
|
|
|
I have source code from Christian Graus (Image Processing for Dummies with C# and GDI+ Part 2 - Convolution Filters), but i don't understand with emboss concept , i mean...why in emboss filter use offet value 127?If have some emboss concept, please send for my email stevi_uul@yahoo.com
Thanks before....
Haloha...!!!!
|
|
|
|
|
You're welcome to try other values and see what happens. Why does the value disturb you ? The code I present represents the most common approach to embossing you're likely to find. The only issue I see with it is that a convolution filter limits what angles you can emboss at. I've started a filter that allowed embossing at any angle, but never finished it.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillionOneHundredAndFortySevenMillionFourHundredAndEightyThreeThousandSixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it )
|
|
|
|
|
Not to second guess Christian because he's the man here, but why aren't you asking this question on the article forum? Plus - don't put your email in the message. If you leave the Notify me by e-mail checkbox selected, you'll get replies sent to you.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi all
I have a problem. Am tring to display data on dropdown list, i have two dropdown list. i'm displaying data on both from database. when the application starts running the first ddl will list out some data. when we select one the second ddl will display data according to that. but here the problem is, when i select one on first ddl, it is automaticaly errasing all the datas.....
i havint given any where clear command. y it ts not displaying. the problem i nly when it is connected to database. i tried a sample, it is working.
plz help me....
|
|
|
|
|
Is this an ASP.NET app ? Are you binding to your datasource on postback ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillionOneHundredAndFortySevenMillionFourHundredAndEightyThreeThousandSixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it )
|
|
|
|