Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 623 Bytes

README.md

File metadata and controls

32 lines (28 loc) · 623 Bytes

OnlineDemo

You can see online users of your system live through this code

** SQL server And .Net 7 **

script :

CREATE DATABASE OnlineDemoDatabase GO USE OnlineDemoDatabase GO CREATE TABLE [User] ( UserId INT IDENTITY PRIMARY KEY, Username NVARCHAR(50) NOT NULL UNIQUE, [Password] NVARCHAR(50) NOT NULL, LastSeen DATETIME NOT NULL DEFAULT GETDATE() ) GO INSERT User VALUES(N'ramezani',N'0000') GO INSERT User VALUES(N'moumivand',N'0000') GO INSERT User VALUES(N'azimi',N'0000') GO INSERT User VALUES(N'abbasi',N'0000') GO