|
|
i wanted to implement the following thing.
class abc
abc=new abc();
abc.parameters.add("","","","","","");
i think parameter should be a ParameterCollection type.
i added the property type parameter collection in the abc class.
but how to implement the following thing
add("","","","","","");
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Sonia Gupta wrote: add("","","","","","");
What is this ? ParameterCollection's Add() method takes Parameter object. So how this is possible ?
|
|
|
|
|
i meant can i overload a method with that argument
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
do you mean a param array?
like
void foo(params string[] args)
{
Console.WriteLine("You provided {0} arguments!",args.Length);
foreach (string arg in args)
{
Console.WriteLine(arg);
}
}
greets
M@u
|
|
|
|
|
Hi,
I have an application that is scheduled to run daily at a particular time. Now, users want to acess that scheduler so as to stop the run and resume whenever they want. Would anybody please help how to do this in C# programmatically.
Is there any dll or something like that does this job? Pls help.
Please let me know if you require any more information.
Thanks
Meeram395
|
|
|
|
|
This article[^] describes and includes a library.
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
Personally I wouldn't bother; It's a very difficult wheel to reinvent.
|
|
|
|
|
Hi,
How do you localize an image (e.g. flag) so that depending on the culture selected the image (flag) changes. For example if it is English (AU) then the Australian flag will load... if it is German then the Germany flag will load, etc...
I am using C#.NET.
Thank you in advance for your help.
|
|
|
|
|
U need to have various flags stored in your DataBase or Filesystem ...and then based on the culture load the appropriate flag...( actually i don't understand u'r question do u want to load a flag specific to the culture that the client machine belongs to ?)
Koushik
|
|
|
|
|
Hi Koushik,
Thanks for your prompt reply.
I need to localise a jpeg image of some kind. I have decided to pick flags.
I need to insert a lang-locale code.
I am guessing I need to store the country flag under the resource resx file? And depending on the country/language selected it will load the appropriate flag??? Just sure how to do this...
|
|
|
|
|
Hey u can do like that for easy coding store the Flags with filenames like "En-en" I mean same as the culture name and load those images based on the culture
Koushik
|
|
|
|
|
Yeah that is what I want to do...
E.g. 2 cultures:
1. UIStrings.de.resx (German)
2. UIStrings.id.resx (Indonesian)
So do I store the flag image in the resource file under images? Do you know what code I need to put in the form where the picture is?
Thanks for your help
|
|
|
|
|
Thanks Koushik
I have added a flag to UIStrings.resx (default) file and one in the UIStrings.de.resx (German) file.
What is the source code for loading the image?
I am assuming it is similar to a string.
E.g. this.btnOK.Text = res.GetString("OK").
Can you please help with this?
Thanks,
|
|
|
|
|
Hello,
just wanted to ask you ppl how we can add a help feature in a windows app, like the one that shows you the index n search facility. It has something to do with .chm files but I dont know the details.
Any ideas, link??
Thanks in advance
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
First of all u need to have the .chm file...u can make a .chm file with tools available in the net...try WinChm tool u will get the trial version of it...After making the desired chm file drag a helpProvider control onto your form and attach the chm file to it ( u will find it in the control properties) Now invoke the helpprovider on the help button click
Koushik
|
|
|
|
|
Thanks Koushik that looks pretty helpful
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
u r welcome dude!
Koushik
|
|
|
|
|
I'm using datalist control in shopping cart. i want show/hide the details of shipping addresses for multiple products
for that i'm using a table (with multiple textboxes) and a button in datalist.
when i'm clicking button in datalist total table's are
visible otherwise all table's are invisible ..
tell me how to hide address details of particular product in
datalist..
suman.c
|
|
|
|
|
|
Rocky.......
I'm not finding any answer in ur reply for show/hide ship details
suman.c
|
|
|
|
|
when i'm clicking button in datalist total table's are
visible otherwise all table's are invisible ..
tell me how to hide address details of particular product in
datalist..
with this I thought you want to show/hide datalist items. I think I was wrong. We can't understand anything when u say you wanna hide a product table coz we're not the one's seeing what you r doin right? So try to explain what u wanna do in terms of .NET object manipulation ok.
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
|
ur welcome but did that help u out??
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
I'm explaining u in easiest way ....
when we are clicking a button textbox should be visible.........
when we are clicking again the same button textbox should invisible
Both these controls are placed in datalist......
so that multiple buttons & textboxes are coming I am not able to differentiate the click events when i'm clicking one button all textboxes disappearing.... and if i click again all textboxes disappearing .......
one button should work for one text box ()..........
Help me I think you understood the question........
waiting for ur reply.
|
|
|
|