I'm trying to set up and XmlDataDocument based on the contents of a datagrid, so I can use the .Writeto method to put the data into an xml file.
The XmlDataDocument constructor takes a dataset(Im using datagrid.datasource which works with a ds, but not a dv). Im using a dataview as the...
Does the datagrid provide functionality similar to a listbox wherein if the user hits the letter x on the keyboard, the datagrid will scroll to the first occurance of this letter in a particular column?
Thanks...
Given the following code...
Public Class Form1
Inherits System.Windows.Forms.Form
'Create array of vendor objects...
Dim maVendors(3) As Vendor
...
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Init...
I created a simple extended textbox control by using Inherits System.Windows.Forms.TextBox and then just added some of my own functionality. I did not use the visual designer at all.
My question is, when I instantiate the control, it has the standard 'Textbox1' as the default text. I tried...
What is the best real world method of storing small images, and being able to save and retrieve them? I am doing a VB.NET app that has a SQL Server backend.
Should they be stored in the database? In a resource file?
I am trying to avoid a graphics folder where they could be corrupted or...
Sorry if this is posted in the wrong forum, not sure where else to look...
I am working on a VB.NET program to catalog my video collection. I have designed a class called VideoTitle. One of the methods I believe this class should implement is an Add Video method. When a video gets added, it will...
Hey all,
If I am instantiating an object from code, and that object will be populated by(or saved to) a database, where should the code reside that actually makes the connection to and reads from the DB? Do best practices dictate the connection is made in the code that calls the object or in...
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.