Click here to Skip to main content
16,006,013 members
Home / Discussions / C#
   

C#

 
GeneralRe: Error: usbtest(Cs).exe----cannt find DLL Pin
Brian Nottingham10-Oct-04 20:26
Brian Nottingham10-Oct-04 20:26 
GeneralRe: Brian Nottingham Pin
momer10-Oct-04 20:38
momer10-Oct-04 20:38 
GeneralRe: Error: usbtest(Cs).exe----cannt find DLL Pin
Brian Nottingham10-Oct-04 20:45
Brian Nottingham10-Oct-04 20:45 
GeneralRe: Error: usbtest(Cs).exe----cannt find DLL Pin
momer10-Oct-04 22:20
momer10-Oct-04 22:20 
GeneralRe: Error: usbtest(Cs).exe----cannt find DLL Pin
momer10-Oct-04 22:20
momer10-Oct-04 22:20 
GeneralRe: Error: usbtest(Cs).exe----cannt find DLL Pin
Brian Nottingham11-Oct-04 6:01
Brian Nottingham11-Oct-04 6:01 
GeneralRe: Error: usbtest(Cs).exe----cannt find DLL Pin
Dave Kreskowiak11-Oct-04 6:22
mveDave Kreskowiak11-Oct-04 6:22 
Generaldbms extraction Pin
xiaowenjie10-Oct-04 18:17
xiaowenjie10-Oct-04 18:17 
hi all,
(1)i've got 24 columns in my Ms access database. After selecting a row, i need to extract each of this value and store them in an array. Currently, i'm using this method which is kinda long:

foreach (DataTable getTable in graph_ds.Tables )
{
foreach (DataRow getRow in getTable.Rows )
{
//extract the values from the 24 columns
string a = getRow["col1"].ToString();
string b = getRow["col2"].ToString();
string c = getRow["col3"].ToString();
string d = getRow["col4"].ToString();
string e = getRow["col5"].ToString();
..........

string x = getRow["col24"].ToString();

..........

//store them in an array
float [] b = new float[24];
b[0]= float.Parse(a);
b[1]=float.Parse(b);
b[2]=float.Parse(c);
b[3]=float.Parse(d);
..........

b[23]=float.Parse(x);


}
}
Is there any other shorter method.?

(2)i've got 24 column in my database. after i've selected a row based on a certain condition, how do i get the biggest value in this 24 column?



Chris
GeneralRe: dbms extraction Pin
J4amieC11-Oct-04 0:18
J4amieC11-Oct-04 0:18 
GeneralRe: dbms extraction Pin
Stanciu Vlad11-Oct-04 0:18
Stanciu Vlad11-Oct-04 0:18 
GeneralRe: dbms extraction Pin
Anonymous11-Oct-04 5:32
Anonymous11-Oct-04 5:32 
GeneralRe: dbms extraction Pin
xiaowenjie11-Oct-04 5:39
xiaowenjie11-Oct-04 5:39 
GeneralRe: dbms extraction Pin
xiaowenjie11-Oct-04 18:06
xiaowenjie11-Oct-04 18:06 
GeneralRe: dbms extraction Pin
xiaowenjie11-Oct-04 21:58
xiaowenjie11-Oct-04 21:58 
GeneralControl dependent event-firing. Pin
NietzscheDisciple10-Oct-04 17:07
NietzscheDisciple10-Oct-04 17:07 
GeneralRe: Control dependent event-firing. Pin
Heath Stewart10-Oct-04 18:16
protectorHeath Stewart10-Oct-04 18:16 
GeneralUrgent Plz.. Help needed on converting 12 bit greylevel... Pin
Kiran Satish10-Oct-04 14:42
Kiran Satish10-Oct-04 14:42 
GeneralRe: Urgent Plz.. Help needed on converting 12 bit greylevel... Pin
Christian Graus10-Oct-04 16:02
protectorChristian Graus10-Oct-04 16:02 
GeneralRe: Urgent Plz.. Help needed on converting 12 bit greylevel... Pin
Kiran Satish10-Oct-04 16:22
Kiran Satish10-Oct-04 16:22 
GeneralRe: Urgent Plz.. Help needed on converting 12 bit greylevel... Pin
Kiran Satish10-Oct-04 18:19
Kiran Satish10-Oct-04 18:19 
GeneralRe: Urgent Plz.. Help needed on converting 12 bit greylevel... Pin
Kiran Satish11-Oct-04 6:12
Kiran Satish11-Oct-04 6:12 
GeneralRe: Urgent Plz.. Help needed on converting 12 bit greylevel... Pin
Christian Graus11-Oct-04 10:18
protectorChristian Graus11-Oct-04 10:18 
GeneralXP visual styles Pin
Mr.Cooper10-Oct-04 13:44
Mr.Cooper10-Oct-04 13:44 
GeneralRe: XP visual styles Pin
Heath Stewart10-Oct-04 18:00
protectorHeath Stewart10-Oct-04 18:00 
GeneralRe: XP visual styles Pin
Alex Korchemniy11-Oct-04 16:40
Alex Korchemniy11-Oct-04 16:40 

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.