C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » DataGridView »

Multi view sample code


Posted Date: 19 Jun 2009    Resource Type: Code Snippets    Category: DataGridView
Author: Nikhil GaurMember Level: Diamond    
Rating: 1 out of 5Points: 10



This is a sample code to use multi view control.

first add a multi view control in the page and then drag view from tool bar and drop it to the multiview. add the as much view as you want and select multiview. now set the activieviewindex property to 0 for enabling first view to be default view. then add controls in different view and and place submit button in each view. now on click event of each button write your code and in the end write this code

MultiView1.ActiveViewIndex = NextTabIndex;

NextTabIndex is index of view which you want to show next.

Attachments

  • MultiviewDemo (29409-19160-WebSite1.rar)


  • Responses


    No responses found. Be the first to respond and make money from revenue sharing program.

    Feedbacks      
    Popular Tags   What are tags ?   Search Tags  
    Sign In to add tags.
    View  .  Multiview  .  

    Post Feedback


    This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
    You must Sign In to post a response.
    Next Resource: Populate DataGridView From Excel Sheet
    Previous Resource: DataGridView - Set Default values for New Row
    Return to Discussion Resource Index
    Post New Resource
    Category: DataGridView


    Post resources and earn money!
     
    More Resources



    dotNet Slackers

    About Us    Contact Us    Privacy Policy    Terms Of Use