اشكرك مشرفنا القدير محمد فؤاد علي الرد ولكن اتبعت كل الطرق الي في المثال ولم يعمل يعطي خطاء ويقف عتد Label10.Text = cmd.ExecuteScalar هذا كود الاتصال Dim con As New SqlConnection("server=.\SQLEXPRESS; Database=hr; Integrated security=true") Dim cmd As New SqlCommand("note", con) كود التايمر Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick Try cmd.CommandType = CommandType.StoredProcedure con.Open() Label10.Text = cmd.ExecuteScalar con.Close() Catch ex As Exception MsgBox(ex.Message) End Try End Sub لا ادي اين الخطاء في الكود واكرر شكري وامتناني