|
Hi All,
I am using Microsoft.VisualBasic.PowerPacks 3.0 DataRepeater Control in my window application. There is one Combobox in the ItemTemplate of the DataRepeater. Combobox binds in the "ItemCloned" event of the DataRepeater. Now there is a button outside the datarepeater. Onclick of that button I am retrieving the selected value of the Combobox. But it always come blank. Even the Combobox items are also counted as 0.
Is there anything I am doing wrong ?
Asp.Net version : 3.5
language : c#
Regards
|
|
|
|
|
That's Aragon wrote: Is there anything I am doing wrong ?
Probably
Bob
Ashfield Consultants Ltd
|
|
|
|
|
hi
1)How can i create a borderless form programitcally(C#)?
2)How to give Round Corner to them.?
|
|
|
|
|
1) Form1.FormBorderStyle = FormBorderStyle.None;
2) http://vckicks.110mb.com/custom_shape_form_transperancy.html
-Dave.
------------------------------------
http://www.componentone.com
------------------------------------
|
|
|
|
|
In the form load event, you can change the region of the form.
The Region object can be created from the GraphicPath object.
To set the Window form border invisible, you can set FormBorderStyle to None.
-ARETE-
|
|
|
|
|
my application id running on windows 2008 server.
i have some physical ip address and virtual ip address.
i want to get virtual ip address by using c#.
plz help me its an urgent.
|
|
|
|
|
Member 4732425 wrote: plz help me its an urgent
That's not how it works around here. People will offer help if they have the time to.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Hi All.
in Vb.NET there is a function called IIF..how to do function IIF in SQL 2005.i want use IIF function from VB.net to sql 2005.
thanhks for advance
if you cound not try then
msgbox("you will lose")
else
msgbox("you can change yourself")
end if
|
|
|
|
|
Wrong forum, you missed on both vounts, this is neither a VB nor a windows form questions. It is a SQL questions.
And the answer is - there is no equivalent TSQL function to IIF. You would have to use nested if statements.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Wrong forum, and VB.NET does not have IIF, AFAIK
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Are you sure VB.Net doesnt have IIF??
Thas weird, cause ive been using it lately, but i guess it must be my VS version
Alexei Rodriguez
|
|
|
|
|
It's there in VS2008. Learned something new today. I always thought it was just a VBA thing
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Its good to know it is in VS2008 too since its a great function
Too bad VB doesnt have ?? as c#
IIF is available in VS2005 too and maybe since 2003
Alexei Rodriguez
|
|
|
|
|
IIF has always been available to VB. The problem is that it is a function not an operator, which of course makes it nearly worthless. Starting with VS2008/VB9, the If operator was added that can be used to do the same thing as both the ?: and ?? operators depending on the number of arguments you pass.
condition ? truevalue : falsevalue becomes If(condition, truevalue, falsevalue)
condition ?? nullvalue becomes If(condition, nullvalue)
|
|
|
|
|
Good to know
Thanks
Alexei Rodriguez
|
|
|
|
|
Use CASE statements in SQL to simulate IFF
SELECT Category =
CASE type
WHEN 'popular_comp' THEN 'Popular Computing'
WHEN 'mod_cook' THEN 'Modern Cooking'
WHEN 'business' THEN 'Business'
WHEN 'psychology' THEN 'Psychology'
WHEN 'trad_cook' THEN 'Traditional Cooking'
ELSE 'Not yet categorized'
END,
price AS Price
FROM titles
Alexei Rodriguez
|
|
|
|
|
thanks your suggetion.Thanks so much
if you cound not try then
msgbox("you will lose")
else
msgbox("you can change yourself")
end if
|
|
|
|
|
Hi all!
I'm looking for a DataGrid likes Delphi's TdbCtrlGrid.
Delphi's TdbCtrlGrid works as a Panel, on what I can place any component where I want.
Thanks
|
|
|
|
|
Hi i'm searching for the same Control in WPF.
|
|
|
|
|
Hi all. I'm working on a project where users enter scripts in a richTextBox and syntax-highlighting would help. Can anyone recommend a windows forms control or extender that has this functionality? I've googled and found some, but would like a recommendation from someone who has used one and has had a good experience with it.
thanks --
--mike
|
|
|
|
|
Scintilla.net is a good component for that purpose. In addition it is free.(I am using it in an internal application). The only disadvantage is its learning curve.
|
|
|
|
|
Hi all. I'm a noob and i have a question to you all.
I want to present a datagridview with more then one Header Row and with the first column row
merged like this:
-----------------------------------------
|...............Week......................| -> Week
-----------------------------------------
|..M..|..T..|..W..|..T..|..F..|..S..|..S..| -> Each Week Day
------------------------------------------
Is there a way to do that? I didn't want to use a comercial component
Thanks in advance.
|
|
|
|
|
|
My program is simple. Grab an object and move it by using "regions" as drop points. I'm using transparent borderless forms added to ownedforms(), position them on the screen where my objects can be dropped. I've tried 3 appoaches to this task.
1. tried using drag and drop to drop the object onto the forms and it works great unless you release the mouse somewhere other than one of the floating forms, then the program hangs waiting for a "drop" because I can't determine that the mouse button has been released to cancel the move and therefore can't remove the floating forms and continue.
2. tried using control.mouseposition to track screen movement and pointtoclient when appropriate for placement inside of a floating form. This doesn't work because as long as the mouse button is held down the ownedforms() floating above the main form won't see the mouseEnter, mouseMove or mouseLeave events because capture is stuck in the control I started this action on.
3. Tried number 2 with getChildAtPoint() to try and figure out when I'm over the ownedforms() floating over the main form but whether I use
findform for "f" then f.getchildatpoint() or this.getchildatpoint() or any other control call I can only get single items "children" that are actually part of the main form's control collection. Any answers to any of these ideas would be helpfull.
|
|
|
|
|
In visual c++ 2008 when you create a windows forms application it creates a file called Form1.h
What type of file is that and how do you write a program around that to use the values that you input them, use them and output the values of an algebra question for example.
I am completely new to windows forms so if you could show an example it would be great.
thanks
ps if there are any good books that tell you how to program with windows forms that would be great
|
|
|
|