在工作中,有些帳戶的密碼總是定期改變的,例如一些公用的測試帳號。例如SQL Server上的一些帳戶,前提是你已經安裝了SQL Server,並且帳戶是這個SQL Server的合法使用者 1. run cmd2. type command: runas /?3. Click Enter key4. go bottom and see the Exampless5. Clict the Start button6. Find the SQL Server Management Studio7.
在測試過過程,我總是遇到一些問題,需要驗證是否是由於不通賬戶啟動應用程式導致的錯誤,或者目前使用者沒有許可權去啟動應用程式,不得不切換其他使用者,如果重啟登陸,過於麻煩。使用 'Runas' command. 1. Launch the command with “run as Administrator”2. type command “runas /user:domain/username mmc”3. Enter4. MMC dialog pop up5. Select the
How to combin 2 dictionary object to single one: using System.Linq;using System.Linq.Expressions; Dictionary<string, object> d1 = new Dictionary<string, object>(); d1.Add("a", new object()); d1.Add("b", new object()
An example t paging result using stored procudure. USE [LBY]GO/****** Object: StoredProcedure [dbo].[UserPaged] Script Date: 07/15/2011 10:21:37 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOCREATE PROCEDURE [dbo].[UserPaged] ( @PageIndex
You can get moe info about Socket class from MSDN http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.aspx or from baiuhttp://baike.baidu.com/view/13870.htmHow to use udpclient:http://msdn.microsoft.com/en-us/library/system.net.sockets.