We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Populate a grid column

Thread ID:





5650 Jul 11,2003 06:14 PM UTC Jul 11,2003 07:03 PM UTC WinForms 1
Tags: GridControl
Steli Andrei
Asked On July 11, 2003 06:14 PM UTC

Hi there, I do have a GridDataBoundGrid and the third column in the grid (Price) is ReadOnly and is being populated based on the value that I select in the first two: CategoryID and PartID (I go in the database and I retrieve the price of an item based on its Category and its PartID). When I display the Price in the column a new row gets added to the grid. If I display the PackSize, another one gets added. Should I go with Me.grid.item(row, col).CellValue.ToString = Price or Me.grid.item(row,col).Text = Price. I've tried wrapping up the dispaly with EnabledAddNew = False and then back True but, I don't like it. Is there any other way ? Thank you.

Administrator [Syncfusion]
Replied On July 11, 2003 07:03 PM UTC

Hi, A while back I got similar issue. Clay helped me out. Check this out. http://www.syncfusion.com/forums/message.asp?MessageID=5084 You may want to make your Price column celltype to "Static". thanks, - Reddy


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon