0

hi all,
iam familier to php forum here but completely new to vb.net, i am developing a web application using oracle database,vb.net and asp.net,just stuck up with generating manage content table with edit and delete you can see it in image file attached which is done in php
here is the code i struct up with

Dim oradb As String = "........,,,"  'i didnt remember the code here posting from office it worked fine no problem here
Dim dtbe As String
Dim conn As New OracleConnection(oradb) ' Visual Basic
conn.Open()

Dim cmd As New OracleCommand
cmd.Connection = conn
cmd.CommandText = "select deptno, dname, loc from dept"; 
cmd.CommandType = CommandType.Text

Dim dr As OracleDataReader = cmd.ExecuteReader()
dtbe = "<table><tr>"
While dr.Read()
    dtbe = "<td>"+dr.item("dname")+"</td>"
End While
dtbe="</tr></table>"

is there any other way to do this in php it is very easy to do this,i am finding it difficult to do this in vb.net(ofcourse iam new to vb.net )

please help me to do this
thanks in advance

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by praveen_dusari
0

Use/Learn ASP.NET controls - DataControls (GridView, DataList, ListView etc). You can do so much better than PHP.

0

Use/Learn ASP.NET controls - DataControls (GridView, DataList, ListView etc). You can do so much better than PHP.

thank you, just waiting for a hint how to do

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.