GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  VB.NET
Go To First  |  Previous Question  |  Next Question 
 VB.NET  |  Question 20 of 60    Print  
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 ?

  
Total Answers and Comments: 7 Last Update: February 16, 2007     Asked by: Hari 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 11, 2006 15:37:57   #1  
pappettanus        

RE: 1)What is the difference between vb and vb.net ?
vb is object based and vb.net is object oriented.In VB.net oops concept is used.
 
Is this answer useful? Yes | No
August 17, 2006 11:35:17   #2  
Mamata Kalbande        

RE: 1)What is the difference between vb and vb.net ?

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.


 
Is this answer useful? Yes | No
August 20, 2006 10:58:44   #3  
R Krishna Prasadh        

RE: 1)What is the difference between vb and vb.net ?

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.


 
Is this answer useful? Yes | No
August 26, 2006 07:50:48   #4  
sirishagajula Member Since: August 2006   Contribution: 2    

RE: 1)What is the difference between vb and vb.net ?
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
 
Is this answer useful? Yes | No
September 01, 2006 05:22:26   #5  
vipan sabherwal        

RE: 1)What is the difference between vb and vb.net ?
vb.net is fully object orientated high security used in mobile application.
 
Is this answer useful? Yes | No
October 14, 2006 06:14:57   #6  
suhail        

Adding controls to datagrid

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


 
Is this answer useful? Yes | No
February 15, 2007 23:19:03   #7  
kodeswaran        

RE: 1)What is the difference between vb and vb.net ?
I want know what is the diff b/w VB and VB.NET
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape