Click here to Skip to main content
15,884,177 members
Home / Discussions / Database
   

Database

 
GeneralRe: Insert a file of 10MB into an SQL 2000 Server Table Pin
Scott Serl13-Apr-05 9:16
Scott Serl13-Apr-05 9:16 
Generali want to select database from sql where query it is Pin
bibipopopopo12-Apr-05 20:14
bibipopopopo12-Apr-05 20:14 
GeneralMerge results Pin
knopppen12-Apr-05 10:04
knopppen12-Apr-05 10:04 
GeneralRe: Merge results Pin
Ritesh123413-Apr-05 3:09
Ritesh123413-Apr-05 3:09 
Generalado.net Pin
Member 187540712-Apr-05 1:25
Member 187540712-Apr-05 1:25 
GeneralRe: ado.net Pin
Ritesh123412-Apr-05 1:48
Ritesh123412-Apr-05 1:48 
GeneralConnecting to a remote server. Pin
RuchirD12-Apr-05 0:24
RuchirD12-Apr-05 0:24 
GeneralDataBinding: problem after DataSet.Tables["table"].Clear() Pin
Vexta11-Apr-05 21:52
Vexta11-Apr-05 21:52 
Hallo,

I just posted this message in C#-section, but I saw the ADO.NET section and I think its better to post it here... sorry for doubleposting...

I'm a real beginner with C# and I have a silly problem with one DataTable combined with a DataGrid.
Short describing of surround:

I have one DataSet with three DataTables, each shown in DataGrids.
The DataSet is persistent (typed DataSet) as .xsd-file.

DataBase ist MSDE. All three DataTables are filled with the
DataAdapter.(DataSet, DataTable).Fill-Method.
If I execute the fill-Methode for one table twice or more, in my datagrid the records are added. To avoid this behaviour, I want to use the
DataSet.Tables["table"].Clear()-Method
before executing the Fill-Method. With two DataTables it works, but with the third, the DataGrid stays empty after the Fill-Method.
- in the debugger I can see that there are records in the DataTable
- when I click into the DataGrid, an error occurs that I try to translate (German version):

"DataBinding could not find line in list that can be used vor all bindings."

Help would be very appreciated.
Thanks
Vexta

GeneralSelect view Pin
Yulianto.11-Apr-05 16:38
Yulianto.11-Apr-05 16:38 
GeneralRe: Select view Pin
Colin Angus Mackay14-Apr-05 1:35
Colin Angus Mackay14-Apr-05 1:35 
QuestionHow to Export a database using Script Pin
Iridania11-Apr-05 16:03
Iridania11-Apr-05 16:03 
AnswerRe: How to Export a database using Script Pin
Albert Pascual13-Apr-05 6:15
sitebuilderAlbert Pascual13-Apr-05 6:15 
GeneralQuery Pin
11-Apr-05 3:55
suss11-Apr-05 3:55 
GeneralRe: Query Pin
Yulianto.11-Apr-05 16:31
Yulianto.11-Apr-05 16:31 
QuestionHow can i select more records Pin
bibipopopopo11-Apr-05 2:49
bibipopopopo11-Apr-05 2:49 
AnswerRe: How can i select more records Pin
RChin11-Apr-05 3:38
RChin11-Apr-05 3:38 
GeneralRe: How can i select more records Pin
Colin Angus Mackay11-Apr-05 4:56
Colin Angus Mackay11-Apr-05 4:56 
AnswerRe: How can i select more records Pin
Colin Angus Mackay11-Apr-05 4:54
Colin Angus Mackay11-Apr-05 4:54 
GeneralHelp Needed Pin
Anonymous11-Apr-05 2:31
Anonymous11-Apr-05 2:31 
GeneralRe: Help Needed Pin
Colin Angus Mackay11-Apr-05 3:12
Colin Angus Mackay11-Apr-05 3:12 
QuestionBest way to use criteria in SQL statements? Pin
WindSailor11-Apr-05 0:46
WindSailor11-Apr-05 0:46 
AnswerRe: Best way to use criteria in SQL statements? Pin
Colin Angus Mackay11-Apr-05 3:11
Colin Angus Mackay11-Apr-05 3:11 
GeneralRe: Best way to use criteria in SQL statements? Pin
WindSailor11-Apr-05 8:41
WindSailor11-Apr-05 8:41 
GeneralRe: Best way to use criteria in SQL statements? Pin
WindSailor11-Apr-05 21:32
WindSailor11-Apr-05 21:32 
GeneralCOALESCE(NULLIF(@intError, 0), @@ERROR) Pin
_J_10-Apr-05 23:03
_J_10-Apr-05 23:03 

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.