using (var db = new ExpenseDataClassesDataContext(ConfigurationManager.ConnectionStrings["ExpenseConnStr"].ToString()))
{
var records =
from rc in db.ClaimHeader
where rc.UserName == Session["UserName"].ToString() && rc.Status != "De"
select new
{ rc.指定項目1, rc.指定項目2
};
//
foreach (var r in records)
{
Response.BinaryWrite("");
}
}
0 件のコメント:
コメントを投稿