<!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>
<style type="text/css">
#divfa a{ font-size:20px; font-weight:bold; text-decoration:none}
.style1
{
width: 100%;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div id="div1" style="width:500px; height:400px;">
<p>我国拟规定醉驾伤人保险公司要赔偿
2012-03-22 07:43 来源:人民网
昨天上午,最高人民法院在官网发布《关于审理道路交通事故损害赔偿案件适用法律若干问题的解释(征求意见稿)》。意见稿针对实践中的改装车发生交通事故保险公司是否理赔、医保外的医疗支出是否应该获得赔偿,酒店代客泊车、机动车陪练、试驾等发生的交通事故如何划分保险公司和相关当事人的责任,都做出了明确规定。其中第十七条明确规定,对于醉驾、毒驾伤人的情况,保险公司要在机动车第三者责任强制保险责任限额范围内予以赔偿。
保险公司当赔
条款:有下列情形之一导致人身损害的,应当按照道路交通安全法第七十六条的规定,由保险公司在机动车第三者责任强制保险责任限额范围内予以赔偿:(一)驾驶人未取得驾驶资格、醉酒、吸毒、滥用麻醉药品或者精神药品后驾驶机动车发生交通事故的;(二)被保险人故意制造交通事故的;
保险公司自向赔偿权利人赔偿之日起,有权向被保险人追偿。追偿权自保险公司实际赔偿之日起计算诉讼时效。
解读:东城法院保险专案法官王磊说,《机动车交通事故责任强制险保险条例》22条规定:“有下列情形之一的,保险公司在机动车交通事故责任强制保险责任限额范围内垫付抢救费用,并有权向致害人追偿:驾驶人未取得驾驶资格或者醉酒的;被保险机动车被盗抢期间肇事的;被保险人故意制造道路交通事故的。有前款所列情形之一,发生道路交通事故的,造成受害人的财产损失,保险公司不承担赔偿责任。”
保险公司的责任免除条款也会列明醉酒、吸毒等驾车发生交通事故造成...全文 > (来源:人民网) 101条相同新闻 >
</p>
</div>
<div id="div2">
<a name="1">
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Ladding.aspx">登陆</asp:HyperLink>
| <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Login.aspx">注册</asp:HyperLink>
<br />
<asp:TextBox ID="TextBox1" runat="server" Height="82px" MaxLength="300"
TextMode="MultiLine" Width="500px"></asp:TextBox>
<br />
<span style="margin-left:380px;"><asp:Button ID="btnPinglun" runat="server" Font-Bold="True" Height="26px" Xοnclick="btnPinglun_Click" Text="发表评论" Width="115px" /></span>
</div>
<div style="width:100px"><asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></div>
<div id="divshow" runat="server">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
UseAccessibleHeader="False" Width="502px" AllowPaging="True"
Xonpageindexchanging="GridView1_PageIndexChanging1" PageSize="8">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<table class="style1">
<tr>
<td colspan="2" style="background-color: #999999">
<%#Eval("UserName")%></td>
</tr>
<tr>
<td colspan="2">
<%#Eval("ComContent")%></td>
</tr>
<tr>
<td>
<%#Eval("NowDate")%></td>
<td style="text-align: right">
<asp:Button ID="Button1" runat="server" BorderStyle="None"
style="color: #0000FF" Text="分享" />
<asp:Button ID="Button2" runat="server" BorderStyle="None"
style="color: #0000FF" Text="回复" />
</td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
<div id="divfa" style="margin-left:200px; width:100px"><a href="#1">发表评论</a></span></div>
</form>
</body>
</html>
后台:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
public partial class 放优酷 : System.Web.UI.Page
{
string sqlstr=ConfigurationManager.ConnectionStrings["sqlstr"].ConnectionString;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
GetRecordAll();
BindData();
}
}
private void GetRecordAll()
{
using (SqlConnection sqlcnn = new SqlConnection(sqlstr))
{
using (SqlCommand sqlcmm = sqlcnn.CreateCommand())
{
sqlcmm.CommandText = "select count(*) from Content";
sqlcnn.Open();
int a = Convert.ToInt32(sqlcmm.ExecuteScalar());
this.Label1.Text = "全部评论" + a + ")";
}
}
}
protected void btnPinglun_Click(object sender, EventArgs e)
{
if (Session["name"] == null)
{
ClientScript.RegisterClientScriptBlock(GetType(), "", "<script>alert('您还没有登陆,请登录后再评论!')</script>", false);
}
else
{
using (SqlConnection sqlcnn = new SqlConnection(sqlstr))
{
int id = 0;
using (SqlCommand sqlcmm1 = sqlcnn.CreateCommand())
{
sqlcmm1.CommandText = "select id from Users where UserName=@username";
sqlcmm1.Parameters.AddWithValue("@username", Session["name"].ToString());
sqlcnn.Open();
id = Convert.ToInt32(sqlcmm1.ExecuteScalar());
}
using (SqlCommand sqlcmm = sqlcnn.CreateCommand())
{
sqlcmm.CommandText = "insert into Content(UserId,ComContent) values(@userid,@contents)";
sqlcmm.Parameters.AddWithValue("@userid", id);
sqlcmm.Parameters.AddWithValue("@contents", this.TextBox1.Text);
int i = sqlcmm.ExecuteNonQuery();
if (i > 0)
{
ClientScript.RegisterClientScriptBlock(GetType(), "", "<script>alert('评论成功!')</script>", false);
GetRecordAll();
BindData();
}
else
{
ClientScript.RegisterClientScriptBlock(GetType(), "", "<script>alert('评论失败!')</script>", false);
}
}
}
}
}
private void BindData()
{
using (SqlConnection sqlcnn = new SqlConnection(sqlstr))
{
using (SqlCommand sqlcmm = sqlcnn.CreateCommand())
{
sqlcmm.CommandText = "select us.UserName,co.ComContent,DATEDIFF(MINUTE,co.NowDate,GETDATE()) NowDate from users us inner join Content co on us.id=co.Userid";
SqlDataAdapter adapter = new SqlDataAdapter(sqlcmm);
DataTable dt = new DataTable();
adapter.Fill(dt);
this.GridView1.DataSource = dt;
this.GridView1.DataBind();
}
}
}
protected void GridView1_PageIndexChanging1(object sender, GridViewPageEventArgs e)
{
GridView1.PageIndex = e.NewPageIndex;
BindData();
}//分页
}