473,406 Members | 2,356 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,406 software developers and data experts.

checking if textbox actually exists on page...

(ASP.NET 2 / VB)

Question - How can I write a If statement to see if a control (textbox)
actually exists on a page? Upon page_load, a certain control may or may not
be visible on the page so I need to first check to see if it actually exists
and then if it does, get the value from it. If I try to read it or check if
its "visible" if it's not on the page then of course, it'll error.

Thanks!
Mar 1 '06 #1
9 5579
You can do a FindControl(ID) or just add a Try/Catch block around the IF.
--
Adrian Parker
Ingenuity At Work Ltd

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message news:ey**************@TK2MSFTNGP09.phx.gbl...
(ASP.NET 2 / VB)

Question - How can I write a If statement to see if a control (textbox) actually exists on a page? Upon page_load, a certain
control may or may not be visible on the page so I need to first check to see if it actually exists and then if it does, get the
value from it. If I try to read it or check if its "visible" if it's not on the page then of course, it'll error.

Thanks!

Mar 1 '06 #2
Thanks. That'll help...but I'm stuck.

If FindControl(txtFixedOpExp) Is Null Then.....

According to the Object Browser and Help files in VWD, the FindControl will
return the name of the control or a Null. Yet, my If statement still
errors.

Error:
Value of type 'System.Web.UI.WebControls.TextBox' cannot be converted to
'String'.
From VWD:
Public Overridable Function FindControl(ByVal id As String) As
System.Web.UI.Control

Member of: System.Web.UI.Control

Summary:

Searches the current naming container for a server control with the
specified id parameter.

Parameters:

id: The identifier for the control to be found.

Return Values:

The specified control, or null if the specified control does not exist.
Any idead? Thanks again!

"Adrian Parker" <ap******@nospam.nospam> wrote in message
news:O0**************@TK2MSFTNGP10.phx.gbl...
You can do a FindControl(ID) or just add a Try/Catch block around the IF.
--
Adrian Parker
Ingenuity At Work Ltd

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:ey**************@TK2MSFTNGP09.phx.gbl...
(ASP.NET 2 / VB)

Question - How can I write a If statement to see if a control (textbox)
actually exists on a page? Upon page_load, a certain control may or may
not be visible on the page so I need to first check to see if it actually
exists and then if it does, get the value from it. If I try to read it
or check if its "visible" if it's not on the page then of course, it'll
error.

Thanks!


Mar 1 '06 #3
Try comparing with Nothing

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message news:uX****************@TK2MSFTNGP11.phx.gbl...
Thanks. That'll help...but I'm stuck.

If FindControl(txtFixedOpExp) Is Null Then.....

According to the Object Browser and Help files in VWD, the FindControl will return the name of the control or a Null. Yet, my If
statement still errors.

Error:
Value of type 'System.Web.UI.WebControls.TextBox' cannot be converted to 'String'.
From VWD:
Public Overridable Function FindControl(ByVal id As String) As System.Web.UI.Control

Member of: System.Web.UI.Control

Summary:

Searches the current naming container for a server control with the specified id parameter.

Parameters:

id: The identifier for the control to be found.

Return Values:

The specified control, or null if the specified control does not exist.
Any idead? Thanks again!

"Adrian Parker" <ap******@nospam.nospam> wrote in message news:O0**************@TK2MSFTNGP10.phx.gbl...
You can do a FindControl(ID) or just add a Try/Catch block around the IF.
--
Adrian Parker
Ingenuity At Work Ltd

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message news:ey**************@TK2MSFTNGP09.phx.gbl...
(ASP.NET 2 / VB)

Question - How can I write a If statement to see if a control (textbox) actually exists on a page? Upon page_load, a certain
control may or may not be visible on the page so I need to first check to see if it actually exists and then if it does, get the
value from it. If I try to read it or check if its "visible" if it's not on the page then of course, it'll error.

Thanks!



Mar 1 '06 #4
I'm surprised. Same error.

My two If attempts:
If IsNothing(FindControl(txtFixedOpExp)) = True Then

If FindControl(txtFixedOpExp) Is Nothing Then

Same error:

Value of type 'System.Web.UI.WebControls.TextBox' cannot be converted to
'String'.


I'm going to search for some real sample code in VWD.......

"Adrian Parker" <ap******@nospam.nospam> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Try comparing with Nothing

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:uX****************@TK2MSFTNGP11.phx.gbl...
Thanks. That'll help...but I'm stuck.

If FindControl(txtFixedOpExp) Is Null Then.....

According to the Object Browser and Help files in VWD, the FindControl
will return the name of the control or a Null. Yet, my If statement
still errors.

Error:
Value of type 'System.Web.UI.WebControls.TextBox' cannot be converted to
'String'.
From VWD:
Public Overridable Function FindControl(ByVal id As String) As
System.Web.UI.Control

Member of: System.Web.UI.Control

Summary:

Searches the current naming container for a server control with the
specified id parameter.

Parameters:

id: The identifier for the control to be found.

Return Values:

The specified control, or null if the specified control does not exist.
Any idead? Thanks again!

"Adrian Parker" <ap******@nospam.nospam> wrote in message
news:O0**************@TK2MSFTNGP10.phx.gbl...
You can do a FindControl(ID) or just add a Try/Catch block around the
IF.
--
Adrian Parker
Ingenuity At Work Ltd

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:ey**************@TK2MSFTNGP09.phx.gbl...
(ASP.NET 2 / VB)

Question - How can I write a If statement to see if a control (textbox)
actually exists on a page? Upon page_load, a certain control may or
may not be visible on the page so I need to first check to see if it
actually exists and then if it does, get the value from it. If I try
to read it or check if its "visible" if it's not on the page then of
course, it'll error.

Thanks!



Mar 1 '06 #5
Got it. Needed quotes.

If FindControl("txtFixedOpExp") Is Nothing Then

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
I'm surprised. Same error.

My two If attempts:
If IsNothing(FindControl(txtFixedOpExp)) = True Then

If FindControl(txtFixedOpExp) Is Nothing Then

Same error:

Value of type 'System.Web.UI.WebControls.TextBox' cannot be converted to
'String'.


I'm going to search for some real sample code in VWD.......

"Adrian Parker" <ap******@nospam.nospam> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Try comparing with Nothing

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:uX****************@TK2MSFTNGP11.phx.gbl...
Thanks. That'll help...but I'm stuck.

If FindControl(txtFixedOpExp) Is Null Then.....

According to the Object Browser and Help files in VWD, the FindControl
will return the name of the control or a Null. Yet, my If statement
still errors.

Error:
Value of type 'System.Web.UI.WebControls.TextBox' cannot be converted to
'String'.
From VWD:
Public Overridable Function FindControl(ByVal id As String) As
System.Web.UI.Control

Member of: System.Web.UI.Control

Summary:

Searches the current naming container for a server control with the
specified id parameter.

Parameters:

id: The identifier for the control to be found.

Return Values:

The specified control, or null if the specified control does not exist.
Any idead? Thanks again!

"Adrian Parker" <ap******@nospam.nospam> wrote in message
news:O0**************@TK2MSFTNGP10.phx.gbl...
You can do a FindControl(ID) or just add a Try/Catch block around the
IF.
--
Adrian Parker
Ingenuity At Work Ltd

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:ey**************@TK2MSFTNGP09.phx.gbl...
> (ASP.NET 2 / VB)
>
> Question - How can I write a If statement to see if a control
> (textbox) actually exists on a page? Upon page_load, a certain
> control may or may not be visible on the page so I need to first check
> to see if it actually exists and then if it does, get the value from
> it. If I try to read it or check if its "visible" if it's not on the
> page then of course, it'll error.
>
> Thanks!
>



Mar 1 '06 #6
just tried

If FindControl("fred") Is Nothing Then
End If

and it didn't blow up

Is txtFixedOpExp the ID of the control you're looking for ? if so, put it in quotes..

If FindControl("txtFixedOpExp") Is Nothing Then
End If

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message news:%2****************@TK2MSFTNGP15.phx.gbl...
I'm surprised. Same error.

My two If attempts:
If IsNothing(FindControl(txtFixedOpExp)) = True Then

If FindControl(txtFixedOpExp) Is Nothing Then

Same error:

Value of type 'System.Web.UI.WebControls.TextBox' cannot be converted to 'String'.


I'm going to search for some real sample code in VWD.......

"Adrian Parker" <ap******@nospam.nospam> wrote in message news:%2***************@TK2MSFTNGP15.phx.gbl...
Try comparing with Nothing

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message news:uX****************@TK2MSFTNGP11.phx.gbl...
Thanks. That'll help...but I'm stuck.

If FindControl(txtFixedOpExp) Is Null Then.....

According to the Object Browser and Help files in VWD, the FindControl will return the name of the control or a Null. Yet, my
If statement still errors.

Error:
Value of type 'System.Web.UI.WebControls.TextBox' cannot be converted to 'String'.
From VWD:
Public Overridable Function FindControl(ByVal id As String) As System.Web.UI.Control

Member of: System.Web.UI.Control

Summary:

Searches the current naming container for a server control with the specified id parameter.

Parameters:

id: The identifier for the control to be found.

Return Values:

The specified control, or null if the specified control does not exist.
Any idead? Thanks again!

"Adrian Parker" <ap******@nospam.nospam> wrote in message news:O0**************@TK2MSFTNGP10.phx.gbl...
You can do a FindControl(ID) or just add a Try/Catch block around the IF.
--
Adrian Parker
Ingenuity At Work Ltd

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message news:ey**************@TK2MSFTNGP09.phx.gbl...
> (ASP.NET 2 / VB)
>
> Question - How can I write a If statement to see if a control (textbox) actually exists on a page? Upon page_load, a certain
> control may or may not be visible on the page so I need to first check to see if it actually exists and then if it does, get
> the value from it. If I try to read it or check if its "visible" if it's not on the page then of course, it'll error.
>
> Thanks!
>



Mar 1 '06 #7
Thanks once again. I spoke too soon. I have a function to detect whether a
series of controls exist on a page or not. Just as a test, I'm only
checking one control. However, my function ALWAYS returns "OK". I'm
stumped because the control "txtFixedOpExp" is NOT on the page or in the
source code.....


Protected Function CheckForModes() As String

Dim strResponse As String

'If No Modes are Visible on the page then...

If IsNothing(FindControl("txtFixedOpExp")) = True Then

strResponse = "No Modes"

Else

strResponse = "OK"

End If

Return strResponse

End Function



"Adrian Parker" <ap******@nospam.nospam> wrote in message
news:O4****************@TK2MSFTNGP11.phx.gbl...
just tried

If FindControl("fred") Is Nothing Then
End If

and it didn't blow up

Is txtFixedOpExp the ID of the control you're looking for ? if so, put it
in quotes..

If FindControl("txtFixedOpExp") Is Nothing Then
End If

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
I'm surprised. Same error.

My two If attempts:
If IsNothing(FindControl(txtFixedOpExp)) = True Then

If FindControl(txtFixedOpExp) Is Nothing Then

Same error:

Value of type 'System.Web.UI.WebControls.TextBox' cannot be converted to
'String'.


I'm going to search for some real sample code in VWD.......

"Adrian Parker" <ap******@nospam.nospam> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Try comparing with Nothing

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:uX****************@TK2MSFTNGP11.phx.gbl...
Thanks. That'll help...but I'm stuck.

If FindControl(txtFixedOpExp) Is Null Then.....

According to the Object Browser and Help files in VWD, the FindControl
will return the name of the control or a Null. Yet, my If statement
still errors.

Error:
Value of type 'System.Web.UI.WebControls.TextBox' cannot be converted
to 'String'.
From VWD:
Public Overridable Function FindControl(ByVal id As String) As
System.Web.UI.Control

Member of: System.Web.UI.Control

Summary:

Searches the current naming container for a server control with the
specified id parameter.

Parameters:

id: The identifier for the control to be found.

Return Values:

The specified control, or null if the specified control does not exist.
Any idead? Thanks again!

"Adrian Parker" <ap******@nospam.nospam> wrote in message
news:O0**************@TK2MSFTNGP10.phx.gbl...
> You can do a FindControl(ID) or just add a Try/Catch block around the
> IF.
> --
> Adrian Parker
> Ingenuity At Work Ltd
>
> "D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
> news:ey**************@TK2MSFTNGP09.phx.gbl...
>> (ASP.NET 2 / VB)
>>
>> Question - How can I write a If statement to see if a control
>> (textbox) actually exists on a page? Upon page_load, a certain
>> control may or may not be visible on the page so I need to first
>> check to see if it actually exists and then if it does, get the value
>> from it. If I try to read it or check if its "visible" if it's not
>> on the page then of course, it'll error.
>>
>> Thanks!
>>
>
>



Mar 1 '06 #8
C# code, but you should be able to understand.

ASP.NET form named frmASPMain that contains multiple textboxes and a button
named btnList.

protected void btnList_Click(object sender, EventArgs e) {

ListTextControls(frmASPMain.Controls, false);

}

private void ListTextControls(ControlCollection controls, bool
listNested) {

foreach(Control control in controls) {

if(control is TextBox) {

Response.Write("Text Control: " + control.ID + "->"
+ ((TextBox)control).Text + "<br />");

}

if((control.Controls != null) && listNested) {

ListTextControls(control.Controls, true);

}

}

}
You can modify the function to accomadate any type of web control.

HTH

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:OT**************@tk2msftngp13.phx.gbl...
Thanks once again. I spoke too soon. I have a function to detect whether
a series of controls exist on a page or not. Just as a test, I'm only
checking one control. However, my function ALWAYS returns "OK". I'm
stumped because the control "txtFixedOpExp" is NOT on the page or in the
source code.....


Protected Function CheckForModes() As String

Dim strResponse As String

'If No Modes are Visible on the page then...

If IsNothing(FindControl("txtFixedOpExp")) = True Then

strResponse = "No Modes"

Else

strResponse = "OK"

End If

Return strResponse

End Function



"Adrian Parker" <ap******@nospam.nospam> wrote in message
news:O4****************@TK2MSFTNGP11.phx.gbl...
just tried

If FindControl("fred") Is Nothing Then
End If

and it didn't blow up

Is txtFixedOpExp the ID of the control you're looking for ? if so, put
it in quotes..

If FindControl("txtFixedOpExp") Is Nothing Then
End If

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
I'm surprised. Same error.

My two If attempts:
If IsNothing(FindControl(txtFixedOpExp)) = True Then

If FindControl(txtFixedOpExp) Is Nothing Then

Same error:

Value of type 'System.Web.UI.WebControls.TextBox' cannot be converted to
'String'.


I'm going to search for some real sample code in VWD.......

"Adrian Parker" <ap******@nospam.nospam> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Try comparing with Nothing

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:uX****************@TK2MSFTNGP11.phx.gbl...
> Thanks. That'll help...but I'm stuck.
>
> If FindControl(txtFixedOpExp) Is Null Then.....
>
> According to the Object Browser and Help files in VWD, the FindControl
> will return the name of the control or a Null. Yet, my If statement
> still errors.
>
> Error:
> Value of type 'System.Web.UI.WebControls.TextBox' cannot be converted
> to 'String'.
>
>
> From VWD:
> Public Overridable Function FindControl(ByVal id As String) As
> System.Web.UI.Control
>
> Member of: System.Web.UI.Control
>
> Summary:
>
> Searches the current naming container for a server control with the
> specified id parameter.
>
> Parameters:
>
> id: The identifier for the control to be found.
>
> Return Values:
>
> The specified control, or null if the specified control does not
> exist.
>
>
> Any idead? Thanks again!
>
>
>
>
>
> "Adrian Parker" <ap******@nospam.nospam> wrote in message
> news:O0**************@TK2MSFTNGP10.phx.gbl...
>> You can do a FindControl(ID) or just add a Try/Catch block around the
>> IF.
>> --
>> Adrian Parker
>> Ingenuity At Work Ltd
>>
>> "D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
>> news:ey**************@TK2MSFTNGP09.phx.gbl...
>>> (ASP.NET 2 / VB)
>>>
>>> Question - How can I write a If statement to see if a control
>>> (textbox) actually exists on a page? Upon page_load, a certain
>>> control may or may not be visible on the page so I need to first
>>> check to see if it actually exists and then if it does, get the
>>> value from it. If I try to read it or check if its "visible" if
>>> it's not on the page then of course, it'll error.
>>>
>>> Thanks!
>>>
>>
>>
>
>



Mar 1 '06 #9
Thanks. The problem was, at least with my function, was that the
FindControl was returning a Control as a response.....not just a boolean.

"Brooke" <tb******@hotmail.com> wrote in message
news:un**************@TK2MSFTNGP11.phx.gbl...
C# code, but you should be able to understand.

ASP.NET form named frmASPMain that contains multiple textboxes and a
button named btnList.

protected void btnList_Click(object sender, EventArgs e) {

ListTextControls(frmASPMain.Controls, false);

}

private void ListTextControls(ControlCollection controls, bool
listNested) {

foreach(Control control in controls) {

if(control is TextBox) {

Response.Write("Text Control: " + control.ID + "->"
+ ((TextBox)control).Text + "<br />");

}

if((control.Controls != null) && listNested) {

ListTextControls(control.Controls, true);

}

}

}
You can modify the function to accomadate any type of web control.

HTH

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:OT**************@tk2msftngp13.phx.gbl...
Thanks once again. I spoke too soon. I have a function to detect
whether a series of controls exist on a page or not. Just as a test, I'm
only checking one control. However, my function ALWAYS returns "OK".
I'm stumped because the control "txtFixedOpExp" is NOT on the page or in
the source code.....


Protected Function CheckForModes() As String

Dim strResponse As String

'If No Modes are Visible on the page then...

If IsNothing(FindControl("txtFixedOpExp")) = True Then

strResponse = "No Modes"

Else

strResponse = "OK"

End If

Return strResponse

End Function



"Adrian Parker" <ap******@nospam.nospam> wrote in message
news:O4****************@TK2MSFTNGP11.phx.gbl...
just tried

If FindControl("fred") Is Nothing Then
End If

and it didn't blow up

Is txtFixedOpExp the ID of the control you're looking for ? if so, put
it in quotes..

If FindControl("txtFixedOpExp") Is Nothing Then
End If

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
I'm surprised. Same error.

My two If attempts:
If IsNothing(FindControl(txtFixedOpExp)) = True Then

If FindControl(txtFixedOpExp) Is Nothing Then

Same error:

Value of type 'System.Web.UI.WebControls.TextBox' cannot be converted
to 'String'.


I'm going to search for some real sample code in VWD.......

"Adrian Parker" <ap******@nospam.nospam> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
> Try comparing with Nothing
>
> "D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
> news:uX****************@TK2MSFTNGP11.phx.gbl...
>> Thanks. That'll help...but I'm stuck.
>>
>> If FindControl(txtFixedOpExp) Is Null Then.....
>>
>> According to the Object Browser and Help files in VWD, the
>> FindControl will return the name of the control or a Null. Yet, my
>> If statement still errors.
>>
>> Error:
>> Value of type 'System.Web.UI.WebControls.TextBox' cannot be converted
>> to 'String'.
>>
>>
>> From VWD:
>> Public Overridable Function FindControl(ByVal id As String) As
>> System.Web.UI.Control
>>
>> Member of: System.Web.UI.Control
>>
>> Summary:
>>
>> Searches the current naming container for a server control with the
>> specified id parameter.
>>
>> Parameters:
>>
>> id: The identifier for the control to be found.
>>
>> Return Values:
>>
>> The specified control, or null if the specified control does not
>> exist.
>>
>>
>> Any idead? Thanks again!
>>
>>
>>
>>
>>
>> "Adrian Parker" <ap******@nospam.nospam> wrote in message
>> news:O0**************@TK2MSFTNGP10.phx.gbl...
>>> You can do a FindControl(ID) or just add a Try/Catch block around
>>> the IF.
>>> --
>>> Adrian Parker
>>> Ingenuity At Work Ltd
>>>
>>> "D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
>>> news:ey**************@TK2MSFTNGP09.phx.gbl...
>>>> (ASP.NET 2 / VB)
>>>>
>>>> Question - How can I write a If statement to see if a control
>>>> (textbox) actually exists on a page? Upon page_load, a certain
>>>> control may or may not be visible on the page so I need to first
>>>> check to see if it actually exists and then if it does, get the
>>>> value from it. If I try to read it or check if its "visible" if
>>>> it's not on the page then of course, it'll error.
>>>>
>>>> Thanks!
>>>>
>>>
>>>
>>
>>
>
>



Mar 1 '06 #10

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

Similar topics

9
by: news | last post by:
There's all kinds of ways to validate an email address to make sure it's well formed and whatnot, but what about checking to see if it's a valid e-mail account? Like how you can use checkdnsrr()...
3
by: Phil Lamey | last post by:
Hi Folks, I have run into a bit of an issue with checking for files. Some files reside on Server X and some on Server Y. The page with all the links is on Server X. If the file exists we...
15
by: Geiregat Jonas | last post by:
is using if(open("file",O_EXCL) != -1){ printf("File does exists")}else{printf("file does not exists"); } a good way of checking if a file exists or not, if not how should I do it ?
9
by: nail | last post by:
Hi. So I have a default.aspx page and 3 WebUserControls In the WebUserControl1, I have on TexBox, and in the default.aspx page I have a Button control. On the click event of the default.aspx page...
4
by: Darrel | last post by:
I'm trying to add an extra layer of error checking on a Drop Down List. The list is populated from one table, and then I select the selectedValue from another DB. While it SHOULDN'T ever happen,...
3
by: Joe Delphi | last post by:
Hi, I have more experience working with Windows.Forms than with WebForms and sometimes it trips me up. When my page loads, I want a particular textbox to have the focus. I am attempting to...
7
by: joey.powell | last post by:
I have a home page with username and password textboxes and a login button for purposes of users being able to log in (forms authentication) directly on the site home page. I also have a dedicated...
125
by: jacob navia | last post by:
We hear very often in this discussion group that bounds checking, or safety tests are too expensive to be used in C. Several researchers of UCSD have published an interesting paper about this...
3
by: Mike | last post by:
Is there a way to determine if a user deleted text in a asp:textbox? I have a textbox were users can enter in a product number, then they click a button to see if the product numbers(s) exists in...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.