U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » SqlCtrl accessing
SqlCtrl accessing [message #12884] Sun, 25 November 2007 10:07 Go to previous message
alex100 is currently offline  alex100
Messages: 118
Registered: November 2007
Experienced Member
Hi,

I have an sqlctrl showing to columns of a database table (ID, NAME). It is showing 5000 rows of data.

How to I get the data from the second row, second column?

I trying this withoud success:

Value k(DBGrid.Get(1,1));
String s=k.ToString();
PromptOK(s);

or

Value k(DBGrid.Get(0,1));
String s=k.ToString();
PromptOK(s);



or

Value k(DBGrid.Get(1,0));
String s=k.ToString();
PromptOK(s);

Is this the right way? It seems to show always the value of the first column. How to get data from a Value Type?

Env: WinXP, upp 2007.1

Thanks
Alex

 
Read Message
Read Message
Read Message
Previous Topic: Howto: Row Aggregation for ArrayCtrl
Next Topic: The DataPusher(?) does not show up
Goto Forum:
  


Current Time: Tue Apr 28 22:58:25 GMT+2 2026

Total time taken to generate the page: 0.00483 seconds