Hi guys,
Sorry actually I am beginner in .Net technologies.Thats why I am facing problems.Any how I found the solution .And here is the solution hoping it will be useful for someone.
Please give the alternatives if any
---Updating_Row(object sender, GridViewUpdateEventArgs e)
{
string str = e.NewValues["quantity"].ToString();
double NUM;
bool isNum = double.TryParse(str, out NUM);
if (isNum==false)
{
e.Cancel = true;
EditMsg.Text = "-- Book Quantity is not numeric. Record not updated";
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.