2012年12月27日 星期四

何謂信賴利益?我國民法關於信賴利益之損害賠償規定有那些?請列舉說明之。

100年 普通考試
類科 :不動產經紀人 
科目 : 民法概要

申論題:



一.何謂信賴利益?我國民法關於信賴利益之損害賠償規定有那些?請列舉說明之。

(一)信賴利益:所謂信賴利益,係指簽約雙方,其中一方當事人因信賴對方,且相信契約必將成立,在契約生效後所可能取得之利益稱之。

(二)信賴利益之損害賠償規定:信賴利益之損害賠償,主要係因當事人因信賴對方,相信契約必將成立、生效,而於締約前所做之各準備工作所支出的勞力、時間、費用後,但契約卻因自始無效或被撤銷、被解除,因此可請求賠償;惟信賴利益之損害賠償範圍以不超過實際契約履行後可能取得之利益(亦就是履行利益)之損害賠償額。我國民法關於信賴利益之損害賠償規定,計有下列項目:

 1.錯誤表意人之賠償責任:
  依第八十八條及第八十九條之規定撤銷意思表示時,表意人對於信其意思表示為有效而受損害之相對人或第三人,應負賠償責任。但其撤銷之原因,受害人明知或可得而知者,不在此限。§91
 2.無權代理人之賠償責任:
  無代理權人,以他人之代理人名義所為之法律行為,對於善意之相對人,負損害賠償之責。§110
 3.無效行為當事人之賠償責任:
  無效法律行為之當事人,於行為當時知其無效,或可得而知者,應負回復原狀或損害賠償之責任。§113
 4.無效行為經撤銷之賠償責任:
  法律行為經撤銷者,視為自始無效。當事人知其得撤銷或可得而知者,其法律行為撤銷時,準用前條之規定。§114
 5.締約過失之賠償責任:
  (1)契約未成立時,當事人為準備或商議訂立契約而有左列情形之一者,對於非因過失而信契約能成立致受損害之他方當事人,負賠償責任:
   ① 就訂約有重要關係之事項,對他方之詢問,惡意隱匿或為不實之說明者。
   ②知悉或持有他方之秘密,經他方明示應予保密,而因故意或重大過失洩漏之者。
   ③其他顯然違反誠實及信用方法者。§245之1第一項
  (2)前項損害賠償請求權,因二年間不行使而消滅。§245之1第二項
 6.因契約標的給付不能之賠償責任:
  (1)契約因以不能之給付為標的而無效者,當事人於訂約時知其不能或可得而知者,對於非因過失而信契約為有效致受損害之他方當事人,負賠償責任。§247第一項
  (2)給付一部不能,而契約就其他部分仍為有效者,或依選擇而定之數宗給付中有一宗給付不能者,準用前項之規定。§247第二項
  (3)前二項損害賠償請求權,因二年間不行使而消滅。§247第三項

2012年12月18日 星期二

EveryDns 要求遷移 DynDns 開始收費

今天突然收到一封MAIL,原文如下:

Dear EveryDNS Customer:


Last January, EveryDNS was acquired by Dyn, the world's fastest growing provider of managed DNS -- a marriage of two organizations committed to providing all of our customers with the best services and support in the industry.
去年 EveryDNS 被全世界成長最快的DNS管理供應者 Dyn 收購--兩個組織的聯姻可使我們客戶在企業中有更好的服務及支援。

But the time has come to bring you fully into the Dyn family so you can enjoy our superior performance and reliability -- all in a easy-to-use migration tool that we created for this endeavor.
然而

                                                              Migrate Now!      

***Note that services offered by EveryDNS will be discontinued on August 31, 2011 and your user information will no longer be accessible through that site.***

For the details and various options available to you, we've set up an FAQ page and breakdown of different options. We are excited to have you experience the Dyn difference as soon as possible.
If you have any questions that aren't answered by the links here, please contact our migration support team.
如果這個連結無法回答你的問題,請聯絡我們遷移支援團隊。
Thank you,
謝謝
Dyn Migration Support

動態增加 GridView 資料欄 ASP.Net C #


動態增加 GridView 資料欄 ASP.Net C #

//Add GridView Column Dynamically ASP.Net and C #
  1. using System; 
  2. using System.Collections.Generic;  
  3. using System.Linq;  
  4. using System.Web;  
  5. using System.Web.UI;  
  6. using System.Web.UI.WebControls;  
  7. using System.Data;  
  8. public partial class dhilip : System.Web.UI.Page  
  9. {  
  10.     protected void Page_Load(object sender, EventArgs e)  
  11.     {  
  12.          
  13.         //實作 datatable  
  14.         DataTable dt = new DataTable();  
  15.         //實作 datarow  
  16.         DataRow drow;  
  17.         //建遒 datacolums Column1 and Column2   
  18.         DataColumn dcol1 = new DataColumn("Column1"typeof(string));  
  19.         DataColumn dcol2 = new DataColumn("Column2"typeof(string));  
  20.         //adding datacolumn to datatable  
  21.         dt.Columns.Add(dcol1);  
  22.         dt.Columns.Add(dcol2);  
  23.         //loop for 10 rows  
  24.         for (int i = 0; i < 10; i++)  
  25.         {  
  26.             //實作 datarow  
  27.             drow = dt.NewRow();  
  28.             //增加資料列到 datatable  
  29.             dt.Rows.Add(drow);  
  30.             //增加值 
  31.             dt.Rows[i][dcol1] = i.ToString();  
  32.             dt.Rows[i][dcol2] = i.ToString();  
  33.         }  
  34.         //set gridView Datasource as dataTable dt.  
  35.         GridView1.DataSource = dt;  
  36.         //Bind Datasource to gridview  
  37.         GridView1.DataBind();  
  38.     }  
  39.     protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e)  
  40.     {  
  41.         //實作 table cell  
  42.         // this table cell is going to add gridview as new column  
  43.         TableCell tc = new TableCell();  
  44.         //first cell must be -1 ie the header of gridview. if it header  
  45.         if (e.Row.RowIndex == -1)  
  46.         {  
  47.             //add header column name. you can add more styles in this section  
  48.             tc.Text = "Multiple";  
  49.             //add style for header column  
  50.             tc.Style.Add(HtmlTextWriterStyle.FontWeight, "bold");  
  51.         }  
  52.         //cell add to gridview row  
  53.         e.Row.Cells.Add(tc);  
  54.     }  
  55.     protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)  
  56.     {  
  57.         //if header column we dont need multiplication  
  58.         if (e.Row.RowIndex != -1)  
  59.         {  
  60.             //taking values from first cell. my first cell contain value, you can change  
  61.             string id = e.Row.Cells[0].Text;  
  62.             //taking values from second cell. my second cell contain value, you can change  
  63.             string id2 = e.Row.Cells[1].Text;  
  64.             //multiplication  
  65.             double mult = int.Parse(id) * int.Parse(id2);  
  66.             //adding result to last column. coz we add new column in last.  
  67.             e.Row.Cells[e.Row.Cells.Count - 1].Text = mult.ToString();  
  68.         }  
  69.     }  
  70. }