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

Recommended Answers

All 2 Replies

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.