<%@ Page Language="C#" ContentType="text/html" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.SqlClient" %> <script runat="Server"> // それぞれの日付セルをレンダリングするタイミングで実行 void cal_DayRender(Object sender, DayRenderEventArgs e) { SqlConnection objDb=new SqlConnection("Data Source=(local);User ID=sa;Password=sa;Persist Security Info=True;Initial Catalog=dotnet"); // 出力する日付セルに対応するス