Click here to Skip to main content
15,917,702 members
Home / Discussions / Database
   

Database

 
AnswerRe: store picture as binary [modified] Pin
Colin Angus Mackay19-Aug-06 8:06
Colin Angus Mackay19-Aug-06 8:06 
GeneralRe: store picture as binary Pin
Jerry Hammond19-Aug-06 18:44
Jerry Hammond19-Aug-06 18:44 
QuestionHow to quickly write a datatable into sql server? Pin
steven_wong19-Aug-06 4:21
steven_wong19-Aug-06 4:21 
AnswerRe: How to quickly write a datatable into sql server? Pin
steven_wong19-Aug-06 4:42
steven_wong19-Aug-06 4:42 
QuestionCreate DB and Tables Script Pin
japel19-Aug-06 1:16
japel19-Aug-06 1:16 
AnswerRe: Create DB and Tables Script Pin
Rob Graham19-Aug-06 3:04
Rob Graham19-Aug-06 3:04 
QuestionAdding new rows to a BindingSource? Pin
monrobot1318-Aug-06 19:59
monrobot1318-Aug-06 19:59 
AnswerRe: Adding new rows to a BindingSource? Pin
Keith Malwitz19-Aug-06 16:18
Keith Malwitz19-Aug-06 16:18 
The AddNew method of the bindingsource control will achieve what you are looking for. You can then enter the data for the new record in the bound controls. You will need a Save button and a Cancel button. The save button should validate the data entered by the user, call the EndEdit method of the binding source, and finally call the Update method of the tableadapter to write the new record to the datasource. The Cancel button should call the CancelEdit method of the bindingsource to discard any changes made. Whether or not you need to do anything else depends on a few things in your program structure. For example, whether you are updating the dataset from the same thread as your UI. If you do not see the results of the changes immediately, you may need to call the ResetBindings method of the bindingsource.

Hope this helps.
GeneralRe: Adding new rows to a BindingSource? Pin
monrobot1330-Aug-06 10:23
monrobot1330-Aug-06 10:23 
QuestionCalling SqlDataAdapter.Fill with parameters? Pin
monrobot1318-Aug-06 13:00
monrobot1318-Aug-06 13:00 
AnswerRe: Calling SqlDataAdapter.Fill with parameters? Pin
Not Active18-Aug-06 14:05
mentorNot Active18-Aug-06 14:05 
GeneralRe: Calling SqlDataAdapter.Fill with parameters? Pin
monrobot1318-Aug-06 14:42
monrobot1318-Aug-06 14:42 
QuestionWhat is the best way to test T-SQL stored procedures? Pin
wojti18-Aug-06 6:15
wojti18-Aug-06 6:15 
AnswerRe: What is the best way to test T-SQL stored procedures? Pin
leckey18-Aug-06 6:26
leckey18-Aug-06 6:26 
GeneralRe: What is the best way to test T-SQL stored procedures? Pin
Not Active18-Aug-06 7:47
mentorNot Active18-Aug-06 7:47 
GeneralRe: What is the best way to test T-SQL stored procedures? Pin
Colin Angus Mackay18-Aug-06 12:30
Colin Angus Mackay18-Aug-06 12:30 
GeneralRe: What is the best way to test T-SQL stored procedures? Pin
Not Active18-Aug-06 14:03
mentorNot Active18-Aug-06 14:03 
GeneralRe: What is the best way to test T-SQL stored procedures? Pin
Colin Angus Mackay18-Aug-06 12:33
Colin Angus Mackay18-Aug-06 12:33 
AnswerRe: What is the best way to test T-SQL stored procedures? Pin
rocky712921-Aug-06 1:33
rocky712921-Aug-06 1:33 
GeneralRe: What is the best way to test T-SQL stored procedures? Pin
wojti28-Aug-06 23:59
wojti28-Aug-06 23:59 
Questionprogramming dts...help... Pin
Sandrina18-Aug-06 3:18
Sandrina18-Aug-06 3:18 
AnswerRe: programming dts...help... Pin
rocky712921-Aug-06 1:35
rocky712921-Aug-06 1:35 
QuestionRegarding Merge Replication in SQL Server 2000 Pin
param thaker18-Aug-06 2:35
param thaker18-Aug-06 2:35 
Questiondatatables memory usage Pin
Glen Harvy18-Aug-06 2:18
Glen Harvy18-Aug-06 2:18 
AnswerRe: datatables memory usage Pin
Paul Conrad18-Aug-06 3:47
professionalPaul Conrad18-Aug-06 3:47 

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.