|
Just noticed this is a report from another forum. DON'T DO IT!!
Combobox.Items.Insert(0, "");
Make sure you do this after an databind for the combobox. Alternatively, you could add an item to the collection that you are binding the combobox to. Not the database, the dataset or datatable returned.
only two letters away from being an asset
|
|
|
|
|
jdstuart,
ComboBox.SelectedIndex = -1;
Regards,
Gareth.
|
|
|
|
|
Hi all,
I've finally come to the point where I have to start implementing reports in my applications. The name Crystal Reports pops up regularly but I don't know the first thing about it.
Could someone point me in the direction of some online tutorials or something that can get me started perhaps? I'm not even sure where to start.
Also, is Crystal Reports the way to go and what are my other alternatives?
Thanks in advance
|
|
|
|
|
Crystal Reports is not bad, you could do worse.
Here's a bunch of tutorials off of google: Clickety[^]
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
"There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib
"Animadvertistine, ubicumque stes, fumum recta in faciem ferri?"
|
|
|
|
|
google.jo?
All that text stacked on the right side of the screen makes me feel uncomfortably.
|
|
|
|
|
blackjack2150 wrote: google.jo?
Mustafa's from Jordan, but the principal is the same in any google of your choice.
|
|
|
|
|
Crystal and its ilk are designed to do rather advanced things and may not be the right tool for doing simple things. I prefer XML with XSLT for simple reports.
|
|
|
|
|
I've worked with Crystal Reports (XI I think) a while ago.
It's pretty powerful and it integrates in .Net pretty easy.
You do need a good deal of IT knowledge though. The best is that you buy a book. Internet tutorials are more for reference. (IMO)
good luck.
|
|
|
|
|
I find u$ report server easier to use the crystal and the complexidy of crystal really doesn't buy you all that much.
MrPlankton
|
|
|
|
|
After using Crystal for almost 10 years I am able to do the most simplest tasks with it. I don't know why so many people cut it
Crystal is easy once you learn its quirks. http://www.devexpress.com/Products/NET/WinForms/XtraReports/[^]
Is also a popular option these days.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
hi
help me how to change the color of a readonly textbox and a Disabled combobox contrl to look like a normal one.
<br />
comboBox1.Enabled = false;<br />
comboBox1.BackColor = System.Drawing.Color.Yellow;<br />
senthil
|
|
|
|
|
First of all, why? The point behind making a control appear disabled is to stop the users from interacting with it.
Anyways.
You can't do it directly. It will always be gray. However, you can create your own control that inherits from the combobox and you can change that any way you please.
Post back if you need more help or vote if this answers your question.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
"There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib
"Animadvertistine, ubicumque stes, fumum recta in faciem ferri?"
|
|
|
|
|
hi mustafa
assalamu alaikum
my need is even though its a disabled contrl it should look like normal.
i am beginner , can u tell me in detail
thanku
ssk
ssk
|
|
|
|
|
This[^] has a way of doing it at the bottom of the page. The code is VB but should be easy enough to translate to C#.
|
|
|
|
|
Wa Alaikum Al Salam
This Walkthrough will cover how to create the inherited control.
http://msdn2.microsoft.com/en-us/library/5h0k2e6x(VS.80).aspx[^]
Then, you'll have to handle the OnEnabledChanged event in your inherited control and take it from there. What you'll need is to either maintain the look and feel of the control or make it so that it is read only.
[edit]
Or read Davey's response, he gave you the whole she-bang!
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
"There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib
"Animadvertistine, ubicumque stes, fumum recta in faciem ferri?"
|
|
|
|
|
This is a guess, but I think you can do it by overriding the OnPaint method.
|
|
|
|
|
Hello experts,
I'm making a matching program that will match the customer name. For that
I have a datatable with all customer names. I want to make them upper before matching how i can do that...?
I'm using
foundCustomerRows = Datatable.Select("CustomerFullName = '" + strCustomerToPost.ToString().Toupper() + "'");
Is there any property to make Select ( ucase(CustomerFullName) =....?
Or there is any other way to make all the column upper in a data table when you match the data...?
Please help...
Regards
Pankaj Joshi
If you want to shape your dreams into reality, please wake-up...
|
|
|
|
|
I've never used it but I believe you need UPPER(CustomerFullName)
|
|
|
|
|
Use the database for that query and not the dataset. Some databases have the option to enable case sensitive or insensitive searches. Also the ability to do the choice in the where clause.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
I have created a C# application with a main window which does not have a frame and - consequently - no system menu (no menu at all). I managed to have a taskbar button displayed which shows the application's main window title.
The bad part is that this taskbar button does not show any menu. To my knowlegde, that is because the main window does not have a system menu. But -- is there a way to create a popup menu in the taskbar button?
Thanks in advance.
Paul
|
|
|
|
|
|
iam having an aspx page with a text box and a button(link)for search.if i click that button a pop up window (which is supposed to be another aspx page which is made like a pop up window)will open which consists of a textbox and find button.when i type any text in that textbox and click that find button ,i want that value to be displayed in the previous page textbox.
can anyone help me in this regard.
pintoo
|
|
|
|
|
Hi,
How is it possible to populate a .csv file with the data inside a DataGridView?
Thanks
|
|
|
|
|
Open .csv for writing
loop for each row
loop for each column-1
write column value+"," to .csv file
write last column value +"\r\n"
close file
enjoy
Have a nice time!
Regards,
Adeel
Do rate the reply, if it helps or even if it doesnot, because it helps the members to know, what solved the issue. Thanks.
|
|
|
|
|
Will this be as same as excel where each datagrid column goes into one cssv column?
Thanks
|
|
|
|