Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 1.0
This is the forum to discuss the Wrox book Beginning ASP.NET 1.0 with C# by Chris Goode, John Kauffman, Christopher L. Miller, Neil Raybould, S. Srinivasa Sivakumar, Dave Sussman, Ollie Cornes, Rob Birdwell, Matt Butler, Gary Johnson, Ajoy Krishnamoorthy, Juan T. Llibre, Chris Ullman; ISBN: 9780764543708
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 1.0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 17th, 2004, 12:34 PM
Authorized User
Join Date: Jul 2004
Location: St. John\'s, NL, Canada.
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default DataGrid Cell

I have the following datagrid that I am trying to get the UserID so I may have something for my where clasue in a Select statment.
    <table id="tbldatagrid" align="center" border="0">
                        <asp:datagrid runat="server" id="UserDataGrid" AutogenerateColumns="False" BorderColor="Black" Font-Size="11" Font-Name="Arial" BackColor="White" HeaderStyle-HorizontalAlign="Center" Headerstyle-Font-Bold="True" Headerstyle-Font-Size="12" Headerstyle-Font-Name="Arial" Headerstyle-BackColor="White" cellspacing="0" cellpadding="2" GridLines="Both" OnEditCommand="EditCommand">
                                <asp:BoundColumn DataField="UserID" HeaderText="User ID" ItemStyle-HorizontalAlign="Center" ReadOnly="false"></asp:BoundColumn>
                                <asp:BoundColumn DataField="Name" HeaderText="Name" ItemStyle-HorizontalAlign="Center" ReadOnly="False"></asp:BoundColumn>
                                <asp:BoundColumn DataField="Username" HeaderText="Username" ItemStyle-HorizontalAlign="Center" ReadOnly="False"></asp:BoundColumn>
                                <asp:BoundColumn DataField="Password" HeaderText="Password" ItemStyle-HorizontalAlign="Center" ReadOnly="False"></asp:BoundColumn>
                                <asp:EditCommandColumn ButtonType="LinkButton" editText="View Details" ItemStyle-HorizontalAlign="Center" HeaderText="Details"></asp:EditCommandColumn>

Any ideas on how to this??



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Datagrid: cell backcolor kesar ASP.NET 2.0 Professional 1 January 12th, 2007 01:54 PM
Getting DataGrid Cell Data lifewarped General .NET 2 February 20th, 2005 07:00 PM
DataGrid cell events?? Help Kathryn ASP.NET 1.0 and 1.1 Basics 4 January 31st, 2005 10:12 AM
How do I get the CHANGED value in a datagrid cell? Ron Howerton VB.NET 2002/2003 Basics 2 December 23rd, 2004 10:51 AM
Read cell in the DataGrid? drasko ASP.NET 1.0 and 1.1 Professional 1 December 18th, 2003 10:43 AM

All times are GMT -4. The time now is 05:42 PM.

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