Posts

How to use Props in React

  React props are a source of confusion for all new React users because they are never referenced in any other frameworks and are hardly ever explained on their own. After mastering React's JSX syntax, they are among the first React skills you will learn. Basically, data is passed from component to component in React by means of props. Through a series of detailed React props examples, I hope to clarify the concept of props in React in this article. Example of REACT Component Props When learning about React, you often start out with the JSX syntax for rendering things to the browser. In essence, JSX combines JavaScript with HTML to achieve the best of both worlds: import * as React from 'react' ; const App = ( ) => { const greeting = 'Welcome to React' ; return ( < div > < h1 > { greeting } </ h1 > </ div > ) ; } export default App ; import * as React from 'react' ; const App = ( ) =...

Lucky APPs Apps Privacy Policy

Lucky APPs Privacy Policy HIS PRIVACY POLICY EXPLAINS WHAT INFORMATION ABOUT YOU IS COLLECTED, HOW THIS IS DONE, WHAT IS IT USED FOR, AND TO WHOM Lucky APPs Apps (“Lucky APPs”) DISCLOSES THIS INFORMATION AND UNDER WHAT CIRCUMSTANCES. Please take a moment to familiarize yourself with our privacy practices and let us know if you have any questions. PERSONAL INFORMATION Personal information is data that can be used to uniquely identify or contact a single person. We DO NOT collect, store or use any personal information while you visit, download or upgrade our website or our products, excepting the personal information that you submit to us when you create a user account, send an error report, contact us by e-mail or participate in online surveys and other activities. How We Use Your Personal Information Only for the following purposes that we may use personal information submitted by you: Help us develop, deliver, and improve our products and services and supply higher quality ser...

How to display data on a page using the GridView method of ASP.NET

Image
Introduction This blog post will explain how to display data from a database using GridView. I used the Northwind database, which you can download from this link. https://github.com/microsoft/sql-server-samples/tree/master/samples/databases Before you begin To run this sample, you need a tool that can run Transact-SQL scripts. You can run the scripts in the following tools: SQL Server Management Studio (SSMS) . To download SSMS, go to  Download SQL Server Management Studio (SSMS). QL Server Data Tools (SSDT)  or Visual Studio. To download SSDT, or to enable its features in Visual Studio, go to  Download and install SQL Server Data Tools (SSDT) for Visual Studio . Run the scripts in SSMS Open SSMS. Connect to the target SQL Server. Open the script in a new query window. Run the script. Run the scripts in SSDT or Visual Studio Open SSDT or Visual Studio. Open the SQL Server Object Explorer. Connect to the target SQL Server. Open the script in a new query window. Run the scr...

ASP.NET MVC 5 With React.NET And ClearScript V8 Engine

Image
In this article we are going to create an Asp.Net MVC 5 application with React.Net lib and V8 engine to render the react component on server side rendering approach, so let’s get started.   Here I’m not going to give much explanation about react.js as there are plenty of articles are available on internet, you can go through those articles.   Below are the libraries we are going to use in this article, react.js ReactJS.NET (MVC 4 and 5) ReactJS.NET – ClearScript V8 Step 1   Create a new Empty ASP.NET MVC Project.       Step 2   Create one Controller in Controller folder named HomeController and click on Add as this will create a controller.       Step 3   Go to Index method and create one view called Index, this will create a master page and some required JavaScript files along with views.       Step 4   Right click on Project and go to Nuget Package Manager and search for ReactJs.Net and install the React.Web.MV...