Posts

DATA CONTROL ( Gridview , Repeater , Formview , DataList , Detailsview , Listview )

  GRIDVIEW SOURCE CODE :      <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"              Height="279px" Width="610px">             <Columns>                 <asp:TemplateField HeaderText="roll">                 <ItemTemplate>                     <asp:TextBox ID="txtroll" runat="server" Text='<%# Eval("roll") %>'></asp:TextBox>                 </ItemTemplate>                 </asp:TemplateField>                 <asp:TemplateField HeaderText="name">                 <ItemTemplate>               ...

MVC ENTITY FRAMEWORK IN MVC CRUD

 ENTITY FRAMEWORK IN MVC CRUD 

MVC DATBASE INSERT DATA

 MVC  DATBASE INSERT DATA     

C# :- File Upload On Server And Delete Image in Image Folder

    File Upload On Server And Delete Image in Image Folder   Point :- This programe run only on the server not local Design :-   <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title> </head> <body>     <form id="form1" runat="server">     <div> &nbsp;&nbsp;&nbsp; &nbsp;         <asp:FileUpload ID="FileUpload1" runat="server" /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;         <asp:Button ID="Button1" runat="server" Height="33px" onclick="Button1_Click"              Text="Uplo...

Boostrap Design Form

  Registration Download Link   https://colorlib.com/wp/template/colorlib-regform-4/

C# !isPostback

 !ispostback break the page load event.

Q ) How to turn of validation when Binding Data (Turn Of validation when bind data )

  Q )   How to off validation when Find data in Asp.Net C# ?   Logic  :- Put this( CausesValidation ="False" ) attribute in the button with which you are binding the data     < asp : TextBox   ID ="txtlname"   runat ="server"   class ="input--style-5"   placeholder ="Last Name"   ></ asp : TextBox > < asp : RequiredFieldValidator   ID ="RequiredFieldValidator1"   runat ="server"   ErrorMessage ="Last Name Is Required"   ForeColor ="Red"   Font-Bold ="true"   ControlToValidate ="txtlname"></ asp : RequiredFieldValidator >                                        < asp : Button   CausesValidation ="False"   ID ="Button3"   runat ="server"   Text ="Find"   Height ="50px"   Wi...