Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · ASP.NET Newsletter Application · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : .NET : ADO.NET : CS1501: No overload for method 'DoUpdateName' takes '12' arguments Signup · Login
Author Thread
CS1501: No overload for method 'DoUpdateName' takes '12' arguments
Posted in tutorial: Viewing/Adding/Editing/Removing Records from MySQL using ASP.NET DataGrid control
·  llchew
User
Joined: 2 Feb 2006
Total Posts: 1

CS1501: No overload for method 'DoUpdateName' takes '12' arguments

Posted: 2 Feb 2006
seek help to resolve the above mentioned error when i run compile. don't understand what it meant !!
below is my code >>>>>>>>


private void DataGrid1_UpdateCommand(object sender, DataGridCommandEventArgs e)
{

Literal literal1 = (Literal)e.Item.FindControl("Literal1");
TextBox textbox1 = (TextBox)e.Item.FindControl("TextBox1");
TextBox textbox2 = (TextBox)e.Item.FindControl("TextBox2");
TextBox textbox3 = (TextBox)e.Item.FindControl("TextBox3");
TextBox textbox4 = (TextBox)e.Item.FindControl("TextBox4");
TextBox textbox5 = (TextBox)e.Item.FindControl("TextBox5");
TextBox textbox6 = (TextBox)e.Item.FindControl("TextBox6");
TextBox textbox7 = (TextBox)e.Item.FindControl("TextBox7");
TextBox textbox8 = (TextBox)e.Item.FindControl("TextBox8");
TextBox textbox9 = (TextBox)e.Item.FindControl("TextBox9");
TextBox textbox10 = (TextBox)e.Item.FindControl("TextBox10");
TextBox textbox11 = (TextBox)e.Item.FindControl("TextBox11");

DoUpdateName(Convert.ToInt32(literal1.Text),textbox1.Text.Trim(),textbox2.Text.Trim(),textbox3.Text.Trim(),textbox4.Text.Trim(),textbox5.Text.Trim(),textbox6.Text.Trim(),textbox7.Text.Trim(),textbox8.Text.Trim(), textbox9.Text.Trim(), textbox10.Text.Trim(),textbox11.Text.Trim());


HtmlTable1.Visible = true;
DataGrid1.EditItemIndex = -1;
BindDataGrid();

}

chew
Want to leave a comment? Login or Register for free!

Users Who Have Visited This Thread In Last 24 Hours
2 Visitors

Login to post a comment or start a new thread
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2010 Stardeveloper.com, All Rights Reserved.