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
vitenyi_iPosted Oct 12, 2004, 12:34 PM
vitenyi_iPosted Oct 12, 2004, 12:31 PM
MykoninePosted Oct 12, 2004, 2:40 AM