Posts

ASP.NET Hindi Video Tutorials

Image
यदि आप ASP.NET WEBFORM सीखना चाहते हैं तो आप यह प्लेलिस्ट का उपयोग कर सकते हैं | इस प्लेलिस्ट के अन्दर आपको शुरुवात से बताया जायेगा की आपको कैसे विसुअलस्टूडियो को ओपन करना कैसे उसके विंडोज जैसे की सलूशन एक्स्प्लोरर , टूलबॉक्स, सरवर एक्स्प्लोरर इत्यादि  को कैसे काम में लेना हैं |

इस प्लेलिस्ट के अन्दर हर उस कण्ट्रोल का विडियो बनाया गया हैं जो की टूलबॉक्स में उपस्थित हैं | जैसे की ड्रापडाउनलिस्ट, लिस्त्बोक्स, चेकबॉक्स, रेडियोबटन इतियादी |

इस प्लेलिस्ट में आपको बताया जायेगा की फ्रंट एंड एप्लीकेशन को बेकएंड एप्लीकेशन से कैसे जोड़ा जाता हैं कहने का मतलब हैं  डाटाबेस की कनेक्टिविटी कैसे की जाती हैं |

Dynamic  एप्लीकेशन पर कैसे StyleSheet और कैसे थीम को कनेक्ट किया जाता हैं |  Entity Framework को पूरा हिंदी में सिख सकते हैं |  LINQ को हिंदी में सिख सकते हैं |  Validation कण्ट्रोल क्या होते हैं कैसे उनका उपयोग किया जाता हैं सब कुछ सिर्फ इस एक प्लेलिस्ट के माध्यम से सिख सकते हैं |

How to create Database in ASP.NET CORE 1.1 using model first

Image
Technology changes, code optimization, newly design asp.net core 1.1. This article i wrote for you who want to make database in asp.net core 1.1, its a very simple technique provide by Microsoft developers. Thanks guys. Let start how to do this,  you can follow these steps to design database in it.

Step-1: Create a new project in ASP.NET CORE using Visual Studio 2017 by the using following picture


Step-2: In Model folder, add a new Student.cs class. Add some properties in it. But make sure , one primary key have in it.
Step-3: Similarly in previous make, a new DataContext class for communicating table.

Check this video for full details


JQuery Notification bar on top of the page

Image
JQuery Notification bar on Top of the web page. This is the new thing in the mind i.e when we click on hyperlink then show a division with some message on top of the web page. The logic behind the thing is too much simple, In JQuery we have two method slideUp( ) and slideDown( ) , which are used for animation.  In this article , i have used both.
Application of the article:If you want to give special notice on website then you can use it.Use it in Current News Section.
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>JQuery: Notification bar Example </title>
    <script src="Scripts/jquery-1.10.2.js"></script>
    <script>
        $(function () {
            $("#Button1").click(function () {
                $("#NotificationDiv").slideUp('slow');
            });


            $("#ShowNotificationBar").click(function () {
                $("#Notifica…

jQuery Autocomplete List appear onFocus TextBox

Image
In this example i will show you, How to show array list when we focus on TextBox. I mean to say that array list contain users name and its show when we focus on TextBox. Here we have a simple example which is contain list of users name, also i have a autocomplete function in Script library . I have a video , you can check for implementation as well as output.


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link rel="stylesheet" href="//code.jquery.com/ui/1.12.0-rc.2/themes/base/jquery-ui.css">
    <script src="//code.jquery.com/jquery-1.11.3.js"></script>
    <script src="//code.jquery.com/ui/1.12.0-rc.2/jquery-ui.min.js"></script>
    <script>
        $(function () {
            var users = ['jacob lefore', 'Bill', 'smith wick', 'ammey', 'rodkils', 'BillSmith'];
            $(&#…

How to use FileUpload Control in ASP.NET

Image
Introduction
The FileUpload control displays a text box control and a browse button that enable users to browse a file from the local or remote machine to upload it on the Web server. You can upload a file on the Web Server by specifying the full path of the file to be uploaded (for example D:\Myfiles\Test.txt) in the textbox of this control . Alternatively , you can select the file by clicking the browse button , and then locating it in the Choose File dialog box.

Top Related article
Fileupload control enable disable programmatically in ASP.NETProgrammatically change border color of fileupload control in ASP.NETProgrammatically change background color of fileupload control in ASP.NETHow to validate fileupload control in asp.net also choose selected formatHow to insert image into database using file upload control

Public Properties of the FileUpload Class
FileBytes : Obtains an array of the bytes in a file that is specified by using a FileUpload control

FileContent : Obtains a Stream objec…

ASP.NET Searching Data using SqlDataSource Control

Image
In this article, i will show you, How to search data from database table using SqlDataSource control. Visual Studio SqlDataSource control have inbuilt many functionality to make dynamic application. By using SqlDataSource control you can do different types of functionality like Sorting, Searching, Insert, Update, Delete data. In this article i will show you an example of searching/filtering data from database table. So first of Design a Database table using Sql Server Explorer. Now, you can take  three tuples in it. I have a Database table schema, you can check.
Search Data From Database table using SqlDataSource Control:

1. First to add one TextBox, One Button and a GridView control in a page. 2. By using Show Smart tag you can configure your GridView Control with the database table using SqlDataSource control. 3. When you configure your SqlDataSource control please check the Where clause button. In it you can select Field name, which is used to searching. Operator is "=" a…

Save and Retrieve Image into database table in ASP.NET MVC

Image
According to my previous article, Which is written in web form. If you are a web form user then try this article. In this article i will show you, How to save image file into database table using ASP.NET MVC, also retrieve image from table to ASP.NET MVC Application. You know that image file saved in the form binary array. So, First to create a table, in which you can take varbinary(max) type field. I will give you an example of simple table.

CREATE TABLE [dbo].[Brand] (
    [BrandId]    INT             IDENTITY (1, 1) NOT NULL,
    [BrandImage] VARBINARY (MAX) NULL,
    PRIMARY KEY CLUSTERED ([BrandId] ASC)
);



Now, Add a EDMX file to prepare a DataContext as well as model. Now, open a HomeController.cs file to write the code for save file. In this file first to pass model in the view. Add a file control in the view file.




@using (Html.BeginForm("AddImage", "Home", FormMethod.Post, new {enctype="multipart/form-data"})) {     @Html.AntiForgeryToken()     &…