- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHi to all,
I am using C1webgrid i am getting approx 50 rows per page . after scrolling i m trying to change some rows so i need to know on which row i am making the changes .
Like in VB the we r getting through rowsproperties.
Please try to send your comments as soon as possible
Thanks a Lot in advance
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: ajaysharmaapjsPosted on 2007-01-03 at 00:52:57ID: 18233768
void C1WebGrid1_UpdateCommand(o bject source, C1CommandEventArgs e) ex * C1WebGrid1.PageSize);
customer = row as SampleDataSet.CustomersRow ;
Controls[0 ]).Text; Controls[0 ]).Text; Controls[0 ]).Text; Controls[0 ]).Text; Controls[0 ]).Text; Controls[0 ]).Text;
{
// Calculate the DataSetIndex since they control doesn't support it
int dataSetIndex = e.Item.ItemIndex +
(C1WebGrid1.CurrentPageInd
// Get the data row
DataRow row = theView[dataSetIndex].Row;
object dataItem = e.Item.DataItem;
// Try to cast it to our customer
SampleDataSet.CustomersRow
// If the customer is correct
if (customer != null)
{
// Save the items
customer.CompanyName = ((TextBox)e.Item.Cells[1].
customer.ContactName = ((TextBox)e.Item.Cells[2].
customer.ContactTitle = ((TextBox)e.Item.Cells[3].
customer.Phone = ((TextBox)e.Item.Cells[4].
customer.City = ((TextBox)e.Item.Cells[5].
customer.Region = ((TextBox)e.Item.Cells[6].
}
C1WebGrid1.EditItemIndex = -1;
DataBind();
}