|
I need to customize gridview control to display 2 rows in header.
Something like this
Name
First | Last
FN1 | LN1
FN2 | LN2
i.e.
"Name" is a group and "First" and "Last" are the columns under group "Name". These should be the header rows of my GridView.
this is very similar to Sheridan grid control for VB6.0.
Does any one know how to start with such a customization?
SPD
|
|
|
|
|
I have a lot of forms in my project and would like to better organize my code. I'd like to put certain forms in one name space and other forms in another namespace. How can I assign the namespace to a windows form?
|
|
|
|
|
weirbear wrote: How can I assign the namespace to a windows form?
Edit the code-behind and designer file.
|
|
|
|
|
I'm not sure what or where to put something in. I previously tried putting the namespace there but I just get a lot of errors. Can you show me an example?
|
|
|
|
|
weirbear wrote: I'm not sure what or where to put something in. I previously tried putting the namespace there but I just get a lot of errors.
I don't know where, I put it there? WTF does that mean?
If you generated the forms using Visual Studio they already have namespace declarations so just find them and change it to whatever you want. Look at the files listed in the Solution Explorer view.
led mike
|
|
|
|
|
What do the namespace declarations look like in the designer.vb file? I tried ...
Namespace MySpace
...
End Namespace
That's where I get a lot of errors.
|
|
|
|
|
weirbear wrote: What do the namespace declarations look like in the designer.vb file?
Sorry, I don't do VB. Perhaps you need to get a decent beginners book.
led mike
|
|
|
|
|
I got it. I needed to add the Namespace MySpace ... End Namespace declurations in both the designer and the form module. Simple enough to do but if you've never changed the name space for a form the documentation isn't that clear.
|
|
|
|
|
You can create separete project with Library Type,
All forms will be in separete namespace,
It is a good way if you want you these forms in another project.
Also you can create Directory in Visual Studio Solution and store forms
but it will not help you with namespaces
but dramaticaly increase time when you search forms.
|
|
|
|
|
hi,
sorry for second time writing actually i missing one line to tell you.
in my windows application users enters theirs dateofbirth details like 02/05/1983.and my problem is i want show the Date of births between specified month and date values.i am using sqlserver 2005 as backend.but in that todate function is not there.
'Select Convert(datetime ,'2002/01/01') '
this function gives us entire date
but i want retrive the DD/MM only from specified date.
in oracle we have to date('DD/MM','02/05/1983')
but in sql server it was not working
please help me in this problem.
thank you.
regards
|
|
|
|
|
Please don't start a new thread for a follow-up comment to your original question[^].
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
hi,
in my windows application users enters theirs dateofbirth details like 02/05/1983.and my problem is i want show the Date of births between specified month and date values.i am using sqlserver 2005 as backend.but in that todate function is not there.
please help me in this problem.
thank you.
regards
obalesu n
|
|
|
|
|
Use a stored procedure that accepts DateTime parameters and use this. You are using stored procedures aren't you?
|
|
|
|
|
thank u for reply
send clearly
thank you
|
|
|
|
|
obalesu wrote: send clearly
What? I did - you don't need much more than the reply I gave you before. You don't actually expect me to write your complete solution for you do you?
|
|
|
|
|
Now it's not only "send code", make sure it's clear and easy to understand, else they won't be able to copy and paste it...
|
|
|
|
|
|
darkelv wrote: else they won't be able to copy and paste it
Since when has understanding code had anything to do with copy/pasting it?
led mike
|
|
|
|
|
Pete O'Hanlon wrote: You don't actually expect me to write your complete solution for you do you?
Perhaps you could post him a filet-o-fish.
led mike
|
|
|
|
|
I like that one.
|
|
|
|
|
Yeah...
Biography SoftWare Developer In bsa city courier company in bangalore
Location India
Sadly, that explains a lot.
Here, give him this code:
;edoc nwo ruoy etirW .eerf rof pleh ew,krej edur a hcus eb t'noD
I'm going to become rich when I create a device that allows me to punch people in the face over the internet.
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
|
|
|
|
|
|
thank you .
this problem is solved by using stored procedure.thank you for giving idea
regards
hselabo.
|
|
|
|
|
Can we have gradient effect on form's back color?
Thanks
|
|
|
|
|
You can put a bitmap on the background, with a gradient.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|