473,395 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Value from a DataReader to a string

Whenever I try this:

__________________________________________________ __________________
Dim cmd_sp_payments As SqlCommand = New SqlCommand("sp_payments", con)
cmd_sp_payments.CommandType = CommandType.StoredProcedure
Dim CustID As SqlParameter = cmd_sp_payments.Parameters.Add("@cust_id",
SqlDbType.Text)
CustID.Value = strCustID
Dim myReader As SqlDataReader = cmd_sp_payments.ExecuteReader()
If myReader.HasRows Then
Dim strLastPayAmt As String = "$" & myReader.GetString("Pay_Amount")
lblLastPayAmt.Text = strLastPayAmt
myReader.Close()
Else
myReader.Close()
End If
__________________________________________________ _____________________
I get this error:
__________________________________________________ _____________________
Operand type clash: text is incompatible with int
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Operand type clash:
text is incompatible with int

Source Error:

Line 140: CustID.Value = strCustID
Line 141:
Line 142: Dim myReader As SqlDataReader =
cmd_sp_payments.ExecuteReader()
Line 143: If myReader.HasRows Then
Line 144: Dim strLastPayAmt As String = "$" &
myReader.GetString("Pay_Amount")
Source File: C:\Inetpub\wwwroot\MTIWEB\CustomerPage.aspx.vb Line: 142

Stack Trace:

[SqlException: Operand type clash: text is incompatible with int]
System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
System.Data.SqlClient.SqlCommand.ExecuteReader()
MTIWEB.CustomerPage.Page_Load(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\MTIWEB\CustomerPage.aspx.vb:142
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
__________________________________________________ __________________________
_____________________

Can anybody help?
Thank you.
--
Catalin Porancea
Nov 17 '05 #1
5 2288
Hi,

GetString method of DataReader expects only ordinal position of the column
(index), it doesn't accept column name.

You could use either the index of the column (integer) instead of column
name or optionally something like this:

...."$" & Convert.ToString(myReader("Pay_Amount"))

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"Catalin Porancea" <cp*******@midwestern.net> wrote in message
news:u7****************@TK2MSFTNGP10.phx.gbl...
Whenever I try this:

__________________________________________________ __________________
Dim cmd_sp_payments As SqlCommand = New SqlCommand("sp_payments", con)
cmd_sp_payments.CommandType = CommandType.StoredProcedure
Dim CustID As SqlParameter = cmd_sp_payments.Parameters.Add("@cust_id",
SqlDbType.Text)
CustID.Value = strCustID
Dim myReader As SqlDataReader = cmd_sp_payments.ExecuteReader()
If myReader.HasRows Then
Dim strLastPayAmt As String = "$" & myReader.GetString("Pay_Amount")
lblLastPayAmt.Text = strLastPayAmt
myReader.Close()
Else
myReader.Close()
End If
__________________________________________________ _____________________
I get this error:
__________________________________________________ _____________________
Operand type clash: text is incompatible with int
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Operand type clash:
text is incompatible with int

Source Error:

Line 140: CustID.Value = strCustID
Line 141:
Line 142: Dim myReader As SqlDataReader =
cmd_sp_payments.ExecuteReader()
Line 143: If myReader.HasRows Then
Line 144: Dim strLastPayAmt As String = "$" &
myReader.GetString("Pay_Amount")
Source File: C:\Inetpub\wwwroot\MTIWEB\CustomerPage.aspx.vb Line: 142

Stack Trace:

[SqlException: Operand type clash: text is incompatible with int]
System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
System.Data.SqlClient.SqlCommand.ExecuteReader()
MTIWEB.CustomerPage.Page_Load(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\MTIWEB\CustomerPage.aspx.vb:142
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
__________________________________________________ __________________________ _____________________

Can anybody help?
Thank you.
--
Catalin Porancea

Nov 17 '05 #2
Thanks Teemu.

Now the message I get is
Invalid attempt to read when no data is present.

In query analyzer, exec sp_payments 579 returns one row, as it should.

Can you help me with this?

--
Catalin Porancea
"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:u%***************@TK2MSFTNGP11.phx.gbl...
: Hi,
:
: GetString method of DataReader expects only ordinal position of the column
: (index), it doesn't accept column name.
:
: You could use either the index of the column (integer) instead of column
: name or optionally something like this:
:
: ..."$" & Convert.ToString(myReader("Pay_Amount"))
:
: --
: Teemu Keiski
: MCP, Microsoft MVP (ASP.NET), AspInsiders member
: ASP.NET Forum Moderator, AspAlliance Columnist
:
: "Catalin Porancea" <cp*******@midwestern.net> wrote in message
: news:u7****************@TK2MSFTNGP10.phx.gbl...
: > Whenever I try this:
: >
: > __________________________________________________ __________________
: > Dim cmd_sp_payments As SqlCommand = New SqlCommand("sp_payments", con)
: > cmd_sp_payments.CommandType = CommandType.StoredProcedure
: > Dim CustID As SqlParameter = cmd_sp_payments.Parameters.Add("@cust_id",
: > SqlDbType.Text)
: > CustID.Value = strCustID
: > Dim myReader As SqlDataReader = cmd_sp_payments.ExecuteReader()
: > If myReader.HasRows Then
: > Dim strLastPayAmt As String = "$" & myReader.GetString("Pay_Amount")
: > lblLastPayAmt.Text = strLastPayAmt
: > myReader.Close()
: > Else
: > myReader.Close()
: > End If
: > __________________________________________________ _____________________
: > I get this error:
: > __________________________________________________ _____________________
: > Operand type clash: text is incompatible with int
: > Description: An unhandled exception occurred during the execution of the
: > current web request. Please review the stack trace for more information
: > about the error and where it originated in the code.
: >
: > Exception Details: System.Data.SqlClient.SqlException: Operand type
clash:
: > text is incompatible with int
: >
: > Source Error:
: >
: > Line 140: CustID.Value = strCustID
: > Line 141:
: > Line 142: Dim myReader As SqlDataReader =
: > cmd_sp_payments.ExecuteReader()
: > Line 143: If myReader.HasRows Then
: > Line 144: Dim strLastPayAmt As String = "$" &
: > myReader.GetString("Pay_Amount")
: >
: >
: > Source File: C:\Inetpub\wwwroot\MTIWEB\CustomerPage.aspx.vb Line: 142
: >
: > Stack Trace:
: >
: > [SqlException: Operand type clash: text is incompatible with int]
: > System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior
: > cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
: > System.Data.SqlClient.SqlCommand.ExecuteReader()
: > MTIWEB.CustomerPage.Page_Load(Object sender, EventArgs e) in
: > C:\Inetpub\wwwroot\MTIWEB\CustomerPage.aspx.vb:142
: > System.Web.UI.Control.OnLoad(EventArgs e) +67
: > System.Web.UI.Control.LoadRecursive() +35
: > System.Web.UI.Page.ProcessRequestMain() +731
: >
: >
: > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
: ASP.NET
: > Version:1.1.4322.573
: >
:
__________________________________________________ __________________________
: > _____________________
: >
: > Can anybody help?
: > Thank you.
: >
: >
: > --
: > Catalin Porancea
: >
: >
:
:
Nov 17 '05 #3
Ah yes, you need to call Read method for the reader at least once to get the
row.

For example:

Dim myReader As SqlDataReader = cmd_sp_payments.ExecuteReader()
If myReader.HasRows Then

myReader.Read()

Dim strLastPayAmt As String = "$" & myReader.GetString("Pay_Amount")
lblLastPayAmt.Text = strLastPayAmt
myReader.Close()
Else
myReader.Close()
End If

Though this assumes you know, there is always only one row or not a row at
all.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"Catalin Porancea" <cp*******@midwestern.net> wrote in message
news:u8**************@TK2MSFTNGP12.phx.gbl...
Thanks Teemu.

Now the message I get is
Invalid attempt to read when no data is present.

In query analyzer, exec sp_payments 579 returns one row, as it should.

Can you help me with this?

--
Catalin Porancea
"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:u%***************@TK2MSFTNGP11.phx.gbl...
: Hi,
:
: GetString method of DataReader expects only ordinal position of the column : (index), it doesn't accept column name.
:
: You could use either the index of the column (integer) instead of column
: name or optionally something like this:
:
: ..."$" & Convert.ToString(myReader("Pay_Amount"))
:
: --
: Teemu Keiski
: MCP, Microsoft MVP (ASP.NET), AspInsiders member
: ASP.NET Forum Moderator, AspAlliance Columnist
:
: "Catalin Porancea" <cp*******@midwestern.net> wrote in message
: news:u7****************@TK2MSFTNGP10.phx.gbl...
: > Whenever I try this:
: >
: > __________________________________________________ __________________
: > Dim cmd_sp_payments As SqlCommand = New SqlCommand("sp_payments", con)
: > cmd_sp_payments.CommandType = CommandType.StoredProcedure
: > Dim CustID As SqlParameter = cmd_sp_payments.Parameters.Add("@cust_id", : > SqlDbType.Text)
: > CustID.Value = strCustID
: > Dim myReader As SqlDataReader = cmd_sp_payments.ExecuteReader()
: > If myReader.HasRows Then
: > Dim strLastPayAmt As String = "$" & myReader.GetString("Pay_Amount")
: > lblLastPayAmt.Text = strLastPayAmt
: > myReader.Close()
: > Else
: > myReader.Close()
: > End If
: > __________________________________________________ _____________________ : > I get this error:
: > __________________________________________________ _____________________ : > Operand type clash: text is incompatible with int
: > Description: An unhandled exception occurred during the execution of the : > current web request. Please review the stack trace for more information : > about the error and where it originated in the code.
: >
: > Exception Details: System.Data.SqlClient.SqlException: Operand type
clash:
: > text is incompatible with int
: >
: > Source Error:
: >
: > Line 140: CustID.Value = strCustID
: > Line 141:
: > Line 142: Dim myReader As SqlDataReader =
: > cmd_sp_payments.ExecuteReader()
: > Line 143: If myReader.HasRows Then
: > Line 144: Dim strLastPayAmt As String = "$" &
: > myReader.GetString("Pay_Amount")
: >
: >
: > Source File: C:\Inetpub\wwwroot\MTIWEB\CustomerPage.aspx.vb Line: 142 : >
: > Stack Trace:
: >
: > [SqlException: Operand type clash: text is incompatible with int]
: > System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior
: > cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
: > System.Data.SqlClient.SqlCommand.ExecuteReader()
: > MTIWEB.CustomerPage.Page_Load(Object sender, EventArgs e) in
: > C:\Inetpub\wwwroot\MTIWEB\CustomerPage.aspx.vb:142
: > System.Web.UI.Control.OnLoad(EventArgs e) +67
: > System.Web.UI.Control.LoadRecursive() +35
: > System.Web.UI.Page.ProcessRequestMain() +731
: >
: >
: > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
: ASP.NET
: > Version:1.1.4322.573
: >
:
__________________________________________________ __________________________ : > _____________________
: >
: > Can anybody help?
: > Thank you.
: >
: >
: > --
: > Catalin Porancea
: >
: >
:
:

Nov 17 '05 #4
Thanks Teemu. It works now.

--
Catalin Porancea
"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:uL*************@TK2MSFTNGP09.phx.gbl...
: Ah yes, you need to call Read method for the reader at least once to get
the
: row.
:
: For example:
:
: Dim myReader As SqlDataReader = cmd_sp_payments.ExecuteReader()
: If myReader.HasRows Then
:
: myReader.Read()
:
: Dim strLastPayAmt As String = "$" & myReader.GetString("Pay_Amount")
: lblLastPayAmt.Text = strLastPayAmt
: myReader.Close()
: Else
: myReader.Close()
: End If
:
: Though this assumes you know, there is always only one row or not a row at
: all.
:
: --
: Teemu Keiski
: MCP, Microsoft MVP (ASP.NET), AspInsiders member
: ASP.NET Forum Moderator, AspAlliance Columnist
:
: "Catalin Porancea" <cp*******@midwestern.net> wrote in message
: news:u8**************@TK2MSFTNGP12.phx.gbl...
: > Thanks Teemu.
: >
: > Now the message I get is
: > Invalid attempt to read when no data is present.
: >
: > In query analyzer, exec sp_payments 579 returns one row, as it should.
: >
: > Can you help me with this?
: >
: > --
: > Catalin Porancea
: > "Teemu Keiski" <jo****@aspalliance.com> wrote in message
: > news:u%***************@TK2MSFTNGP11.phx.gbl...
: > : Hi,
: > :
: > : GetString method of DataReader expects only ordinal position of the
: column
: > : (index), it doesn't accept column name.
: > :
: > : You could use either the index of the column (integer) instead of
column
: > : name or optionally something like this:
: > :
: > : ..."$" & Convert.ToString(myReader("Pay_Amount"))
: > :
: > : --
: > : Teemu Keiski
: > : MCP, Microsoft MVP (ASP.NET), AspInsiders member
: > : ASP.NET Forum Moderator, AspAlliance Columnist
: > :
: > : "Catalin Porancea" <cp*******@midwestern.net> wrote in message
: > : news:u7****************@TK2MSFTNGP10.phx.gbl...
: > : > Whenever I try this:
: > : >
: > : > __________________________________________________ __________________
: > : > Dim cmd_sp_payments As SqlCommand = New SqlCommand("sp_payments",
con)
: > : > cmd_sp_payments.CommandType = CommandType.StoredProcedure
: > : > Dim CustID As SqlParameter =
: cmd_sp_payments.Parameters.Add("@cust_id",
: > : > SqlDbType.Text)
: > : > CustID.Value = strCustID
: > : > Dim myReader As SqlDataReader = cmd_sp_payments.ExecuteReader()
: > : > If myReader.HasRows Then
: > : > Dim strLastPayAmt As String = "$" & myReader.GetString("Pay_Amount")
: > : > lblLastPayAmt.Text = strLastPayAmt
: > : > myReader.Close()
: > : > Else
: > : > myReader.Close()
: > : > End If
: > : >
: __________________________________________________ _____________________
: > : > I get this error:
: > : >
: __________________________________________________ _____________________
: > : > Operand type clash: text is incompatible with int
: > : > Description: An unhandled exception occurred during the execution of
: the
: > : > current web request. Please review the stack trace for more
: information
: > : > about the error and where it originated in the code.
: > : >
: > : > Exception Details: System.Data.SqlClient.SqlException: Operand type
: > clash:
: > : > text is incompatible with int
: > : >
: > : > Source Error:
: > : >
: > : > Line 140: CustID.Value = strCustID
: > : > Line 141:
: > : > Line 142: Dim myReader As SqlDataReader =
: > : > cmd_sp_payments.ExecuteReader()
: > : > Line 143: If myReader.HasRows Then
: > : > Line 144: Dim strLastPayAmt As String = "$" &
: > : > myReader.GetString("Pay_Amount")
: > : >
: > : >
: > : > Source File: C:\Inetpub\wwwroot\MTIWEB\CustomerPage.aspx.vb Line:
: 142
: > : >
: > : > Stack Trace:
: > : >
: > : > [SqlException: Operand type clash: text is incompatible with int]
: > : > System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior
: > : > cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
: > : > System.Data.SqlClient.SqlCommand.ExecuteReader()
: > : > MTIWEB.CustomerPage.Page_Load(Object sender, EventArgs e) in
: > : > C:\Inetpub\wwwroot\MTIWEB\CustomerPage.aspx.vb:142
: > : > System.Web.UI.Control.OnLoad(EventArgs e) +67
: > : > System.Web.UI.Control.LoadRecursive() +35
: > : > System.Web.UI.Page.ProcessRequestMain() +731
: > : >
: > : >
: > : > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
: > : ASP.NET
: > : > Version:1.1.4322.573
: > : >
: > :
: >
:
__________________________________________________ __________________________
: > : > _____________________
: > : >
: > : > Can anybody help?
: > : > Thank you.
: > : >
: > : >
: > : > --
: > : > Catalin Porancea
: > : >
: > : >
: > :
: > :
: >
: >
:
:
Nov 17 '05 #5
hi,
The error might be in calling the stored procedure with valid
parameters please check if you are passing the correct parameters or
not.

and also another method for getting values from reader is

myReader.GetValue(index).ToString();


"Teemu Keiski" <jo****@aspalliance.com> wrote in message news:<uL*************@TK2MSFTNGP09.phx.gbl>...
Ah yes, you need to call Read method for the reader at least once to get the
row.

For example:

Dim myReader As SqlDataReader = cmd_sp_payments.ExecuteReader()
If myReader.HasRows Then

myReader.Read()

Dim strLastPayAmt As String = "$" & myReader.GetString("Pay_Amount")
lblLastPayAmt.Text = strLastPayAmt
myReader.Close()
Else
myReader.Close()
End If

Though this assumes you know, there is always only one row or not a row at
all.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"Catalin Porancea" <cp*******@midwestern.net> wrote in message
news:u8**************@TK2MSFTNGP12.phx.gbl...
Thanks Teemu.

Now the message I get is
Invalid attempt to read when no data is present.

In query analyzer, exec sp_payments 579 returns one row, as it should.

Can you help me with this?

--
Catalin Porancea
"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:u%***************@TK2MSFTNGP11.phx.gbl...
: Hi,
:
: GetString method of DataReader expects only ordinal position of the

column
: (index), it doesn't accept column name.
:
: You could use either the index of the column (integer) instead of column
: name or optionally something like this:
:
: ..."$" & Convert.ToString(myReader("Pay_Amount"))
:
: --
: Teemu Keiski
: MCP, Microsoft MVP (ASP.NET), AspInsiders member
: ASP.NET Forum Moderator, AspAlliance Columnist
:
: "Catalin Porancea" <cp*******@midwestern.net> wrote in message
: news:u7****************@TK2MSFTNGP10.phx.gbl...
: > Whenever I try this:
: >
: > __________________________________________________ __________________
: > Dim cmd_sp_payments As SqlCommand = New SqlCommand("sp_payments", con)
: > cmd_sp_payments.CommandType = CommandType.StoredProcedure
: > Dim CustID As SqlParameter =

cmd_sp_payments.Parameters.Add("@cust_id",
: > SqlDbType.Text)
: > CustID.Value = strCustID
: > Dim myReader As SqlDataReader = cmd_sp_payments.ExecuteReader()
: > If myReader.HasRows Then
: > Dim strLastPayAmt As String = "$" & myReader.GetString("Pay_Amount")
: > lblLastPayAmt.Text = strLastPayAmt
: > myReader.Close()
: > Else
: > myReader.Close()
: > End If
: >

__________________________________________________ _____________________
: > I get this error:
: >

__________________________________________________ _____________________
: > Operand type clash: text is incompatible with int
: > Description: An unhandled exception occurred during the execution of

the
: > current web request. Please review the stack trace for more

information
: > about the error and where it originated in the code.
: >
: > Exception Details: System.Data.SqlClient.SqlException: Operand type

clash:
: > text is incompatible with int
: >
: > Source Error:
: >
: > Line 140: CustID.Value = strCustID
: > Line 141:
: > Line 142: Dim myReader As SqlDataReader =
: > cmd_sp_payments.ExecuteReader()
: > Line 143: If myReader.HasRows Then
: > Line 144: Dim strLastPayAmt As String = "$" &
: > myReader.GetString("Pay_Amount")
: >
: >
: > Source File: C:\Inetpub\wwwroot\MTIWEB\CustomerPage.aspx.vb Line:

142
: >
: > Stack Trace:
: >
: > [SqlException: Operand type clash: text is incompatible with int]
: > System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior
: > cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
: > System.Data.SqlClient.SqlCommand.ExecuteReader()
: > MTIWEB.CustomerPage.Page_Load(Object sender, EventArgs e) in
: > C:\Inetpub\wwwroot\MTIWEB\CustomerPage.aspx.vb:142
: > System.Web.UI.Control.OnLoad(EventArgs e) +67
: > System.Web.UI.Control.LoadRecursive() +35
: > System.Web.UI.Page.ProcessRequestMain() +731
: >
: >
: > Version Information: Microsoft .NET Framework Version:1.1.4322.573;

ASP.NET
: > Version:1.1.4322.573
: >
:

__________________________________________________ __________________________
: > _____________________
: >
: > Can anybody help?
: > Thank you.
: >
: >
: > --
: > Catalin Porancea
: >
: >
:
:

Nov 17 '05 #6

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

Similar topics

3
by: tshad | last post by:
I am trying to set up a class to handle my database accesses. I can't seem to figure out how to get the return value from my dataReader from these routines (most of which I got elsewhere). They...
4
by: Shapper | last post by:
Hello, I have created a datareader function in a asp.net/vb web site. The datareader returns only one record with 2 fields: and In the same aspx.vb I want to use this values as follows:...
3
by: catweezle2010 | last post by:
Hello NG, I have three files (default.aspx, search.aspx and work.aspx). The way is: login on default (if session is newsession). The loginname I write into as sessionvariable (username). So I...
0
by: JJ_377 | last post by:
The following doesn't assign value to the dropdownlist - WHY? ___________________________________________________________________ In a user control (ascx named USACustomer) : Public Property...
1
by: Brent | last post by:
I'm having a hard time wrapping my head around how to build a multi-dimensional array of n length out of a DataReader loop. Take this pseudo-code: ======================================= public...
4
by: Learner | last post by:
Hello, This my a method to call a stored proce and uses a DataReader to read the data in the below method I am trying to assign a null value to my datareader variable Dim datareader As...
2
by: bh | last post by:
Is there such thing as a default exception value? I'm trying to pass an optional parameter, containing an exception back to a calling procedure. In the pseudocode, below, what might I put in...
10
by: jimmy | last post by:
Hi again, sorry for posting two questions so close together but im working on a school project which is due in soon and running into some difficulties implementing the database parts. I have the...
0
by: Teo | last post by:
Hi!! I have been trying to fix an error I keep getting on my VB.NET code. For some reason, I get an error saying "Invalid attempt to access a field before calling Read()" everytime. As you can see...
5
by: axapta | last post by:
Hi Group, How can I overcome the issue of null values in a datareader. I keep getting the dbnull error when I try to assign a null value to a text box. TIA
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.