Home » 2011 » June » 09

Archive for June 9, 2011

.NET Form/GridView Update Command Property

Insert this code right below <!DOCTYPE html PUBLIC “…..”> tag: Sub UpdateMessage(ByVal source As Object, ByVal e As SqlDataSourceStatusEventArgs) If e.AffectedRows > 0 Then ‘ Perform any additional processing, ‘ such as setting a status label after the operation. Label1.Text = “- Information updated successfully!” Else Label1.Text = “No data updated!” End If End Sub […]