ASP.NET 2003 AND Oracle 10g
- From: "AK" <AdilKhan.A@xxxxxxxxx>
- Date: 14 Apr 2006 07:00:27 -0700
Hi there,
I am developing a simple data entry form using VB.NET. Backend database
is Oracle 10g. I am using disconnected data. I like to fill text boxes
on the page with column default values when the form first loaded.
I tried to read data_default from dba_tab_cols but it returns error for
illegal conversion because data_default column has long type. I tried:
Me.TextBox1.Text = ds.Tables("TableName").Columns.DefaultValue
I also tried to create a new dataset and pull the data_default from
dba_tab_cols and assign it to a integer variable because my table clomn
type is number:
For Each datarow In dataset.Tables("TableName").Rows
If datarow("COLUMN_NAME") = "ColumnName" Then
intVar = datarow.Item("DATA_DEFAULT")
End If
Next
No success yet. I know it is doable without creating a package or
procedure because in some other applications we used a third part grid
control and it took care of it seamlessly without writing a single line
of code, but for some limitations grid is not useable here.
Any suggestions.
AK
.
- Prev by Date: Re: MSDAORA provider not found
- Next by Date: How to install jet on XP, 2003
- Previous by thread: Re: MSDAORA provider not found
- Next by thread: How to install jet on XP, 2003
- Index(es):
Relevant Pages
|
|