Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

examples of updateable sortable gridview

Posted on 2011-09-08
5
Medium Priority
?
235 Views
Last Modified: 2012-05-12
The short and sweet is I have a gridview built in codebehind with textbox and button added to add a note to the record.  The gridview is also sortable.

Problem is it only works if the user does not sort the grid.  I know it is something I am doing wrong due to inexperience.

I am asking that someone send me links to examples of creating a sortable gridview that supports updating also with a textbox for a note and a button to udpate the record.  It doe snot  matter if it is vb.net or c#.  I am searching but so far only have found one or the other but not both together.   Thanks.

0
Comment
Question by:thamilto0410
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 36506077
The textbox and button is only visible when the grid is in Edit mode right?
0
 
LVL 1

Author Comment

by:thamilto0410
ID: 36507249
Codecruiser:  I did figure out a workaround and can now sort and/or update.  
Still I am new to this learning of vb.net and c#.net .   If you could send me some really good websites with usable examples of code for a fairly new beginner I will grant you the points.  Thank you.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 1000 total points
ID: 36513368
0
 
LVL 1

Author Closing Comment

by:thamilto0410
ID: 36528511
I am just getting started so I needed some good examples to learn from.  Thank you codecruiser.  Till next time.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 36532044
Glad to help :-)
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question