dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online MembersKalandiyur Subramanian
Aarati
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




Forums » .NET » .NET »

Datagrid in vb.net windows application


Posted Date: 23 Apr 2010      Posted By:: nirav     Member Level: Gold    Member Rank: 297     Points: 1   Responses: 4



Hi,
I have datagrid which is bind dynamically. Now i have to display header text for each column either data in grid or not.How to do...?




Responses

#497980    Author: Asheej T K        Member Level: Diamond      Member Rank: 2     Date: 24/Apr/2010   Rating: 2 out of 52 out of 5     Points: 2

Refer below link,

http://www.c-sharpcorner.com/UploadFile/sd_patel/DataGridHeaderText11232005050843AM/DataGridHeaderText.aspx


Regards,
Asheej T K
Microsoft MVP[ASP.NET/IIS]
DotNetSpider MVM

Dotnet Galaxy



 
#497987    Author: shinurag      Member Level: Silver      Member Rank: 3372     Date: 24/Apr/2010   Rating: 3 out of 53 out of 53 out of 5     Points: 3

hii.. nirav

here is the sample windows application...

check this one and contact me if still on trouble...



DotNetSpiderCS.zip
 
#497998    Author: nirav      Member Level: Gold      Member Rank: 297     Date: 24/Apr/2010   Rating: 2 out of 52 out of 5     Points: 2

Hi, Shinurag

Thanks for replying with attachment

But, still i am facing problem..

Actually i have datagrid in vb.net window application. Where datagrid is bind dynamically.

And in it i taken first column as hidden ID (ContactId in database).Because my requirement is when user click on that particular column's row then that data is displayed on another form for updating.. After on that second form he/she clicks on update data reflects on that datagrid...
So, i taken first column as hidden id(not visible on datagrid) with contactID (unique for each record) to fetch that particular record ..

Comparison with your application and my requirement, where in your application datagrid, first column where asterisk sign is there, is my hidden id column with contact id(not visible to user,Only used for click to open another window for updating).

Now i want only text on that first column first row as "Click here to update" ....How to do that?

Or instead of that i can add new column in grid as edit button ....But,,How to do that also....Where data bind in grid is dynamically..



Please response......

Thanks a lot.....






 
#500204    Author: shinurag      Member Level: Silver      Member Rank: 3372     Date: 29/Apr/2010   Rating: 2 out of 52 out of 5     Points: 2

hii nirav,,

am attatching a new appliation for you just chek it out.ok



DotNetSpiderVB.zip
 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Next : Adrotator
Previous : Datagridview rows and change the color
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.