ng build --configura=produc --prog=fa;se
component and directive diffrnc
provide ,userclase
provde ,useexisting:looger
routermodule.forroot
paramMap and queryparamap on the activaedrout class
ng build --configura=produc --prog=fa;se
component and directive diffrnc
provide ,userclase
provde ,useexisting:looger
routermodule.forroot
paramMap and queryparamap on the activaedrout class
dont use
this.istrue=!this.istrue
some cases it will update wrong way..
this.istrue=true; ///correct way
CREATE PROCEDURE [dbo].[USP_AddCategory]
@ID INT,
@Category_ID nvarchar(50) = NULL,
@Category_Desc nvarchar(255) = NULL,
@UpdatedOn datetime = NULL,
@UpdatedBy nvarchar(150) = NULL,
@IsActive bit = NULL
AS
BEGIN
SET NOCOUNT ON;
BEGIN TRANSACTION [InsertCategoryDetails]
BEGIN TRY
--DECLARE @ID INT
IF NOT EXISTS (SELECT * FROM tbl_Category WHERE Category_ID = @Category_ID)
BEGIN
Insert Into tbl_Category (
Category_ID, Category_Desc, UpdatedOn, UpdatedBy, IsActive
)
Values (
@Category_ID, @Category_Desc, IsNull(@UpdatedOn,GetDate()), @UpdatedBy, IsNull(@IsActive,1)
)
SET @ID = (SELECT SCOPE_IDENTITY())
SELECT @ID AS ID, 'true' AS [Status], 'Category created successful' as [Message]
END
ELSE
SELECT '0' AS ID, 'false' AS [Status], 'The category is already existed' as [Message]
COMMIT TRANSACTION [InsertCategoryDetails]
END TRY
BEGIN CATCH
ROLLBACK TRANSACTION [InsertCategoryDetails]
SELECT '0' AS ID, 'false' AS [Status], 'Failed to save' as [Message]
INSERT INTO tbl_Errors(ErrorNumber,ErrorState,ErrorSeverity,ErrorLine,ErrorProcedure,ErrorMessage,ErrorDateTime )
SELECT
ERROR_NUMBER() AS ErrorNumber, ERROR_STATE() AS ErrorState, ERROR_SEVERITY() AS ErrorSeverity
,ERROR_LINE() AS ErrorLine, ERROR_PROCEDURE() AS ErrorProcedure, ERROR_MESSAGE() AS ErrorMessage
,GETDATE()
END CATCH
END
https://preadmin.dreamguystech.com/html/pos/template/index.html
https://preadmin.dreamguystech.com/html/crypto/template1/buy-crypto.html
https://themewagon.com/themes/template-collection-2022-one-hundred-free-html5-templates-in-one-bundle/
I'll create a car pooling app with real-time vehicle tracking, pickup/drop time estimates, and a list of onboard users. Since we don...