Responsive Image in div
img {
width: 100%;
height: 300px;
object-fit: cover;
object-position: bottom;
}
Responsive Image in div
img {
width: 100%;
height: 300px;
object-fit: cover;
object-position: bottom;
}
//Scroll Up and Scroll Down In JavaScript
Register library in asp.net or import library in asp.net or using library in asp.net:-
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Data" %>
<%
Dim dt As New DataTable
If (IsNothing(Session("bill_data")) = False) Then
dt = Session("bill_data")
End If
Dim pg = Request.QueryString("pg")
%>
1. Update specific column in linq
using (var context = new db_context())
{
d.Srno = data.Srno;
context.Configuration.ValidateOnSaveEnabled = false;
context.Attendances.Attach(d);
System.Data.Entity.Infrastructure.DbEntityEntry<Attendance> entry = context.Entry(d);
d.Edate = date;
entry.Property(e => e.Edate).IsModified = true;
await context.SaveChangesAsync();
}
(Expression<Func<T, bool>> filter)