.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links


Posted By:      Posted Date: September 02, 2010    Points: 0   Category :ASP.Net
I am using ASP.NET with VB and in vb code I put a Msgbox, but when the msgbox appear it is minimize. Is it possible show the msgbox normal.   Dim resposta As Integer = MsgBox("Deseja consultar os dados deste paciente", MsgBoxStyle.Exclamation + MsgBoxStyle.YesNo, "Consultar Informações") Thanks 

View Complete Post

More Related Resource Links

MsgBox Displays the Data but DataGridView Doesn't


This little bit of code ...

Sub DisplayStuff()
    With Group01(NextRDi)
      Dim row() As String = {.Level, .name, .PicText, .offset.ToString, .SrcLen.ToString}
      MsgBox(.Level & " " & .name & " " & .PicText & " " & .offset.ToString & " " & .SrcLen.ToString)
      Dim rowS() As Object = {row}
    End With

  End Sub

... results in MsgBox output which looks correct.  But in my DataGridView (dgv) I see "System.String[]" for all rows in the first column (level) and all of the other values (all rows and all columns) are blank.

Can someone please tell me what I failed to do or what I am doing wrong?

Thanks,  Bob


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend