동적 수정 페이지 제목, 키워드 및 설명 등 정보
HtmlHead head = this.Header;// Head
head.Title = dr["web_title"].ToString();
HtmlMeta WebKeyWords = new HtmlMeta();// Meta
WebKeyWords.Name = "KeyWords";
WebKeyWords.Content = dr["web_keywords"].ToString();
head.Controls.Add(WebKeyWords); // head Meta
HtmlMeta WebDescription = new HtmlMeta();
WebDescription.Name = "Description";
WebDescription.Content = dr["web_description"].ToString();
head.Controls.Add(WebDescription);
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
부트스트랩 ASP.NET에서 설정하는 법1) _Layout.cshtml 內 link로 bootstrap 참조 2) Nuget 패키지에서 BootStrap 다운로드 3) 하단 부트스트랩 예제 사이트 참고해서 프로젝트 개발 참고 :...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.