|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
how to translate from c# this instructionHi all,
ca anybody help me to translate to vb .net this c# instruction? string fname = ((TextBox)GridView1.Rows[e.RowIndex]. Cells[1].Controls[0]).Text; Thanks, Carlos Carlos wrote:
> Hi all, DirectCast(GridView1.Rows(e.RowIndex).Cells(1).Controls(0),> > ca anybody help me to translate to vb .net this c# instruction? > > string fname = ((TextBox)GridView1.Rows[e.RowIndex]. > Cells[1].Controls[0]).Text; > > Thanks, > > Carlos TextBox).Text dim fname = directcast(GridView1.Rows(e.RowIndex).Cells(1).Controls(0),
TextBox).Text Also here's a great site for converted vb to c# and vice-versa Thanks, Seth Rowe Carlos wrote: Show quoteHide quote > Hi all, > > ca anybody help me to translate to vb .net this c# instruction? > > string fname = ((TextBox)GridView1.Rows[e.RowIndex]. > Cells[1].Controls[0]).Text; > > Thanks, > > Carlos > Also here's a great site for converted vb to c# and vice-versa And here's where I actually post the URL :-)http://www.harding.edu/USER/fmccown/WWW/vbnet_csharp_comparison.html I sure am glad it's friday... Thanks, Seth Rowe rowe_newsgroups wrote: Show quoteHide quote > dim fname = directcast(GridView1.Rows(e.RowIndex).Cells(1).Controls(0), > TextBox).Text > > Also here's a great site for converted vb to c# and vice-versa > > Thanks, > > Seth Rowe > > > Carlos wrote: > > Hi all, > > > > ca anybody help me to translate to vb .net this c# instruction? > > > > string fname = ((TextBox)GridView1.Rows[e.RowIndex]. > > Cells[1].Controls[0]).Text; > > > > Thanks, > > > > Carlos "rowe_newsgroups" <rowe_em***@yahoo.com> schrieb: => 'Dim fname As String = ...'.> dim fname = directcast -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> > => 'Dim fname As String = ...'. Hehe, like I said it's a good thing its Friday.:-) Thanks,Seth Rowe Herfried K. Wagner [MVP] wrote: Show quoteHide quote > "rowe_newsgroups" <rowe_em***@yahoo.com> schrieb: > > dim fname = directcast > > => 'Dim fname As String = ...'. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://dotnet.mvps.org/dotnet/faqs/> Dim fname As String = CType(GridView1.Rows(e.RowIndex).Cells(1).Controls(0),
TextBox).Text -- Show quoteHide quoteDavid Anton www.tangiblesoftwaresolutions.com Instant C#: VB to C# converter Instant VB: C# to VB converter Instant C++: C#/VB to C++ converter Instant Python: VB to Python converter "Carlos" wrote: > Hi all, > > ca anybody help me to translate to vb .net this c# instruction? > > string fname = ((TextBox)GridView1.Rows[e.RowIndex]. > Cells[1].Controls[0]).Text; > > Thanks, > > Carlos > > >
frmViewAll.DefInstance.Hide()
SQL Stored procedure Streamreader problem Window Size in Runtime Classes and Objects System.BadImageFormatException Deleteing all files from target folder as a presetup task Building my own "SMTP" mail - control ? Hidden form and button PerformClick audio, wav, mps, midi, player |
|||||||||||||||||||||||