<% Sub List(Val1) strSQL = "Select top 4 * From " & Val1 & " " 'strSQL = strSQL & " ORDER BY P_SEQ DESC " '//Response.Write strSQL Set objRs1 = Server.CreateObject("ADODB.Recordset") objRs1.Open strSQL,db, 3 If objRs1.EOF or objRs1.BOF Then Response.Write "" & Chr(10) Response.Write " 등록된 내용이 없습니다." & Chr(10) Response.Write "" & Chr(10) Else i = 1 Do Until objRs1.EOF Seq = objRs1("num") strTitle = objRs1("title") strDate = left(objRs1("writeday"), 10) Response.Write "[" & strDate & "] " & strTitle & "
" i = i + 1 objRs1.MoveNext Loop End If objRs1.Close Set objRs1 = Nothing End Sub Sub M_List(Val1) strSQL = "Select Top 4 * From " & Val1 & " " strSQL = strSQL & " ORDER BY num DESC " 'Response.Write strSQL Set objRs1 = Server.CreateObject("ADODB.Recordset") objRs1.Open strSQL,db, 3 If objRs1.EOF or objRs1.BOF Then Response.Write "" & Chr(10) Response.Write " 등록된 내용이 없습니다." & Chr(10) Response.Write "" & Chr(10) Else i = 1 Do Until objRs1.EOF Seq = objRs1("num") strTitle = left(objRs1("title"), 16) strDate = left(objRs1("writeday"), 10) strFile = objRs1("filename1") Response.Write "" Response.Write "" Response.Write "
" If strFile <> "" Then Response.Write "" Else Response.Write "" End If 'Response.Write "
" 'Response.Write "" & strTitle & "" 'Call S_List(Val1, Seq) Response.Write "
" i = i + 1 objRs1.MoveNext Loop End If objRs1.Close Set objRs1 = Nothing End Sub %>
<% Call List("inno_1") '테이블명을 인자로 입력%>




<% Call M_List("inno_2") '테이블명을 인자로 입력%>


We are a full-service building and remodeling company specializing in building, commercial renovations, home remodelings including additions, basements, kitchens, bathrooms, and paintings serving DC Metropolitan area. In addition to Virginia Class A Contractor and Maryland MHIC Licenses, we also have Building license which proves our ability to handle anything in construction work.

From brilliant MB minds come the innovative ideas that transform your project from ordinary to extraordinary. Our Guaranteed 10-Step Process and Project Coordination System continues to generate unique solutions that save our clients significant time and money.

All our works are fully insured even on a never-expected-accidents and all works performed by MB Construction, Inc. is fully guaranteed against defective accomplishment for twelve (12) full months from the original date of installation.

MB Construction Company always strives to meet an owner's needs and concerns during the design and construction of their facility. We look forward to your review of our company and hope to do business with you on your next project.
Copyright(C) 2006 MB Construction all right reserved.