|
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 )
|
|
|
|
|
no
i have written the code inside if (!IsPostBack)
|
|
|
|
|
And have you stepped through the code in the debugger to see at what point it loses it's values ? Is viewstate turned off ? If that's the case, then you will lose your values, as you've described.
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 )
|
|
|
|
|
no...
viewstate is on only
i tried to debug the cod
the control is not going to
private void DdlCustomer_SelectedIndexChanged(object sender, System.EventArgs e)
y is it so....
|
|
|
|
|
Well, at the level you're talking, you're really better off buying a book and working through it until you've got some core stuff down. But, msdn.microsoft.com is the MS documentation, and there's lots of articles on this site.
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 )
|
|
|
|
|
|
Most of the classes in ADO.NET includes a Dispose() method. I know it is called to release unmanaged objects. But when it is called, immediately the objects will be removed or it will remove only the references, and objects will be removed on the next collection cycle ?
|
|
|
|