Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 30th, 2007, 01:52 AM
Registered User
Join Date: May 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Some questions to Gridview

1. If I'm using your code (Chapter 11.55) for one of my tables, I have some problems. My table has tree columns (and tree rows) without primary key. (I knocked on )

2. Two tablecolumns (in database) are declared as nvarchar(50). What type in Gridview is usefull? Or other declaration in tablecolumn?

3. If buttons EDIT, etc. are in Auto mode, is it OK. But if i want to work manually, I must klick on button two times and in addition editing row cells are empty.


        Style="z-index: 100; left: 32px; position: absolute; top: 16px"
            OnSelectedIndexChanged="GridView1_SelectedIndexCha nged"

          <asp:boundfield datafield="DELKA_KOD"
            headertext="Kod_kazety" />
            <asp:boundfield datafield="DELKA_KAZETY"
            headertext="Delka_kazety" />
            <asp:boundfield datafield="POPIS"
            headertext="Poznamka" />

        ConnectionString="<%$ ConnectionStrings:saraConnectionString %>"
        SelectCommand="SELECT TAB_DELKY.* FROM TAB_DELKY"

        <asp:Parameter Type="String" Name="DELKA_KAZETY" /><asp:Parameter />
        <asp:Parameter Type="String" Name="DELKA_KOD" /><asp:Parameter />
        <asp:Parameter Type="String" Name="POPIS" /><asp:Parameter />


protected void CustomersGridView_RowEditing(Object sender, GridViewEditEventArgs e)


         int cisloradku, cisloradku1;
         cisloradku = e.NewEditIndex;
         GridView1.EditIndex = cisloradku;


Similar Threads
Thread Thread Starter Forum Replies Last Post
.NET Interview Questions, C# Interview Questions, dotnetuncle .NET Framework 2.0 4 June 22nd, 2019 07:03 AM
Get GridView Cell Value Based on GridView Column stublair C# 2008 aka C# 3.0 0 September 4th, 2008 08:30 AM
Please help with these questions AccessAasif@aol.com C# 1 February 28th, 2008 07:14 PM
Some questions to Gridview Fikus123 BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 0 May 30th, 2007 01:46 AM
questions anshul Javascript How-To 1 April 12th, 2004 07:29 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.