try this.. :)
1) The name 'clearData' does not exist in the current context E:\mine\WebSite8\Gridview.aspx.cs
solution
You can remove
clearData();
or make function having name
clearData()
like this... :)
public void clearData() {
}
2)Error 7 The name 'Label1' does not exist in the current context E:\mine\WebSite8\Gridview.aspx.cs
either you can out Label1 in your designer(aspx) page or you can remove it from your code
3) The name 's' does not exist in the current context E:\mine\WebSite8\Gridview.aspx.cs
You have to defined it as a string like that
string s = ConfigurationManager.ConnectionStrings["ChartDatabaseConnectionString"].ConnectionString;
4)The name 'WebConfigurationManager' does not exist in the current context E:\mine\WebSite8\Gridview.aspx.cs
try this instead of '
WebConfigurationManager
'
string s = ConfigurationManager.ConnectionStrings["ChartDatabaseConnectionString"].ConnectionString;
try to justify your code with regular required paranthysis and try to explore solution by your self