Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 841005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:43:15+00:00 2026-05-15T05:43:15+00:00

<asp:GridView ID=GridView3 runat=server Width=100% DataSourceID=SDSAllowPaging=True AutoGenerateColumns=False > <Columns> <asp:BoundField DataField=Hint HeaderText=textSortExpression=Hint /> <asp:BoundField DataField=Visi

  • 0
<asp:GridView ID="GridView3" runat="server" Width="100%"
         DataSourceID="SDS"AllowPaging="True"
         AutoGenerateColumns="False" 
         >
<Columns>
<asp:BoundField DataField="Hint"
         HeaderText="text"SortExpression="Hint"
         />
<asp:BoundField DataField="Visi"
         HeaderText="bool val"
         SortExpression="Visi"
         />
</Columns>
</asp:GridView>

How to make “bool val” Field as a checkbox and editable without making 1st field (Hint) editable.

And how to insert method to update my database on check / uncheck this checkbox

SDS is SqlDataSource with stored procedure on select command.

thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T05:43:16+00:00Added an answer on May 15, 2026 at 5:43 am

    Convert both of them to a template field. Edit both edit template to make the hint read only (or a label) and the checkbox have auto-postback.

    It should call the RowEditing function when you click on the checkbox while in edit mode. So put you’re update code in there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was trying to do this : <asp:GridView ID=gvBugList runat=server AutoGenerateColumns=False ShowHeader=False DataSourceID=linqDSBugList Width=100%
I have a Datagrid which looks as under <asp:GridView ID=dgTask runat=server Width=100% AutoGenerateColumns=False> <Columns>
I have a Gridview <asp:GridView ID=GridView1 runat=server Width=400px AutoGenerateColumns=false OnSelectedIndexChanged=GridView1_SelectedIndexChanged1> <Columns> <asp:TemplateField> <ItemTemplate> <asp:CheckBox
I want to populate GridView below with images: <asp:GridView ID=GrdDynamic runat=server AutoGenerateColumns=False> <Columns> </Columns>
Sample <asp:GridView ID=data_basic_addresses runat=server AllowPaging=False BorderWidth=0 AllowSorting=True AutoGenerateColumns=False DataKeyNames=AddressId HorizontalAlign=Center DataSourceID=LinqAddressDS PageSize=20 CssClass=GridViewClass> <Columns>
Hey so I have a gridview as follows <asp:GridView ID=productListTable runat=server DataSourceID=srcProductListPerCustomer AutoGenerateColumns=False AlternatingRowStyle-CssClass=tr_dark
<asp:GridView ID=GridView2 runat=server DataSourceID=SqlDataSource1 Width=100% ondatabound=GridView2_DataBound CellPadding=4 ForeColor=#333333 GridLines=both onrowdatabound=GridView2_RowDataBound HorizontalAlign=Center AllowPaging=True PageSize=25 onrowcreated=GridView2_RowCreated>
protected void GridView1_DataBound(object sender, EventArgs e) { GridView1.Columns[0].ItemStyle.Width = 400; <asp:GridView ID=GridView1 runat=server DataSourceID=ObjectDataSource1
I have the following aspx: <asp:GridView ID=GridView1 runat=server AutoGenerateColumns=False BorderStyle=None Font-Names=Verdana Font-Size=12px OnSelectedIndexChanged=GridView1_SelectedIndexChanged ShowHeader=False
Relation between idc=courseID HTML of Grid view <asp:GridView ID=GridView1 runat=server AutoGenerateColumns=False DataKeyNames=id DataSourceID=EntityDataSource1> <Columns>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.