Posts by Diego França • 26 points
3 posts
-
0
votes1
answer117
viewsA: Export Dataset to Excel with Spreadsheetgear
I believe you should create the datatable inside the dataset before inserting: Dim ds As New DataSet Dim dt = ds.Tables.Add("resultado") Dim oCommand As New MySqlCommand(sSql.ToString, oConn) Dim…
vb.netanswered Diego França 26 -
0
votes1
answer55
viewsA: Error not filling in program fields
You can test all of them before doing the operation: if txt1.text="" or txt2.text = "" or txt3.text = "" or txt4.text = "" Then MsgBox("Preencha todos os campos!") End If Or you can assign 0 to…
canswered Diego França 26 -
1
votes1
answer135
viewsA: How to export content generated by VB.NET to Excel
You can save your datatable data to a Session and read it when opening a new form (export.aspx for example): Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles…
vb.netanswered Diego França 26