Click here to Skip to main content
15,900,110 members

Comments by alom_93 (Top 69 by date)

alom_93 3-May-12 7:06am View    
hi,
Its is an array of records.. It just stores students names and marks in to the array. However i then want to take each name and mark and store it in ms access database.
alom_93 2-May-12 15:41pm View    
can you explain what i do here:

DataRows[] drResults = dsData.Tables[0].Select("ColName = 'criteria');

foreach(DataRow dr in drResults)
{
object[] row = dr.ItemArray;
dt.Rows.Add(row);
alom_93 11-Apr-12 20:37pm View    
ok thanks, got it working.... Put it on the basis of what u provided and changed it around and now working..
alom_93 10-Apr-12 21:10pm View    
In the table app there are 3 rows 2010,2011, 2012... Now your saying if the rows.count=0 then do something BUT it doesnt = 0 as it has 2010,2011,2012 (3 rows) and not 0..

The code im using to get data is displayed now added to the orginal post
alom_93 9-Apr-12 19:16pm View    
the code u suggested is in logically right because it counts how many rows there are and there are 3... but in the code ur saying if it = 0 then do something but it does not = 0 it =3..

I need something to check if that row exists.

What do u mean what SQL am i using, im using MS access?

thanks