Click here to Skip to main content
15,902,492 members
Home / Discussions / Database
   

Database

 
QuestionOptimezed use ADO.Net? Pin
rbarzallo7-Aug-04 6:58
rbarzallo7-Aug-04 6:58 
AnswerRe: Optimezed use ADO.Net? Pin
slvrscremr9-Aug-04 3:23
slvrscremr9-Aug-04 3:23 
GeneralORACLE / ADO .NET: TNS: Packet Writer Failure in parameterized query Pin
slvrscremr6-Aug-04 8:18
slvrscremr6-Aug-04 8:18 
GeneralMultiple Excel files Pin
janigorse6-Aug-04 7:58
janigorse6-Aug-04 7:58 
GeneralRe: Multiple Excel files Pin
Anonymous16-Aug-04 20:26
Anonymous16-Aug-04 20:26 
Generalbackup access database Pin
sungsunpark6-Aug-04 5:47
sungsunpark6-Aug-04 5:47 
GeneralRe: backup access database Pin
RichardGrimmer12-Aug-04 1:32
RichardGrimmer12-Aug-04 1:32 
GeneralSearching problem (serious!) Pin
RoyRose786-Aug-04 1:03
RoyRose786-Aug-04 1:03 
Hello,

I noticed that when I add a new row to my DB (MS Access 2002 with VB.Net), the row is inserted to a specific place according to the primary key and not at the end of the table - my primary key is client's ID.

I use a form with datagrid control for searching a row, but after adding a new row, its location in the dataset is different from the location in the database (?!?!), this form returns the row number to the main form...but the row number in incorrect...

In the searching form I use DataView and also in the main form I use the default view which sorted by the ID.
the main form gets the row number from the searching form.
Another thing is that after rebuilding the DB, the row number is correct but that's not a good solution...

I need to understand if I did something wrong with inserting or using the dataview objects. and how do I get the real row's number.
//**************************
//after double-clicking the row on the datagrid, get the default row number

RowNum = dbDsDB.Tables("clients").DefaultView.Find(DtGrd.Item(hti.Row, 2))


If you need more info, let me know - I'm stuck
thanks, Roy.

GeneralRe: Searching problem (serious!) Pin
Michael Potter6-Aug-04 4:21
Michael Potter6-Aug-04 4:21 
GeneralRe: Searching problem (serious!) Pin
RoyRose786-Aug-04 4:57
RoyRose786-Aug-04 4:57 
GeneralMultiple Conditionals Pin
Peter86753095-Aug-04 8:43
Peter86753095-Aug-04 8:43 
GeneralRe: Multiple Conditionals Pin
Mike Ellison5-Aug-04 13:11
Mike Ellison5-Aug-04 13:11 
GeneralRe: Multiple Conditionals Pin
EdbertP5-Aug-04 13:27
EdbertP5-Aug-04 13:27 
GeneralRe: Multiple Conditionals Pin
Peter86753099-Aug-04 4:57
Peter86753099-Aug-04 4:57 
GeneralMS SQL 7 Error Pin
payal sheth5-Aug-04 2:51
payal sheth5-Aug-04 2:51 
Generalcomparing memo fields in Access Pin
pankajdaga4-Aug-04 23:47
pankajdaga4-Aug-04 23:47 
GeneralCreating db table from DataTable Pin
matt cole3-Aug-04 2:23
matt cole3-Aug-04 2:23 
GeneralRe: Creating db table from DataTable Pin
Thea Burger3-Aug-04 3:09
Thea Burger3-Aug-04 3:09 
GeneralRe: Creating db table from DataTable Pin
matt cole3-Aug-04 19:08
matt cole3-Aug-04 19:08 
Generalhide relation in parent table Pin
Anonymous2-Aug-04 23:43
Anonymous2-Aug-04 23:43 
Questionhow to connect Oracle Lite Database with ADO.NET ? Pin
manoj_mevada2-Aug-04 22:29
manoj_mevada2-Aug-04 22:29 
GeneralDataReader reading data from multiple tables Pin
abhishk2001@yahoo.com2-Aug-04 15:59
abhishk2001@yahoo.com2-Aug-04 15:59 
GeneralRe: DataReader reading data from multiple tables Pin
iamalik043-Aug-04 1:37
sussiamalik043-Aug-04 1:37 
Generalignore last one, this is the tsql puzzle Pin
partt2-Aug-04 8:43
partt2-Aug-04 8:43 
GeneralRe: ignore last one, this is the tsql puzzle Pin
Steven Campbell2-Aug-04 9:04
Steven Campbell2-Aug-04 9:04 

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.