HlContro.NavigateUrl = "./Home. If (e.Row.RowType = DataControlRowType.DataRow)įor (int i = 0 i < i++) Part 2 - Pembuatan Aplikasi Kwitansi dengan VB.Net 597 views 4 Dislike Share Save Ilman Kadori 726 subscribers Di Tutorial kali ini akan di kupas bagaimana membuat Aplikasi. Lalu tambakan PrintForm yang terdapat pada toolbox didalam tab Visual Basic PowerPacks ke dalam form yang telah didesain tersebut. protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) Rancanglah sebuah form sesuai keinginan anda, mungkin rancangan kuitansi, table, gambar atau kombinasi kesemua elemen tersebut. Here is my gridview rowDataBound function, where I create the hyperlink. TemplateField tfield = new TemplateField() protected void Page_Load(object sender, EventArgs e) This is my page_load function, I created the template field here. Here is my gridview declaration on my aspx page: Sesekali kadang kita ingin membuat laporan atau kwitansi dengan cepat tanpa melalui report yang mungkin kurang praktis. The hyperlink that's on the second row should be on the first, and the third should be on the second, and so on. Validasi Inputan Hanya Huruf Atau Angka Saja VB.Net. See this picture for more information > Īs you can see in that picture, there is a 'view' column that contains hyperlinks, but the problem is the first row is always empty. Unfortunately my hyperlinks doesn't start from the top of the column, instead they are started from the second row of the hyperlink's column. Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Loadĭim crystalReport As New ReportDocument()ĬrystalReport.Load(Server.MapPath("~/reports/kwitansi.rpt"))ĬrystalReport.SetDatabaseLogon("myUser", "test", "localhost", Request.I'm trying to create a gridview with an extra column that contains a hyperlink for each row. When I run the project the page always blank. I have problem when display report from Crystal Report using Store Procedure SQL Server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |