|
If this is homework, you need to start it yourself. If htis is a client, don't steal from them, instead ask if anyone here wants the work, if you want us to do it all for you.
You've not even said if the system is web based ( I assume it would be, even tho this is not the ASP.NET forum )
A ticketing system stores details of the tickets on offer in a database, and allows people to request tickets and pay for them, how's that for a start ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
1)How many pages Gridview will allowes..(maximum number of Pages)
2)I have one gridview and one button contol.In that gridview i have checkbox control.
now my problem is when i press a button(btnCheck) the checkbox in the gridview control want to be checked..
Thanks
Pinna
modified on Tuesday, May 20, 2008 4:48 AM
|
|
|
|
|
The number to be encoded is 173946. Starting from the right side of the number (the units position), collect all of the odd position digits (i.e. digit 1, digit 3, digit 5, etc.) and create a new number leaving the digits in their left to right order. The new number would be 796.
|
|
|
|
|
Dixy wrote: The new number would be 796.
Correct.
Now do your own homework.
|
|
|
|
|
And you're in trouble if you need help with this homework question. Serious trouble.
Semicolons: The number one seller of ostomy bags world wide. - dan neely
|
|
|
|
|
Well let see .... I think you can start with a for or foreach loop. And then you can move on to Google to get some more information.
Logic makes the world go around ....
Regards,
The only programmers that are better that C programmers are those who code in 1's and 0's
Programm3r
My Blog: ^_^
|
|
|
|
|
I would go with a while loop:
while not num.BON
{
etc.
}
where BON is Beginning Of Number...
Semicolons: The number one seller of ostomy bags world wide. - dan neely
|
|
|
|
|
The problem is well defined, hence: good luck!
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
I find it fun to take some simple homework assignment like this and try to turn it into a one-liner.
int encode(int v){return 0<v?0xa*encode(v/0x64)+v%0xa:v-v;}
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
It would be SO awesome if he submits this....
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I downloaded a solution in C#,where i found files with XAML extensions,which i cannot open in VS 2005.I want to know about windows presentation Foundation.Do i need to install anything??What should i do to run that solution??
Regards,
Priya
|
|
|
|
|
Either install .NET 3.0, or get VS2008.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
Rubbish. .NET 3.5 does NOT support VS2005, no IDE is ever compatible with a new framework, 3.0 is not a new framework, it's an add on to 2.0.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Not strictly true Christian. VS2005 will work with .NET 3.5 but the compiler won't understand some of the new coding structures so you have to code a little differently.
This link[^] has a few details.
To the OP, WPF can be added on by installing .NET 3.0 and Visual Studio 2005 extensions for .NET Framework 3.0 (WCF & WPF). Just google for wpf vs2005
Dave
|
|
|
|
|
I want to enlarge the icons in a LilstView. How do I do?
_____________________________
...and justice for all
APe
|
|
|
|
|
change the image height & width.
|
|
|
|
|
The images I use (in the ListView.ImageList) are very big...
_____________________________
...and justice for all
APe
|
|
|
|
|
There's a property of height and width in the listbox property box.. change that..
currently it will be set to 16x16 increase that to 24x24 or 32x32
|
|
|
|
|
Hello
i just want to know do we use external variables in C#.NET
LIKE
static extern bool ShowWindow(IntPtr Wnd, int nCmdShow);
what are the uses of using extern in C#.NET
ANY SORT OF REPLIES IS HIGHLY APPRECIABLE
REGARDS
|
|
|
|
|
http://msdn.microsoft.com/en-us/library/e59b22c5(VS.80).aspx[^]
It seems extern is used to indicate that a method is implimented outside the C# code, for example, in a p/invoke signature.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi
I'm trying to programmaticaly get a scanned tiff image's dimension like the info displayed in summary tab of properties dialog of file
is there any way to get dimension directly instead of using resolution?
any idea?
I Wish the Life Had CTRL-Z
|
|
|
|
|
If you can work out what the shell is doing to get that info, you can try to p/invoke it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
thanks
I Wish the Life Had CTRL-Z
|
|
|
|
|
If by "dimension" you mean the width and height of the image measured in pixels, which is what I see in the summary tab, you can use this quick and dirty means.
System.Drawing.Bitmap bitmap = new System.Drawing.Bitmap("MyImage.tif");
int width = bitmap.Width;
int height = bitmap.Height;
bitmap.Dispose();
If you need more info, you could get a copy of the TIFF specification, read the file header, and extract what you need from those bytes.
Hope that helps.
BDF
A learned fool is more a fool than an ignorant fool.
-- Moliere
|
|
|
|