Server Error in '/' Application.

Index and count must refer to a location within the string.
Parameter name: count

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Index and count must refer to a location within the string.
Parameter name: count

Source Error:


Line 56:             string ab = ds.Tables[0].Rows[0]["About"].ToString();
Line 57: 
Line 58:             string str = ab.Remove(0, 200);
Line 59:             Label8.Text = str.ToString();
Line 60: 

Source File: d:\inetpub\vhosts\technorsolutions.com\saikalpa.com\newdata.aspx.cs    Line: 58

Stack Trace:


[ArgumentOutOfRangeException: Index and count must refer to a location within the string.
Parameter name: count]
   System.String.Remove(Int32 startIndex, Int32 count) +6062646
   newdata.binddata() in d:\inetpub\vhosts\technorsolutions.com\saikalpa.com\newdata.aspx.cs:58
   newdata.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhosts\technorsolutions.com\saikalpa.com\newdata.aspx.cs:27
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0