Dim FieldValue As String = ""
If e.Row.RowType = DataControlRowType.DataRow Then
FieldValue = DataBinder.Eval(e.Row.DataItem, "fieldname")
End If
-
The "Ten Commandments", if you will, of .NET development. Definitely not limited to ten, nor groundbreaking by any means, this blog emphasizes simple code that any .NET developer should know; without the fluff and bloated code examples. "Just show me how to..."
Dim FieldValue As String = ""
If e.Row.RowType = DataControlRowType.DataRow Then
FieldValue = DataBinder.Eval(e.Row.DataItem, "fieldname")
End If
No comments:
Post a Comment