怎么样单击触发DataGrid
怎么样单击触发DataGrid
[解决办法]
DataGrid_click???
[解决办法]
............DataGrid_click............
if DataGrid绑定的ADO.recount> 0 then
'触发内容
endif
[解决办法]
For i = 0 To rs.Fields.Count - 1
Text1.Text = Text1.Text & rs.Fields(i).Value
Next i
[解决办法]
For i = 0 To rs.Fields.Count - 1
Text1.Text = Text1.Text & DataGrid1.Columns(i)
Next i
[解决办法]
DataGrid绑定的ADO假设为MyData
............DataGrid_click............
if MyData.recount> 0 then
'触发内容
text1.text=MyData.fileds(0)
text2.text=MyData.fileds(1)
text3.text=MyData.fileds(2)
text4.text=MyData.fileds(3)
text5.text=MyData.fileds(4)
.........................
endif