How to set column as readonly on Gridview?

How do you set up a gridview with vb.net?

  • How would I go about setting the values of the gridview so that It will change dynamically when certain fields in the table have a certain value. I am Trying to display the Delete button in the grid when one of the fields is equal to 1. I have tryed a few things but have failed, any help would be appreciated.

  • Answer:

    fist place the grid then place the sqldatasource configure it by selecting the connection string then click on the table -> next -> clickon the advance -> check on the insert,update,delete option -> next ->testquery ->ok go to the gridview click on Smart Tag select the data source , then enable edit,delete check box options it will work..

Sheena W at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.