Web Program/Asp.net Lecture41 CrystalReport 에서 TextObject 사용하기 TextObject text; text = CrystalReportSource1.ReportDocument.ReportDefinition.ReportObjects["text1"] as TextObject; text.Text = "dfd"; 2009. 5. 13. CrystalReport db Connection 연결과 파라미터 넘기기 //TableLogOnInfo객체생성 CrystalDecisions.Shared.TableLogOnInfo cryLogonInfo = new CrystalDecisions.Shared.TableLogOnInfo(); //계정정보설정 cryLogonInfo.ConnectionInfo.ServerName = "db"; cryLogonInfo.ConnectionInfo.Password = "1234"; cryLogonInfo.ConnectionInfo.UserID = "sa"; cryLogonInfo.ConnectionInfo.DatabaseName = "pubs"; //계정추가 CrystalReportViewer1.LogOnInfo.Add(cryLogonInfo); //로그인창 false 설정 Crystal.. 2009. 5. 13. New Image Generator control in ASP.Net 3.5 New Image Generator control in ASP.Net 3.5 Introduction Storing images in database BLOB field and displaying it on aspx page is one of the common tasks we do in asp.net projects. Asp.Net itself does not have an in build control to bind the image stored in database. To display an image stored in database, we will write an HttpHandler which will fetch the image from database and do a binary write... 2009. 5. 13. 팝업에서 처리후 부모창 새로고침 .net 에서 팝업을 뜨우고 팝업에서 DB 처리후 부모창을 reload() 하면 팝업이 다시 뜬다.. Ispostback 을 처리해서 이것 저것 막기가 귀찮을 때가 많다.. 팝업에서 DB 실행후 부모창을 새로고침을 이렇게 하니 편하다. ClientScript.RegisterStartupScript(this.GetType(), "Popup", ""); 2009. 5. 11. 이전 1 ··· 5 6 7 8 9 10 11 다음