473,563 Members | 2,732 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

sqlDataReader not returning records when called inside class

I have a funtion that works fine and dandy when called from anywhere in my
app. It will NOT work when called from inside the class in which it resides.

This is the function I'm calling: "getProductByID (productID)" from inside
another method in the same class. See below.

This line throws a null ref exception:
While dr.Read()

Thanks for any insight!

Public Sub deleteProduct(B yVal productID)

'Set up parameters
Dim arParms(0) As SqlParameter
arParms(0) = New SqlParameter("@ productID",
SqlDbType.Uniqu eIdentifier)
arParms(0).Valu e = productID

'get the images to delete
Dim context As System.Web.Http Context = System.Web.Http Context.Current
Dim dr As SqlDataReader = getProductByID( productID)

Dim thumbImg As String
Dim fullImg As String

While dr.Read()
'delete thumb
fullImg = context.Applica tion("webRoot") &
"vendorImag es/" & dr.Item("galler yFolder").ToStr ing & "/" &
dr.Item("imageF ull").ToString
fullImg = context.Current .Server.MapPath (fullImg)
Dim thisImgFull As New System.IO.FileI nfo(fullImg)
thisImgFull.Del ete()
End While
.... omitted for brevity
End Sub
Nov 18 '05 #1
8 2065
Hi,

Try:

Dim dr As New SqlDataReader = getProductByID( productID)

Also make sure that productID actually holds what you want it to when you
pass it. Here:

Public Sub deleteProduct(B yVal productID)

You are not giving it a type, should it be an Integer? Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"bidllc" <bi****@discuss ions.microsoft. com> wrote in message
news:10******** *************** ***********@mic rosoft.com...
I have a funtion that works fine and dandy when called from anywhere in my
app. It will NOT work when called from inside the class in which it resides.
This is the function I'm calling: "getProductByID (productID)" from inside
another method in the same class. See below.

This line throws a null ref exception:
While dr.Read()

Thanks for any insight!

Public Sub deleteProduct(B yVal productID)

'Set up parameters
Dim arParms(0) As SqlParameter
arParms(0) = New SqlParameter("@ productID",
SqlDbType.Uniqu eIdentifier)
arParms(0).Valu e = productID

'get the images to delete
Dim context As System.Web.Http Context = System.Web.Http Context.Current

Dim dr As SqlDataReader = getProductByID( productID)

Dim thumbImg As String
Dim fullImg As String

While dr.Read()
'delete thumb
fullImg = context.Applica tion("webRoot") &
"vendorImag es/" & dr.Item("galler yFolder").ToStr ing & "/" &
dr.Item("imageF ull").ToString
fullImg = context.Current .Server.MapPath (fullImg)
Dim thisImgFull As New System.IO.FileI nfo(fullImg)
thisImgFull.Del ete()
End While
... omitted for brevity
End Sub

Nov 18 '05 #2
HI Ken, thanks for the reply. productID is a uniqueidentifie r and it's
definitely coming in, I've double checked that. I also tried your
suggestiond, but no go. :(

"Ken Dopierala Jr." wrote:
Hi,

Try:

Dim dr As New SqlDataReader = getProductByID( productID)

Also make sure that productID actually holds what you want it to when you
pass it. Here:

Public Sub deleteProduct(B yVal productID)

You are not giving it a type, should it be an Integer? Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"bidllc" <bi****@discuss ions.microsoft. com> wrote in message
news:10******** *************** ***********@mic rosoft.com...
I have a funtion that works fine and dandy when called from anywhere in my
app. It will NOT work when called from inside the class in which it

resides.

This is the function I'm calling: "getProductByID (productID)" from inside
another method in the same class. See below.

This line throws a null ref exception:
While dr.Read()

Thanks for any insight!

Public Sub deleteProduct(B yVal productID)

'Set up parameters
Dim arParms(0) As SqlParameter
arParms(0) = New SqlParameter("@ productID",
SqlDbType.Uniqu eIdentifier)
arParms(0).Valu e = productID

'get the images to delete
Dim context As System.Web.Http Context =

System.Web.Http Context.Current


Dim dr As SqlDataReader = getProductByID( productID)

Dim thumbImg As String
Dim fullImg As String

While dr.Read()
'delete thumb
fullImg = context.Applica tion("webRoot") &
"vendorImag es/" & dr.Item("galler yFolder").ToStr ing & "/" &
dr.Item("imageF ull").ToString
fullImg = context.Current .Server.MapPath (fullImg)
Dim thisImgFull As New System.IO.FileI nfo(fullImg)
thisImgFull.Del ete()
End While
... omitted for brevity
End Sub


Nov 18 '05 #3
Hi,

The problem is that dr is Nothing which means that for some reason your
getProductByID( ) is returning nothing instead of a data reader. I would
step through the code and make sure that getProductByID( ) is passing back a
valid data reader when called from your delete function. Also make sure the
data reader isn't being closed or going out of scope before you pass it
back. Can you post your getProductByID( ) function code and also tell what
the relationship between that and the delete function are code wise? I mean
are they in the same module or different classes. We need to find out why
Nothing is return by getProductByID( ) when called from the delete function
and not from other code in your solution. Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"bidllc" <bi****@discuss ions.microsoft. com> wrote in message
news:86******** *************** ***********@mic rosoft.com...
HI Ken, thanks for the reply. productID is a uniqueidentifie r and it's
definitely coming in, I've double checked that. I also tried your
suggestiond, but no go. :(

"Ken Dopierala Jr." wrote:
Hi,

Try:

Dim dr As New SqlDataReader = getProductByID( productID)

Also make sure that productID actually holds what you want it to when you pass it. Here:

Public Sub deleteProduct(B yVal productID)

You are not giving it a type, should it be an Integer? Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"bidllc" <bi****@discuss ions.microsoft. com> wrote in message
news:10******** *************** ***********@mic rosoft.com...
I have a funtion that works fine and dandy when called from anywhere in my app. It will NOT work when called from inside the class in which it

resides.

This is the function I'm calling: "getProductByID (productID)" from inside another method in the same class. See below.

This line throws a null ref exception:
While dr.Read()

Thanks for any insight!

Public Sub deleteProduct(B yVal productID)

'Set up parameters
Dim arParms(0) As SqlParameter
arParms(0) = New SqlParameter("@ productID",
SqlDbType.Uniqu eIdentifier)
arParms(0).Valu e = productID

'get the images to delete
Dim context As System.Web.Http Context =

System.Web.Http Context.Current


Dim dr As SqlDataReader = getProductByID( productID)

Dim thumbImg As String
Dim fullImg As String

While dr.Read()
'delete thumb
fullImg = context.Applica tion("webRoot") &
"vendorImag es/" & dr.Item("galler yFolder").ToStr ing & "/" &
dr.Item("imageF ull").ToString
fullImg = context.Current .Server.MapPath (fullImg)
Dim thisImgFull As New System.IO.FileI nfo(fullImg)
thisImgFull.Del ete()
End While
... omitted for brevity
End Sub


Nov 18 '05 #4
Here's the getProductByID function. And the two methods are in the same
class. It's definitely not returning a valid sqlDatareader, just don't know
why that is.

thanks.

Public Function getProductByID( ByVal productID) As SqlDataReader

'Set up parameters
Dim arParms(0) As SqlParameter
arParms(0) = New SqlParameter("@ productID",
SqlDbType.Uniqu eIdentifier)
arParms(0).Valu e = productID
'insert the data
Dim dr As SqlDataReader = SqlHelper.Execu teReader(connSt r,
CommandType.Sto redProcedure, "productByIDGet ", arParms)
Return dr

End Function


"Ken Dopierala Jr." wrote:
Hi,

The problem is that dr is Nothing which means that for some reason your
getProductByID( ) is returning nothing instead of a data reader. I would
step through the code and make sure that getProductByID( ) is passing back a
valid data reader when called from your delete function. Also make sure the
data reader isn't being closed or going out of scope before you pass it
back. Can you post your getProductByID( ) function code and also tell what
the relationship between that and the delete function are code wise? I mean
are they in the same module or different classes. We need to find out why
Nothing is return by getProductByID( ) when called from the delete function
and not from other code in your solution. Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"bidllc" <bi****@discuss ions.microsoft. com> wrote in message
news:86******** *************** ***********@mic rosoft.com...
HI Ken, thanks for the reply. productID is a uniqueidentifie r and it's
definitely coming in, I've double checked that. I also tried your
suggestiond, but no go. :(

"Ken Dopierala Jr." wrote:
Hi,

Try:

Dim dr As New SqlDataReader = getProductByID( productID)

Also make sure that productID actually holds what you want it to when you pass it. Here:

Public Sub deleteProduct(B yVal productID)

You are not giving it a type, should it be an Integer? Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"bidllc" <bi****@discuss ions.microsoft. com> wrote in message
news:10******** *************** ***********@mic rosoft.com...
> I have a funtion that works fine and dandy when called from anywhere in my > app. It will NOT work when called from inside the class in which it
resides.
>
> This is the function I'm calling: "getProductByID (productID)" from inside > another method in the same class. See below.
>
> This line throws a null ref exception:
> While dr.Read()
>
> Thanks for any insight!
>
>
>
> Public Sub deleteProduct(B yVal productID)
>
> 'Set up parameters
> Dim arParms(0) As SqlParameter
> arParms(0) = New SqlParameter("@ productID",
> SqlDbType.Uniqu eIdentifier)
> arParms(0).Valu e = productID
>
> 'get the images to delete
> Dim context As System.Web.Http Context =
System.Web.Http Context.Current
>
>
> Dim dr As SqlDataReader = getProductByID( productID)
>
> Dim thumbImg As String
> Dim fullImg As String
>
> While dr.Read()
> 'delete thumb
> fullImg = context.Applica tion("webRoot") &
> "vendorImag es/" & dr.Item("galler yFolder").ToStr ing & "/" &
> dr.Item("imageF ull").ToString
> fullImg = context.Current .Server.MapPath (fullImg)
> Dim thisImgFull As New System.IO.FileI nfo(fullImg)
> thisImgFull.Del ete()
> End While
>
>
> ... omitted for brevity
>
>
> End Sub


Nov 18 '05 #5
I can' tell why it isn't working. You could put a breakpoint on the Return
dr line. Then call this code from where it works in your code and also from
where it doesn't. If dr is valid at the breakpoint for one call and Nothing
for another then the problem has to be at what you are passing in. Also you
might want to put the New keyword in your Dim dr As SqlDataReader = ....
line below. Good luck! Ken.

"bidllc" <bi****@discuss ions.microsoft. com> wrote in message
news:32******** *************** ***********@mic rosoft.com...
Here's the getProductByID function. And the two methods are in the same
class. It's definitely not returning a valid sqlDatareader, just don't know why that is.

thanks.

Public Function getProductByID( ByVal productID) As SqlDataReader

'Set up parameters
Dim arParms(0) As SqlParameter
arParms(0) = New SqlParameter("@ productID",
SqlDbType.Uniqu eIdentifier)
arParms(0).Valu e = productID
'insert the data
Dim dr As SqlDataReader = SqlHelper.Execu teReader(connSt r,
CommandType.Sto redProcedure, "productByIDGet ", arParms)
Return dr

End Function


"Ken Dopierala Jr." wrote:
Hi,

The problem is that dr is Nothing which means that for some reason your
getProductByID( ) is returning nothing instead of a data reader. I would
step through the code and make sure that getProductByID( ) is passing back a valid data reader when called from your delete function. Also make sure the data reader isn't being closed or going out of scope before you pass it
back. Can you post your getProductByID( ) function code and also tell what the relationship between that and the delete function are code wise? I mean are they in the same module or different classes. We need to find out why Nothing is return by getProductByID( ) when called from the delete function and not from other code in your solution. Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"bidllc" <bi****@discuss ions.microsoft. com> wrote in message
news:86******** *************** ***********@mic rosoft.com...
HI Ken, thanks for the reply. productID is a uniqueidentifie r and it's definitely coming in, I've double checked that. I also tried your
suggestiond, but no go. :(

"Ken Dopierala Jr." wrote:

> Hi,
>
> Try:
>
> Dim dr As New SqlDataReader = getProductByID( productID)
>
> Also make sure that productID actually holds what you want it to when
you
> pass it. Here:
>
> Public Sub deleteProduct(B yVal productID)
>
> You are not giving it a type, should it be an Integer? Good luck!
Ken. >
> --
> Ken Dopierala Jr.
> For great ASP.Net web hosting try:
> http://www.webhost4life.com/default.asp?refid=Spinlight
> If you sign up under me and need help, email me.
>
> "bidllc" <bi****@discuss ions.microsoft. com> wrote in message
> news:10******** *************** ***********@mic rosoft.com...
> > I have a funtion that works fine and dandy when called from anywhere in my
> > app. It will NOT work when called from inside the class in which

it > resides.
> >
> > This is the function I'm calling: "getProductByID (productID)" from

inside
> > another method in the same class. See below.
> >
> > This line throws a null ref exception:
> > While dr.Read()
> >
> > Thanks for any insight!
> >
> >
> >
> > Public Sub deleteProduct(B yVal productID)
> >
> > 'Set up parameters
> > Dim arParms(0) As SqlParameter
> > arParms(0) = New SqlParameter("@ productID",
> > SqlDbType.Uniqu eIdentifier)
> > arParms(0).Valu e = productID
> >
> > 'get the images to delete
> > Dim context As System.Web.Http Context =
> System.Web.Http Context.Current
> >
> >
> > Dim dr As SqlDataReader = getProductByID( productID)
> >
> > Dim thumbImg As String
> > Dim fullImg As String
> >
> > While dr.Read()
> > 'delete thumb
> > fullImg = context.Applica tion("webRoot") &
> > "vendorImag es/" & dr.Item("galler yFolder").ToStr ing & "/" &
> > dr.Item("imageF ull").ToString
> > fullImg = context.Current .Server.MapPath (fullImg) > > Dim thisImgFull As New System.IO.FileI nfo(fullImg) > > thisImgFull.Del ete()
> > End While
> >
> >
> > ... omitted for brevity
> >
> >
> > End Sub
>
>
>


Nov 18 '05 #6
2 pennies - is connStr actually declared and initialised ?
I have a funtion that works fine and dandy when called from anywhere in my
app. It will NOT work when called from inside the class in which it resides.

This is the function I'm calling: "getProductByID (productID)" from inside
another method in the same class. See below.

This line throws a null ref exception:
While dr.Read()

Thanks for any insight!

Public Sub deleteProduct(B yVal productID)

'Set up parameters
Dim arParms(0) As SqlParameter
arParms(0) = New SqlParameter("@ productID",
SqlDbType.Uniqu eIdentifier)
arParms(0).Valu e = productID

'get the images to delete
Dim context As System.Web.Http Context = System.Web.Http Context.Current
Dim dr As SqlDataReader = getProductByID( productID)

Dim thumbImg As String
Dim fullImg As String

While dr.Read()
'delete thumb
fullImg = context.Applica tion("webRoot") &
"vendorImag es/" & dr.Item("galler yFolder").ToStr ing & "/" &
dr.Item("imageF ull").ToString
fullImg = context.Current .Server.MapPath (fullImg)
Dim thisImgFull As New System.IO.FileI nfo(fullImg)
thisImgFull.Del ete()
End While
.... omitted for brevity
End Su


User submitted from AEWNET (http://www.aewnet.com/)
Nov 18 '05 #7
yup...

"Guest" wrote:
2 pennies - is connStr actually declared and initialised ?
I have a funtion that works fine and dandy when called from anywhere in my
app. It will NOT work when called from inside the class in which it resides.

This is the function I'm calling: "getProductByID (productID)" from inside
another method in the same class. See below.

This line throws a null ref exception:
While dr.Read()

Thanks for any insight!

Public Sub deleteProduct(B yVal productID)

'Set up parameters
Dim arParms(0) As SqlParameter
arParms(0) = New SqlParameter("@ productID",
SqlDbType.Uniqu eIdentifier)
arParms(0).Valu e = productID

'get the images to delete
Dim context As System.Web.Http Context = System.Web.Http Context.Current
Dim dr As SqlDataReader = getProductByID( productID)

Dim thumbImg As String
Dim fullImg As String

While dr.Read()
'delete thumb
fullImg = context.Applica tion("webRoot") &
"vendorImag es/" & dr.Item("galler yFolder").ToStr ing & "/" &
dr.Item("imageF ull").ToString
fullImg = context.Current .Server.MapPath (fullImg)
Dim thisImgFull As New System.IO.FileI nfo(fullImg)
thisImgFull.Del ete()
End While
.... omitted for brevity
End Sub


User submitted from AEWNET (http://www.aewnet.com/)

Nov 18 '05 #8
I know, it's very frustrating. I'll keep poking around but I am just
completely stumped. THanks for trying!

"Ken Dopierala Jr." wrote:
I can' tell why it isn't working. You could put a breakpoint on the Return
dr line. Then call this code from where it works in your code and also from
where it doesn't. If dr is valid at the breakpoint for one call and Nothing
for another then the problem has to be at what you are passing in. Also you
might want to put the New keyword in your Dim dr As SqlDataReader = ....
line below. Good luck! Ken.

"bidllc" <bi****@discuss ions.microsoft. com> wrote in message
news:32******** *************** ***********@mic rosoft.com...
Here's the getProductByID function. And the two methods are in the same
class. It's definitely not returning a valid sqlDatareader, just don't

know
why that is.

thanks.

Public Function getProductByID( ByVal productID) As SqlDataReader

'Set up parameters
Dim arParms(0) As SqlParameter
arParms(0) = New SqlParameter("@ productID",
SqlDbType.Uniqu eIdentifier)
arParms(0).Valu e = productID
'insert the data
Dim dr As SqlDataReader = SqlHelper.Execu teReader(connSt r,
CommandType.Sto redProcedure, "productByIDGet ", arParms)
Return dr

End Function


"Ken Dopierala Jr." wrote:
Hi,

The problem is that dr is Nothing which means that for some reason your
getProductByID( ) is returning nothing instead of a data reader. I would
step through the code and make sure that getProductByID( ) is passing back a valid data reader when called from your delete function. Also make sure the data reader isn't being closed or going out of scope before you pass it
back. Can you post your getProductByID( ) function code and also tell what the relationship between that and the delete function are code wise? I mean are they in the same module or different classes. We need to find out why Nothing is return by getProductByID( ) when called from the delete function and not from other code in your solution. Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"bidllc" <bi****@discuss ions.microsoft. com> wrote in message
news:86******** *************** ***********@mic rosoft.com...
> HI Ken, thanks for the reply. productID is a uniqueidentifie r and it's > definitely coming in, I've double checked that. I also tried your
> suggestiond, but no go. :(
>
>
>
> "Ken Dopierala Jr." wrote:
>
> > Hi,
> >
> > Try:
> >
> > Dim dr As New SqlDataReader = getProductByID( productID)
> >
> > Also make sure that productID actually holds what you want it to when you
> > pass it. Here:
> >
> > Public Sub deleteProduct(B yVal productID)
> >
> > You are not giving it a type, should it be an Integer? Good luck! Ken. > >
> > --
> > Ken Dopierala Jr.
> > For great ASP.Net web hosting try:
> > http://www.webhost4life.com/default.asp?refid=Spinlight
> > If you sign up under me and need help, email me.
> >
> > "bidllc" <bi****@discuss ions.microsoft. com> wrote in message
> > news:10******** *************** ***********@mic rosoft.com...
> > > I have a funtion that works fine and dandy when called from anywhere in my
> > > app. It will NOT work when called from inside the class in which it > > resides.
> > >
> > > This is the function I'm calling: "getProductByID (productID)" from
inside
> > > another method in the same class. See below.
> > >
> > > This line throws a null ref exception:
> > > While dr.Read()
> > >
> > > Thanks for any insight!
> > >
> > >
> > >
> > > Public Sub deleteProduct(B yVal productID)
> > >
> > > 'Set up parameters
> > > Dim arParms(0) As SqlParameter
> > > arParms(0) = New SqlParameter("@ productID",
> > > SqlDbType.Uniqu eIdentifier)
> > > arParms(0).Valu e = productID
> > >
> > > 'get the images to delete
> > > Dim context As System.Web.Http Context =
> > System.Web.Http Context.Current
> > >
> > >
> > > Dim dr As SqlDataReader = getProductByID( productID)
> > >
> > > Dim thumbImg As String
> > > Dim fullImg As String
> > >
> > > While dr.Read()
> > > 'delete thumb
> > > fullImg = context.Applica tion("webRoot") &
> > > "vendorImag es/" & dr.Item("galler yFolder").ToStr ing & "/" &
> > > dr.Item("imageF ull").ToString
> > > fullImg = context.Current .Server.MapPath (fullImg) > > > Dim thisImgFull As New System.IO.FileI nfo(fullImg) > > > thisImgFull.Del ete()
> > > End While
> > >
> > >
> > > ... omitted for brevity
> > >
> > >
> > > End Sub
> >
> >
> >


Nov 18 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
14010
by: Krackers | last post by:
How do you write a function which returns a reference to an array. I can only get a function to return a copy of the array itself. I've had a look at some other threads in this group an the return value of a function acts like 'by Val' returning the value only (except for objects) can you make it return a reference instead? cheers, Krackers
3
4555
by: etwebbox | last post by:
Hoping someone has some ideas on how to solve this issue: I have a macro in excel which runs a query against an Access DB (it actually calls a query inside of Access). The query is not bringing back all of the records even though I can run the query directly in Access or Microsoft Query and get all the records returned. For ease of...
1
5198
by: Jim P. | last post by:
I'm having trouble returning an object from an AsyncCallback called inside a threaded infinite loop. I'm working on a Peer2Peer app that uses an AsyncCallback to rerieve the data from the remote peer. I have no problem connecting the peers and streaming Network Streams. When the incoming data is finished recieving, I act upon it. This...
2
2921
by: Cameron Frasnelly | last post by:
I emulated the code from the .Net Framework help (Titled "Using Stored Procedures with a Command") and I still receive and error... Error Received = "Invalid attempt to read when no data is present." BUT when I manually run the Stored Procedure and manually type in '3333' it works just fine by returning the single row for that particular...
2
3630
by: Charlie | last post by:
Hi: When returning an SqlDataReader from a database query, how do you get a count of the number of records contained in the reader? There is no "Count" property for reader object. Thanks, Charlie
3
4349
by: rn5a | last post by:
A SqlDataReader is populated with the records from a SQL Server 2005 DB table. The records retrieved depends upon 2 conditions (the conditions depend on what a user selects in an ASPX page). If condition1 is true, then the SqlDataReader will be populated with the records existing in table1 & will return 0 to the calling function but if...
6
1854
by: RThaden | last post by:
Hi together, I am a bit clueless about the following problem: In the following code excerpt std::string getStr() { std::string bla="asdfsa";
5
2636
by: Randy Smith | last post by:
Hi ALL, I wonder if anyone has been using n-tier to bind to a GridView control by using the ObjectDataSource. This is our first OOP web application, and we have no tables. Right now we are simply working with objects in memory. So, it appears as though Microsoft requires that our datamapper classes reside inside a folder called...
1
3557
by: vinodkus | last post by:
I M BEGINNER IN ASP I WANT TO RETURN TOTAL RECORDS FROM A TABLE. THERE ARE TWO FORMS CLASS1.ASP AND CLASS2.ASP THROUGH FIRST FORM I JUST POST THE NAME OF TABLE SO I M WRITING THE CODE OF CLASS2.ASP <!--#Include File = "Include/iecon.inc"--> <html> <head> <meta http-equiv="Content-Language" content="en-us">
0
7664
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7885
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7638
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7948
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
923
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.