I have several pages that can be printed out. I want to be able to "Print ALL" as well.
Private Sub bPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bPrint.Click
Dim oCRV as New ReportDocument
if me.cbPage1.checked then
loadPage1(oCRV)
elseif...
The following code is me loading a listbox with a table. I have no problem with the retrieving data if data has information, but if the field is empty I get a error. how can I check the field in a listbox first for DBnull?
'***1. load listbox from table
vStr = "Select social&' '&name as entry...
I have a textbox "TB1" that I want to fill with "This Stuff"
x = 1
str = "TB"+x.tostring
?? str.text ?? = "This Stuff"
what do I use to show "str" is a control name?
One a form I have 20 textboxes. How can I put the save in a loop.
for x = 1 to 20
sStmt = "update textlist set "
****************
sStmt += " document = '"+??(textbox_x)??+"'"
****************
sStmt += " where item = "+item_no
Sqlexe(sStmt, oConn)
next
[RESOLVED] Oracle Connection string syntax
Dim OraStr As String = "Data Source=Oracle8i;Integrated Security=yes"
OR
dim OraStr As String = "Provider=""MSDAORA.1"";User ID=dev;Data Source=testdb;Password=dev"
I am using oracle8i but that should be provider shouldn't it? the MSDAORA.1 is...
when running program I can see all 9 items of data are loaded into myComboBox, but when it displays on the screen all I get is 9 instances of "Test1.Global+ListCodes". What do I need to use in the DisplayMember spot?
I've tried original field name of "Name1", "test.codeName"
PublicStructure...
I have set up a form that I can load a Datatable in, but how do I return the index number so I know what the user selected. If possible I would rather not use a global variable.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.