K knockyo Well-known member Joined Sep 20, 2006 Messages 78 Programming Experience 1-3 Nov 10, 2006 #1 i want to take below data at "txnComment" that i highlight. after i select the column, i just need the take the data that hv value picture show below: hope expert help me, thx
i want to take below data at "txnComment" that i highlight. after i select the column, i just need the take the data that hv value picture show below: hope expert help me, thx
cjard Well-known member Joined Apr 25, 2006 Messages 7,081 Programming Experience 10+ Nov 12, 2006 #2 For Each dr as DataRow In DirectCast(myDataGrid.DataSource, DataTable).Rows If dr("txnComment") IsNot Nothing Then ... Upvote 0 Downvote
For Each dr as DataRow In DirectCast(myDataGrid.DataSource, DataTable).Rows If dr("txnComment") IsNot Nothing Then ...
K knockyo Well-known member Joined Sep 20, 2006 Messages 78 Programming Experience 1-3 Nov 12, 2006 #3 sorry, i miss smth to 4get tell you all, that table is not a datagrid, tht is sql server database records.. Thx Upvote 0 Downvote
sorry, i miss smth to 4get tell you all, that table is not a datagrid, tht is sql server database records.. Thx
cjard Well-known member Joined Apr 25, 2006 Messages 7,081 Programming Experience 10+ Nov 13, 2006 #4 SELECT txnComment FROM table WHERE txnComment IS NOT NULL Upvote 0 Downvote
K knockyo Well-known member Joined Sep 20, 2006 Messages 78 Programming Experience 1-3 Nov 13, 2006 #5 i cannot using sql command to select the above txncomment, this is because the above data i already use stored procedure to generate. Eg: select * from tblcomment where uniqueid='stored procedure (data above display)' so i need use VB.net code to select the data of txncomment Upvote 0 Downvote
i cannot using sql command to select the above txncomment, this is because the above data i already use stored procedure to generate. Eg: select * from tblcomment where uniqueid='stored procedure (data above display)' so i need use VB.net code to select the data of txncomment
cjard Well-known member Joined Apr 25, 2006 Messages 7,081 Programming Experience 10+ Nov 13, 2006 #6 select txnComment from tblcomment where uniqueid='stored procedure (data above display)' and txnCOmment IS NOT NULL Upvote 0 Downvote
select txnComment from tblcomment where uniqueid='stored procedure (data above display)' and txnCOmment IS NOT NULL