Click here to Skip to main content
15,926,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Updating Database Problem Pin
ccotton33313-Sep-04 15:32
ccotton33313-Sep-04 15:32 
GeneralNewbie: want to create instance of line control at run time through code Pin
gamerPotatoe13-Sep-04 7:24
gamerPotatoe13-Sep-04 7:24 
GeneralRe: Newbie: want to create instance of line control at run time through code Pin
Dave Kreskowiak13-Sep-04 7:53
mveDave Kreskowiak13-Sep-04 7:53 
Generalinsert,update,delete commands Pin
Britnt713-Sep-04 6:44
Britnt713-Sep-04 6:44 
GeneralRe: insert,update,delete commands Pin
Dave Kreskowiak13-Sep-04 9:44
mveDave Kreskowiak13-Sep-04 9:44 
GeneralRe: insert,update,delete commands Pin
Britnt713-Sep-04 10:24
Britnt713-Sep-04 10:24 
GeneralTextbox display value Pin
auguy13-Sep-04 6:12
auguy13-Sep-04 6:12 
GeneralScrollbars Pin
bertcox13-Sep-04 5:24
bertcox13-Sep-04 5:24 
Hello,

I created a small program to show some data in a datagrid. There are about 100 records but the datagrid has no scrollbars so you can't see all te records.
What can i do?
I fill the datagrid up like this:
Dim connStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\films.mdb"<br />
        OleDbConnection1 = New OleDbConnection(connStr)<br />
        OleDbConnection1.Open()<br />
        myDs = New DataSet<br />
        sqlStr = "SELECT * FROM films"<br />
        OleDbDataAdapter1 = New OleDbDataAdapter(sqlStr, OleDbConnection1)<br />
        OleDbDataAdapter1.SelectCommand.CommandText = sqlStr<br />
        oleDbCommandBuilder1 = New OleDbCommandBuilder(OleDbDataAdapter1)<br />
        OleDbDataAdapter1.Fill(myDs, "dtFilms")<br />
        currentRow = 0<br />
<br />
        Dim tableStyle As DataGridTableStyle<br />
        tableStyle = New DataGridTableStyle<br />
        tableStyle.MappingName = "dtFilms"<br />
        dtgFilms.TableStyles.Clear()<br />
        dtgFilms.TableStyles.Add(tableStyle)<br />
        dtgFilms.DataSource = myDs.Tables("dtFilms")


Thanks in advance!
GeneralVB6 client affects .NET library %( Pin
A.Obraztsov13-Sep-04 4:09
A.Obraztsov13-Sep-04 4:09 
GeneralRe: VB6 client affects .NET library %( Pin
Dave Kreskowiak13-Sep-04 5:20
mveDave Kreskowiak13-Sep-04 5:20 
GeneralBrowse for drives Pin
johnjsm13-Sep-04 2:53
johnjsm13-Sep-04 2:53 
GeneralRe: Browse for drives Pin
Dave Kreskowiak13-Sep-04 5:24
mveDave Kreskowiak13-Sep-04 5:24 
Questionhow to avoid saving when page is refreshed Pin
Irsh13-Sep-04 2:42
Irsh13-Sep-04 2:42 
AnswerRe: how to avoid saving when page is refreshed Pin
Dave Kreskowiak13-Sep-04 5:27
mveDave Kreskowiak13-Sep-04 5:27 
QuestionThread procedure with arguments? Pin
Hadi Fakhreddine13-Sep-04 0:57
Hadi Fakhreddine13-Sep-04 0:57 
AnswerRe: Thread procedure with arguments? Pin
pbpb13-Sep-04 2:24
pbpb13-Sep-04 2:24 
AnswerRe: Thread procedure with arguments? Pin
Dave Kreskowiak13-Sep-04 3:59
mveDave Kreskowiak13-Sep-04 3:59 
AnswerRe: Thread procedure with arguments? Pin
beowulfagate13-Sep-04 13:20
beowulfagate13-Sep-04 13:20 
GeneralRe: Thread procedure with arguments? Pin
Hadi Fakhreddine13-Sep-04 20:48
Hadi Fakhreddine13-Sep-04 20:48 
QuestionHow to create a browser I/F to an exe app Pin
dahacker13-Sep-04 0:15
dahacker13-Sep-04 0:15 
AnswerRe: How to create a browser I/F to an exe app Pin
Dave Kreskowiak13-Sep-04 3:50
mveDave Kreskowiak13-Sep-04 3:50 
GeneralConvert double bytes hex code into single byte hex Pin
Anonymous12-Sep-04 19:37
Anonymous12-Sep-04 19:37 
GeneralRe: Convert double bytes hex code into single byte hex Pin
Dave Kreskowiak13-Sep-04 3:24
mveDave Kreskowiak13-Sep-04 3:24 
GeneralDatagrid with Adding Editing Deleteing option in windows forms vb.net Pin
winheart12-Sep-04 19:10
winheart12-Sep-04 19:10 
GeneralNewbies. Please help (Printing) Pin
always9912-Sep-04 17:29
always9912-Sep-04 17:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.