button.Attributes["class"] = your_class_name
Nikhil Kothari
-Original Message-
From: Mark A. Gregory [mailto:[EMAIL PROTECTED]]
Sent: Sat 4/20/2002 9:18 PM
To: [EMAIL PROTECTED]
Cc:
Subject: [DOTNET] CssClass for HtmlButton?
I have never tried to make an extended control using the user control first.
I have made one by just creating a simple code file and setting up my own
class. This code works fine:
>
[ToolboxItem(true)]
public class VrTextBox : TextBox
{
private Boolean _selectOnEntry = true;
We are using the Data
Access Application blocks of .Net for getting data
from Database. This has a method for retrieving a
dataset . We have a custom class which inherits from a
DataSet and builds its own DataTables .We are trying
to use the ExecuteDataSet method of the data Access
Application b
I want to set styles in my StyleSheet for my HtmlButtons.
I don't want them all to be the same. How do I apply
CSSClass to a HtmlButton?
Cheers
Mark
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
- Original Message -
From: "Thomas Tomiczek" <[EMAIL PROTECTED]>
Sent: Friday, April 19, 2002 09:49
Subject: Re: Finding out the IP-Address of a PC
>Ok, lets turn this around.
>You have computer running an internal NIC, no DNS configured, and an
>external one - from your provider. You l
- Original Message -
From: "John Sands" <[EMAIL PROTECTED]>
Sent: Friday, April 19, 2002 11:06
Subject: Re: Can someone recommend an ADO.NET book
> "now I just try to avoid the 'red' part of the bookstore shelves!"
>
> I agree; but there are exceptions. I have Michael Kay's XSLT book on
MyTypedDS dataSet = new MyTypedDS();
dataSet.ReadXml("MyUrl.xml");
Thanks,
Shawn Wildermuth
[EMAIL PROTECTED]
> -Original Message-
> From: dotnet discussion [mailto:[EMAIL PROTECTED]]
> On Behalf Of David B. Bitton
> Sent: Saturday, April 20, 2002 8:16 PM
> To: [EMAIL PROTECTED]
> Subje
See http://staff.develop.com/woodring/dotnet/#ThreadWaitHandle for a
complete sample that's cleaned up a bit and does the handle duplication I
was referring to earlier. Be sure to read the caveats described in the
comments if you want to actually use the ThreadWaitHandle class in your
code...
-M
How do I deserialize XML into a Strongly Typed DataSet that I created using
the an XSD schema desfcribing the XML structure. The DataSet derived class
was created with xsd.exe.
I know how to do this with a DataReader from a DB, but not XML.
--
David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.c
Alright, the bug was fixed a couple of days ago. I think we're
sufficiently OT enough to kill this thread. If anyone wants to comment
on my photo section, please email me separately. In the near future, I
will be releasing the code that does all of the image processing for it
though, if anyone is
It works fine for me.
Mike Johnston
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of
Reggie Burnett
Sent: Thursday, April 18, 2002 10:05 AM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] To Frame or Not to Frame
Nice site. I especially like the javascript
I've used an implementation taken from an MSDN article "Compound Win32
Synchronization Objects", and it works great. It uses mutexes and events,
which all are multi-process capable. You'll have to port it to .NET using
P/Invoke or something, because it's writen for C programmers, but it should
by
I am trying to create a basic textbox control similar to the Masked Edit
Control that was in VB. I create a new c# windows application, add a new
user control called "TestUserControl" and then I go into the code and
change it to inherit from System.Windows.Forms.TextBox instead of
UserControl.
It
Nice site. I especially like the javascript error dialog that pops up when
I click on a picture (IE 6.0). How did you emulate that? :-D
Reggie
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of
Brian G. Vallelunga
Sent: Thursday, April 18, 2002 10:24 AM
By collections editor I mean the dialog that pops up, for example, when you
are editing the tabs of a tab Control. You get this on any User Control
that where you have a property that returns a Collection of something.
This really touches on the absence of template types in C#. To get strongly
Larry, take the following example...
public long Divide( long x)
{
long i = 0;
try
{
i = x / i;
}
finally;
{
i = 1;
}
return i;
}
The way this code is written you are guarenteed to throw an exeption in the
try block. If I do, what does the caller see? Doe
Hi.
System.Threader.ReaderWriterLock is only for inprocess sync.
Can anyone think of such solution for more than one process?
Thanks,
Saar
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
And tese were not realyl convincing IMHO - as I answered.
I am actualyl thinking the best way would go into the registry and find
the deposited IP addresses there, or?
Regards
Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)
-Original Message-
From: Christian Weyer [mai
I am trying to use Assembly.LoadFrom to load an assembly from a remote
machine using a URL. I pass the appropriate evidence and the assembly is
loaded fine. I am able to create objects and call methods at runtimeif
the methods take no parameters or the parameters are .NET data types.
What do
I forgot to mention that the code works as-is without doing anything where
the TODO comment is in the code I posted. Since I just whipped this up, I
left a note to the reader that you'd probably want to do a proper
DuplicateHandle to bump up the ref count on the underlying thread handle
once you'
I did a little poking around in the debugger and came up with some "working
code" that you might want to take and run with. Obviously, solutions like
this are highly coupled to the current build of the runtime, so always
remember that you get what you pay for; and that this is free code :-)
The
21 matches
Mail list logo