1)What is the difference between vb and vb.net ?2)How to insert row by row data in datagrid ?3) How to work with repeater controls and give small example program ?

Showing Answers 1 - 15 of 15 Answers

pappettanus

  • Aug 11th, 2006
 

vb is object based and vb.net is object oriented.In VB.net ,oops concept is used.

  Was this answer useful?  Yes

Mamata Kalbande

  • Aug 17th, 2006
 

1) VB.net is object oriented.

2) VB.net supports exception handling.

3) VB.net is strongly typed.

4) VB. net supports multithreading.

5) VB.net now has console applications.

  Was this answer useful?  Yes

R Krishna Prasadh

  • Aug 20th, 2006
 

1.   Visual Basic.NET is object oriented but VB 6 is not so.

2.   Visual Basic.NET supports multi threading but VB doesnt support.

3.   Visual basic.NET supports Managed Code extensions but VB doesnt support.

4.   Both Vb and VB.NET support command line programs.

5.   Both VB and VB.NET support COM and COM+ applications.

6.   VB.NET is strongly typed but VB is not so.

  Was this answer useful?  Yes

sirishagajula

  • Aug 26th, 2006
 

VB:* object based language* does not support inheritance* does not support for disconnected architechture* no interoperability function* no support for threading* no powerful exceptional handling mechanism* does not support console based applications* cannot use more than one version of com objects,this is dll error* does not support threadingVB.NET:* object oriented language* supports inheritance* supports disconnected data architechture* it supports interoperability* uses managed code* supports threading* provides access to third party controls like com,dcom* powerful exceptional handling* having support for the console based applications* more than one version of dll is supported

  Was this answer useful?  Yes

vipan sabherwal

  • Sep 1st, 2006
 

vb.net is fully object orientated,high security,used in mobile application.

  Was this answer useful?  Yes

suhail

  • Oct 14th, 2006
 

Dim cn As SqlConnection
    Dim cmd As SqlCommand
    Dim dr As SqlDataReader
    Dim table As New DataTable

constructor

initialze the cn object like eg

cn = new sqlconnection("server=name;database=name;uid=name;pwd=name;")

write it in the button .click event that add the table dynamicaaly created to datagrid

  Try
            cmd = New SqlCommand
            cmd.CommandType = CommandType.Text
            cmd.Connection = cn
            cmd.CommandText = "select * from manas"
            cn.Open()
            dr = cmd.ExecuteReader()
            Dim i As Integer
            For i = 0 To dr.FieldCount - 1
                table.Columns.Add(i)
            Next
            Dim row As DataRow
            While dr.Read()
                row = table.NewRow()
                For i = 0 To dr.FieldCount - 1
                    row(i) = dr(i)
                Next
                table.Rows.Add(row)
            End While
            DataGrid1.DataSource = table
        Catch ex As Exception
            MsgBox(ex.Message & ex.StackTrace)
        Finally
            cn.Close()
            dr.Close()
        End Try

kodeswaran

  • Feb 15th, 2007
 

I want know what is the diff b/w VB and VB.NET

  Was this answer useful?  Yes

sumanth gowda

  • Nov 29th, 2011
 

VB.Net its purely object oriented language, but not VB
VB.Net it support multi-threading, but VB not so
both VB VB.Net support command line prog.
both support COM COM++
Main thing is VB.Net is strong typed, VB is not so .

For grid, I think just drag from tool box, and make the arrangements in your way, mean to say 2 row or column, in the grid box.

  Was this answer useful?  Yes

Sekhar

  • Feb 5th, 2012
 

In VB there is no CLR.Vb programs are compiled using VB compiler...
In VB.Net there is a common compiler called as CLR.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions