|
erdinc27 wrote: i want to show 4 or 5 rows in a single cell
Add 5 rows, and owner-draw your rows. Don't paint the borders on the "inner" rows, and you're set.
I are Troll
|
|
|
|
|
hey friend..thanks for the reply..i tried but i couldnt find an owner-draw in properties or where i should set it ?
vemedya.com
|
|
|
|
|
It's not a property, it's a technique. It's described here[^]
I are Troll
|
|
|
|
|
hey friend..i tried that codes and as i understand here some columns are hidden only or i am wrong ?
vemedya.com
modified on Thursday, December 23, 2010 3:50 AM
|
|
|
|
|
erdinc27 wrote: hey friend..i tried that codes and as i understand here some columns are hidden only or i am wrong ?
Nope, you're right. You'd hide the borders of the cells that you want to merge
I are Troll
|
|
|
|
|
I think I've been through most of the info on this site and msdn. Can someone point me to a good reference for using the ToolStripControlHost to host controls in a ToolStrip?
When I use ToolStripControlHost to host lets say a numeric updown control I don't get the attributes I expect. For example I get a text attribute instead of the value attribute?
tia
rafone
Statistics are like bikini's...
What they reveal is astonishing ...
But what they hide is vital ...
modified on Tuesday, December 21, 2010 10:49 AM
|
|
|
|
|
Maybe this[^] can help.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
|
|
|
|
|
|
sory frinde
if i load any image from picturbox and convert this image to grayscal image
why i can draw the histogram after convert sub image to grayscal image .
|
|
|
|
|
This is the third time that you have asked the same question.
You have been given lines of research in answer to your previous questions and yet you show no evidence of having done any work for yourself.
Please stop!
It is very doubtful that anyone will give you any code. Do your own research.
[Edit]
BTW: If you are going to ask questions on this site then learn to use more descriptive subject lines. "tell me" does not give anyone a clue what you want.
[/Edit]
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Why? Because you seem to feel the need to!
|
|
|
|
|
I'll tell you it's been a tough couple of weeks. No actually I wont tell you because you wouldn't believe it even if I told you.
|
|
|
|
|
HI,
I want print selected row in datagridview where I am bind DataGridview using Arraylist as a datasource.
|
|
|
|
|
Sounds relatively straightforward. Are you having particular problems trying to implement that?
|
|
|
|
|
I have a CLR trigger that calls a stored procedure asynchronously and I'm trying to use the context connection from inside the stored procedures body but it fails to interact with the database. However, when I call the stored procedure in a normal fashion interactions using the context connection are successful.
Inside the stored procedure, I'm trying something like...
using (SqlConnection conn = new SqlConnection("context connection=true")) {
// stuff
}
Is using the context connection a no-no when a CLR procedure is called asyncronously?
|
|
|
|
|
|
I'm not sure what you are saying.
What I posted is what I am trying, which works for synchronous calls but not asynchronous calls. I'm already using the "context connection" string.
|
|
|
|
|
Did you even read the documentation?
"Asynchronous command execution against internal servers is not supported"
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Actually I came across that item but it is in the "Restrictions on Regular Connections" and not in the "Restrictions on Context Connections" section on the same page so I must argue that such a plain statement leaves some questions about the context.
Is that what you were trying to say in your earlier post as I can't quite see the link.
|
|
|
|
|
Using VS 2008.
I have a ToolStripDropDown with a ToolStripControlHost containing a ComboBox (plus other controls).
I have a handler attached to the ToolStripDropDown Closing event.
The ComboBox has 8 items.
When the list is dropped down the lower 5 items protrude beneath the ToolStripDropDown
and overlay the form beneath.
(At this point ToolStripDropDown.AutoClose is set to True.I need it set to this at this point)
When any of these lower 5 items are selected in the list, the ToolStripDropDown Closing event is fired
with ToolStripDropDownClosingEventArgs of ToolStripDropDownCloseReason.AppClicked.
If any of the top 3 items ( the items of the list within the bounds of the ToolStripDropDown )are selected,
it works as expected ie. no Closing event.
If the Closing event handler is disabled temporarily, any of the 8 items can be selected.
I'm guessing that when the portion which is overlaying the form is clicked,
the dropdown list disappears and somehow the click is seen on the form?
Is this normal behaviour? If so is there a way to work around?
Thanks for any help.....
|
|
|
|
|
i wanted to re size the form dynamically and smoothly, i got it done , but now come across a problem, when the resizing is happening
it shows the background in black , but i want to change that color to normal control color. so any idea how to do this..
thanx in advance
|
|
|
|
|
How are you resizing the form? Can you show some code of what you are doing when the user resizes form? What are you using onPaintBackground for?
Life goes very fast. Tomorrow, today is already yesterday.
modified on Monday, December 20, 2010 8:53 AM
|
|
|
|
|
Hello,
I'll be glad to get some help with this XML Schema
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfElems xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Element Attribute1="1">
<ChildElement Attribute2="1">
<elem1> blablabla </elem1>
<elem2> blablabla </elem2>
<elem3> blablabla </elem3>
<elem4> blablabla </elem4>
</ChildElement>
<ChildElement Attribute2="2">
<elem1> blablabla </elem1>
<elem2> blablabla </elem2>
<elem3> blablabla </elem3>
<elem4> blablabla </elem4>
</ChildElement>
</Element>
<Element Attribute1="2">
<ChildElement Attribute2="1">
<elem1> blablabla </elem1>
<elem2> blablabla </elem2>
<elem3> blablabla </elem3>
<elem4> blablabla </elem4>
</ChildElement>
<ChildElement Attribute2="2">
<elem1> blablabla </elem1>
<elem2> blablabla </elem2>
<elem3> blablabla </elem3>
<elem4> blablabla </elem4>
</ChildElement>
</Element>
.
.
.
.
<Element Attribute1="n">
<ChildElement Attribute2="1">
<elem1> blablabla </elem1>
<elem2> blablabla </elem2>
<elem3> blablabla </elem3>
<elem4> blablabla </elem4>
</ChildElement>
<ChildElement Attribute2="2">
<elem1> blablabla </elem1>
<elem2> blablabla </elem2>
<elem3> blablabla </elem3>
<elem4> blablabla </elem4>
</ChildElement>
</Element>
</ArrayOfElems>
i have here two different collection... how to handle them ?
Thanks
|
|
|
|
|
It would be better to post this question in the XML/XSL forum.
|
|
|
|
|
ok, i'll try there
thanks
|
|
|
|