|
Thankz Lot...
i used,
s_Mutex.Close() after Application.Run(.... statement
Grate!!
|
|
|
|
|
Hi all,
im fairly new at c#...im trying to bind data from sql to a label in my datagrid using the labels databindings...wen i add my code:
Text='<%# Databinder.eval(Container.DataItem,"Date") %>'
the app breaks and says: The name 'Databinder' does not exist in the current context...
How do i correct the code to perform this action?
living life on the flip side
|
|
|
|
|
Hi,
If you want to learn how to connect to a database from c#, why don´t you watch microsoft Absolute beginners Lessons videos (by Bob Tubor).
Download the SQL Server and C# lessons.
It´s free to download.
|
|
|
|
|
hi,
Iam working on windows application (website builder) iam working on webBrowser control ,
I want to add css file(cascading style sheet)for the Html page ,
I Want to make a refrence to css file at run time Please Help me how to do it.
Wafy
|
|
|
|
|
|
stancrm wrote: you cannot add CSS to internet explorer.
You can. The fact that you do not know how, does not make this impossible.
|
|
|
|
|
Hi,
you can get and set the WebBrowser.DocumentText property, hence modify the page any way you like.
you probably will be interested in the Navigating, Navigated and DocumentCompleted events.
|
|
|
|
|
Hi,
My application can now check for all the installed windows service on the local machine.
How can I do this for other machines on the network?
For example, from my machine where the application starts, I would also like to check for the windows service names on OTHER machines.
Please note that I do know how to loop through the names of the windows services but not sure how to connect to other machines to do this.
Thanks
|
|
|
|
|
The System.ServiceProcess.ServiceController.GetServices function is overloaded. Pass the computer name as one of the arguments
|
|
|
|
|
|
add reference : System.ServiceProcess
then call :
ServiceController[] sc = ServiceController.GetServices("MACHINE2");
|
|
|
|
|
I want to learn c# completely.
can anybody suggest me good website for c#?
|
|
|
|
|
|
1. c# is not a good title for your post, every post in this forum is about c#.
2. If you want to learn c# I suggest you read a c# book first. Such as this[^] or this[^]
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
|
Hi,
I think that you should first download the absoulte beginners lessons (by bob tubor)in microsoft site. Download the c#, sql server lessons (at least).
Then pratice. If you became stuck in something ask here or search the articles.
Good Luck!!!
|
|
|
|
|
I was thinking we should always deploy app.config file. But accidently I forgot to supply it, but still applications works well. So isn't it necessary to supply app.config file ? I am confused. Any help ?
|
|
|
|
|
app.config contains application configuration used by your program.
If you don't use any config then you don't need it.
Lots of classes in the framework can use app.config to configure their behaviour (Like trace listners and stuff like that). The enterprise library uses app.config heavily to configure how it works. Any application settings using a settings class are stored in the app.config file.
Without the file, most stuff will just reset to default behaviour. Look in it, check what settings you have in their, maybe you don't have any that are actually used.
Simon
|
|
|
|
|
I have 2 applications developed in .net. When I install both these applications in a single system a complete set of dlls are created each in corresponding application folders.
Is it possible to put these dlls in a common folder and make the applications reference them from the same common folder ?
Can this be done using any options in the .net msi project ?
Thanks in advance for any replies & suggestions......
|
|
|
|
|
If same assembly is used in multiple projects, you can deploy it in GAC.
|
|
|
|
|
Hi,
i'm trying to Display a Byte with Bits String Like
byte Temp = 55;
so the displayed string will be : "01010101"
is there a sumple and quick way to do this
THANKS
Have Fun
Never forget it
|
|
|
|
|
Convert.ToString(Temp, 2)
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
THANKS
Have Fun
Never forget it
|
|
|
|
|
Aha! Now I know something new too
Thanks.
|
|
|
|
|
That gives "110111", not "01010101".
|
|
|
|