Click here to Skip to main content
15,920,896 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: system.io.streamreader.readline Pin
Tom John9-Nov-04 6:14
Tom John9-Nov-04 6:14 
GeneralRe: system.io.streamreader.readline Pin
Jayman9119-Nov-04 6:16
Jayman9119-Nov-04 6:16 
GeneralRe: system.io.streamreader.readline Pin
Fade (Amit BS)10-Nov-04 16:22
Fade (Amit BS)10-Nov-04 16:22 
GeneralRe: system.io.streamreader.readline Pin
Jayman91111-Nov-04 2:51
Jayman91111-Nov-04 2:51 
GeneralFonts used in rich text box Pin
johnjsm9-Nov-04 2:30
johnjsm9-Nov-04 2:30 
GeneralRe: Fonts used in rich text box Pin
Member 14977519-Nov-04 5:43
Member 14977519-Nov-04 5:43 
Generalupdating database using dataset..help! Pin
obrix_activex9-Nov-04 0:12
obrix_activex9-Nov-04 0:12 
GeneralRe: updating database using dataset..help! Pin
ccotton33324-Nov-04 7:52
ccotton33324-Nov-04 7:52 
Are you going to set up the connection in code or use the appropriate dataadapter? If by using the adapter, you would setup the adapter with the database you want to connect to(i.e. if using Access then use Jet 4.0) then generate the dataset for that dataadapter. Most of the time I just bind my textboxes in the databinding section of the property box. then to adda the record would go something like this:

'this adds new record to the dataset
Try
dim newrow as datarow = dataset.Tablename.newrow
newrow("lastname")=txtlastname.text
newrow("firstname")=txtfirstname.text
dataset.tablename.rows.add(newrow)
Catch ex as exception
messagebox.show(ex.tostring)
end try
'this update database based on the dataset
try
dataadapter.update(dataset, "Tablename")
catch ex as exception
messagebox.show(ex.tostring)
end try
GeneralPrinting w/out Crystal Report in VBNet Pin
reyboy8-Nov-04 22:44
reyboy8-Nov-04 22:44 
GeneralRe: Printing w/out Crystal Report in VBNet Pin
Tom John9-Nov-04 5:55
Tom John9-Nov-04 5:55 
QuestionHow to get domain name of specific computer? Pin
dungle308-Nov-04 20:42
dungle308-Nov-04 20:42 
Questionhow to change datagrid properties? Pin
Lisana8-Nov-04 19:43
Lisana8-Nov-04 19:43 
QuestionHow to add dataset values to Crystal Report fields Pin
Jeevan anjna8-Nov-04 19:42
Jeevan anjna8-Nov-04 19:42 
GeneralThread Problem Pin
Sumit Domyan8-Nov-04 18:14
Sumit Domyan8-Nov-04 18:14 
GeneralRe: Thread Problem Pin
Fade (Amit BS)10-Nov-04 16:31
Fade (Amit BS)10-Nov-04 16:31 
GeneralRe: Thread Problem Pin
Sumit Domyan10-Nov-04 18:10
Sumit Domyan10-Nov-04 18:10 
GeneralRe: Thread Problem Pin
Fade (Amit BS)13-Nov-04 22:30
Fade (Amit BS)13-Nov-04 22:30 
GeneralCapture an HTML document as an image Pin
ddd ssss8-Nov-04 17:52
ddd ssss8-Nov-04 17:52 
GeneralDisplay non duplicate data in combobox Pin
CelesterMok8-Nov-04 15:22
CelesterMok8-Nov-04 15:22 
GeneralQuestions Pin
Tech 4 a dummy8-Nov-04 14:57
Tech 4 a dummy8-Nov-04 14:57 
GeneralRe: Questions Pin
Tom John9-Nov-04 3:08
Tom John9-Nov-04 3:08 
GeneralRe: Questions Pin
Tech 4 a dummy9-Nov-04 13:44
Tech 4 a dummy9-Nov-04 13:44 
GeneralRe: Questions Pin
Tom John9-Nov-04 22:25
Tom John9-Nov-04 22:25 
GeneralToolbar button images not being diplayed Pin
Verolix8-Nov-04 13:16
Verolix8-Nov-04 13:16 
GeneralDisabling combobox items... Pin
Tim8w8-Nov-04 12:28
Tim8w8-Nov-04 12:28 

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.