VB.Net Code translation to C# Code
Hi all,
I would like to translate the following VB .net code lines to c#
If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then
Dim txtHdnEmpID As TextBox = e.Item.FindControl("txtHEmpID")
txtHdnEmpID.Text = e.Item.Cells(1).Text
Dim linkCell As TableCell
linkCell = (e.Item.Cells(1))
Dim strEmpID = e.Item.Cells(1).Text
Dim strForm As String = "EmpDetails.aspx"
linkCell.Text = e.Item.Cells(1).Text End If
Thanks a Lot in Advance.
Cheers,
Kagita Srihari