Home » U++ Library support » U++ SQL » Simple U++ Sql Tutorial
Re: Simple U++ Sql Tutorial [message #9427 is a reply to message #9425] |
Mon, 07 May 2007 15:45 |
|
datagrid.Add(String(sql[1]), IntStr(sql[2]), IntStr(sql[3]), String(sql[4]), String(sql[5]), String(sql[6]));
BTW, I suppose datagrid is an ArrayCtrl variable. There is no need to conver sql values to string type as arrayctrl can store different type values and display them properly. This line of code should rather look like:
datagrid.Add(sql[1], sql[2], sql[3], sql[4], sql[5], sql[6]);
or like in your case if you store sql values in array ctrl one by one this row can be written simply as:
[Updated on: Mon, 07 May 2007 15:45] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun May 12 17:39:13 CEST 2024
Total time taken to generate the page: 0.02509 seconds
|