Torna al Thread

Public Function pRecuperaDescrizioneDaGRD(ByVal NomeGrd As DataGridView, ByVal NomeColonna As String) As String Dim Riga As DataGridViewRow Dim Cella As DataGridViewCell Riga = NomeGrd.CurrentRow If Riga.Index < 0 Then Return "" End If Cella = NomeGrd.Item(NomeColonna, Riga.Index) If CStr(Cella.Value) = "" Then Return "" Else pRecuperaDescrizioneDaGRD = Cella.Value End If End Function
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5