‘Create the button
Dim btn As New Button()
‘Specify the location and the size
btn.Location = New System.Drawing.Point(200, 30)
btn.Size = New System.Drawing.Size(100, 20)
btn.Text = “New Button”
‘Add it to the forms control collection
Me.Controls.Add(btn)
‘Link the event to the event handler
AddHandler btn.Click, AddressOf Me.ClickButton
Archive for August 13th, 2006
Create a button run time
Posted in Uncategorized, tagged Archive, vb.net on August 13, 2006 | Leave a Comment »
Create Controls at Runtime
Posted in C#.NET, tagged C#.net, control on August 13, 2006 | 1 Comment »
Someitme we need to create control at runtime, Here is a good example to create control runtime.
http://www.developerfusion.co.uk/show/4393/
Difference between OleDBConnection and SqlConnection?
Posted in General, tagged General, OleDB, sql on August 13, 2006 | Leave a Comment »
SqlConnection is the SqlServer implementation, OleDb was everything ‘else’ . That’s been minimized to some degree since the addition of the ODBC and Oracle libraries in the 1.1 framework so OleDbConnection should probably be renamed to PeopleWhoStillUseMSAccessConnection

