TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rcoob
NA
1
0
Editing rows in a Datagrid
Aug 6 2004 12:05 PM
I have a datagrid that I am using to track inventory. The datagrid pulls from a Access database query and populates it. I want to have a hyperlink at the end of each row that allows you to edit the information for that particular row and saves the changes to the database (reassign a computer to a different user for instance). I don't care if the hyperlink opens up a new web form or if I can do it from the original datagrid. Any help would be greatly appreciated. Thanks. Sub Page_Load If Not Page.IsPostBack Then DBConnection = New OleDbConnection( _ "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=OMLET.mdb") DBConnection.Open() SQLString = "SELECT * FROM qry_test" DBCommand = New OleDbCommand(SQLString, DBConnection) DBReader = DBCommand.ExecuteReader() DataGridDisplay.DataSource = DBReader DataGridDisplay.DataBind() DBReader.Close() DBConnection.Close() End If
Reply
Answers (
1
)
Panel Control compatibility with Netscape Browser
Connection Pooling Problem