I have a project in VB6 and I need help in how to get the number of selected rows in a Datagrid.. I have already tried using datagrid1.selBookmarks.count but it doesnt seem to work.. i have set the marquee style property of the datagrid into highlight rows.
Can someone give me an insight about this..
romz 0 Newbie Poster
Recommended Answers
Jump to Post— Jx_Man 987If you want to know how many rows are selected then
DataGrid1.SelBookmarks.Countworks great to me.
Jump to Post— Jx_Man 987its working if im not using "datagrid marquee style= highlight rows".. but i really nid to highlight all the column in a row when someone click on it. should i just use for loop to get the number of rows highlighted? or you have a better idea for this?
It's …
All 5 Replies
Jx_Man 987 Nearly a Senior Poster Featured Poster
romz 0 Newbie Poster
Jx_Man 987 Nearly a Senior Poster Featured Poster
romz 0 Newbie Poster
Jx_Man 987 Nearly a Senior Poster Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.