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
twb
NA
1
0
c# method Select()
Nov 18 2006 2:54 PM
I am a beginer to c# so any help would be appreciated. I am tryig to call a select and unselect method that will select and uselect rows from a datagrid that is populated with data from a mysql database. The error I get is 'System.Web.UI.WebControls.DataGrid' does not contain a definition for 'UnSelect'when I build the application. using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; // this is what I have added using MySql.Data; using MySql.Data.MySqlClient; using System.Xml; using MySql.Data.Types; private void Donext() { //move cursor to the next record if (DataGrid1.SelectedIndex != myDataSet.Tables[0].Rows.Count -1) { DataGrid1.Unselect(DataGrid1.SelectedIndex); DataGrid1.SelectedIndex++; DataGrid1.Select(DataGrid1.SelectedIndex); } } Thank you TWB
Reply
Answers (
0
)
Small Delay in code, WITHOUT timer object
How to get the sql query results in tabular format on webpage without using sql datasource wizard?