خرید بک لینک
سلام

قطعه کد ریز رو نوشتم :

DataGridView1.CurrentRow.Cells(7).Value = DataGridView1.CurrentRow.Cells(3).Value.ToString - DataGridView1.CurrentRow.Cells(6).Value.ToString * DataGridView1.CurrentRow.Cells(5).Value.ToString


ولی ارور زیر رو میده :

کد HTML:

An exception of type 'System.InvalidCastException' occurred in Microsoft.VisualBasic.dll but was not handled in user code
Additional information: Conversion from string "۳۲۴۲" to type 'Double' is not valid.

ممنون میشم بررسی کنید

باتشکر

برچسب: نویسنده: خنج تاريخ: چهارشنبه 27 دی 1396 ساعت: 16:57

صفحه بندی