开发者

how to display a table description in system tray using c#?

开发者 https://www.devze.com 2023-03-27 03:21 出处:网络
My table columns are ID(PK),Title,Description.and i want to display the details of the table row values in the system tray,so that when i click the system tray icon,it will displa开发者_JS百科y the Ti

My table columns are ID(PK),Title,Description.and i want to display the details of the table row values in the system tray,so that when i click the system tray icon,it will displa开发者_JS百科y the Title and Description of the table.

Please help me.


you can not (AFIK) do that in asp.net. asp.net code has NO access to local machine resources. this is a Good Thing (tm) because you don't want any old web site mucking about your computer. this is how viruses and trojans (oh my!) could be spread. Now, that said, you probably could create a browser plugin or active-x control sort of thing to make it work like you want.


Simply you can't gain access to the client machine in asp.net through legal way.For winforms: you can read this post :What's the proper way to minimize to tray a C# WinForms app?


I think enough things were said about ASP.NET application accessing local machine. For accessing system tray, please refer to following question and answer: working with system tray

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号