i need output as 348.00
but am getting as 348 only
string MyStr1s = hyrs.Split('.');
int hor1 = Convert.ToInt16(MyStr1s);
int in1 = Convert.ToInt16(MyStr1s);
TextBox8.Text = Convert.ToString(hor1);
TextBox9.Text = Convert.ToString(in1);
TextBox10.Text =TextBox8.Text + "." + TextBox9.Text;
Server Error in '/bramandam site' Application.
Index was outside the bounds of the array.
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.IndexOutOfRangeException: Index was outside the bounds of the array.
Bookmark and Share: