How to split data from 1 single text box to multple rows in mshflexgrid
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: How to split data from 1 single text box to multple rows in mshflexgrid

  1. #1
    Join Date
    Jan 2008
    Posts
    20

    Question How to split data from 1 single text box to multple rows in mshflexgrid

    Hi

    Can anyone tell me "How to split data from 1 single text box to multiple rows in mshflexgrid"

    eg: if I have 1 text box have quantity 1000 and I want to divide this quantity in 5 (5 X 200) and same quantity need to go in mshflexgrid's row and column through command button.

    like this..
    Sr no Quantity
    1 200
    2 200
    3 200
    4 200
    5 200
    total 1000

  2. #2
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,240

    Re: How to split data from 1 single text box to multple rows in mshflexgrid

    you could use a loop and the textmatrix(row,col) property of the grid
    Always use [code][/code] tags when posting code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


On-Demand Webinars (sponsored)