Hi,
I have this sub in which I am trying to get a client name from a second
table based on a clientid value in my datalist. I am having problems
grabbing the clientid value out of my datalist and putting it into my
variable curClientID. How do you grab a value out of a datalist properly
please?
Thx,Lerp
Here's my sub:
'THIS SUB HANDLES GRABBING CLIENT NAMES
Sub dlBookings_OnItemDataBound(sender As Object, e As DataListItemEventArgs)
If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType =
ListItemType.AlternatingItem Then
' Retrieve the Label control in the current DataListItem.
Dim ClientNameLabel As Label =
e.Item.FindControl("clientnamelabel")
'Trying to grab clientid here
********************************************
Dim curClientID
curClientID = e.item.FindControl("clientid")....
********************************************
' GRAB client name using ID from db here
Dim clientlabel As String
Dim strSQL as String
'SQL STATEMENT
strSQL = "SELECT fullname FROM CLIENT WHERE clientid=" & curClientID
'NEW CONNECTION OBJECT
Dim MyConn as New
SQLConnection(ConfigurationSettings.AppSettings("d bConn"))
'NEW DATAREADER
Dim objDR as SQLDataReader
'NEW COMMAND OBJECT
Dim Cmd as New SQLCommand(strSQL, MyConn)
'OPEN CONNECTION
MyConn.Open()
'EXECUTE QUERY AND RETRIEVE DATA INTO READER
objDR = Cmd.ExecuteReader(system.data.CommandBehavior.Clos eConnection)
WHILE objDR.Read
clientlabel = objDR("fullname")
END While
myConn.close
'redisplay it in the DataList.
clientnamelabel.Text = clientlabel
End If
End Sub 4 1167
"Lerp" <ad***@officience.ca> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... Hi,
I have this sub in which I am trying to get a client name from a second table based on a clientid value in my datalist. I am having problems grabbing the clientid value out of my datalist and putting it into my variable curClientID. How do you grab a value out of a datalist properly please?
Thx,Lerp Here's my sub: 'THIS SUB HANDLES GRABBING CLIENT NAMES Sub dlBookings_OnItemDataBound(sender As Object, e As
DataListItemEventArgs) If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then
' Retrieve the Label control in the current DataListItem. Dim ClientNameLabel As Label = e.Item.FindControl("clientnamelabel")
'Trying to grab clientid here
******************************************** Dim curClientID curClientID = e.item.FindControl("clientid")....
********************************************
' GRAB client name using ID from db here Dim clientlabel As String Dim strSQL as String
'SQL STATEMENT strSQL = "SELECT fullname FROM CLIENT WHERE clientid=" & curClientID 'NEW CONNECTION OBJECT Dim MyConn as New SQLConnection(ConfigurationSettings.AppSettings("d bConn"))
'NEW DATAREADER Dim objDR as SQLDataReader
'NEW COMMAND OBJECT Dim Cmd as New SQLCommand(strSQL, MyConn)
'OPEN CONNECTION MyConn.Open()
'EXECUTE QUERY AND RETRIEVE DATA INTO READER objDR = Cmd.ExecuteReader(system.data.CommandBehavior.Clos eConnection)
WHILE objDR.Read clientlabel = objDR("fullname") END While
myConn.close
'redisplay it in the DataList. clientnamelabel.Text = clientlabel
End If End Sub
If the curClientID is a label, can't you just get the .text of it? You only
told it to find the control. You did not access any of the properties
associated with it (unless there is something after the elipsis ...).
---
Checked by AVG anti-virus system ( http://www.grisoft.com).
Version: 6.0.677 / Virus Database: 439 - Release Date: 5/4/2004
Hi jm,
I am trying to display the client name on the label in the itemtemplate, but
first I have to read the clientid from the fourth field of the current row
being displayed, do a query based on that clientid, and assign the
clientname value to the label within the datalist loop. My problem is that
I am unsure how to grab the value for the fourth column of the current row
of the datalist loop. there is nothing after the elipsis. I am unsure what
to write in order to grab that column value. I am coming from asp
background into .net.
Cheers, Lerp
"jm" <jo*************@yahoo.com> wrote in message
news:BPanc.6774$z06.1276684@attbi_s01... "Lerp" <ad***@officience.ca> wrote in message news:%2****************@tk2msftngp13.phx.gbl... Hi,
I have this sub in which I am trying to get a client name from a second table based on a clientid value in my datalist. I am having problems grabbing the clientid value out of my datalist and putting it into my variable curClientID. How do you grab a value out of a datalist
properly please?
Thx,Lerp Here's my sub: 'THIS SUB HANDLES GRABBING CLIENT NAMES Sub dlBookings_OnItemDataBound(sender As Object, e As DataListItemEventArgs) If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then
' Retrieve the Label control in the current DataListItem. Dim ClientNameLabel As Label = e.Item.FindControl("clientnamelabel")
'Trying to grab clientid here
******************************************** Dim curClientID curClientID = e.item.FindControl("clientid")....
********************************************
' GRAB client name using ID from db here Dim clientlabel As String Dim strSQL as String
'SQL STATEMENT strSQL = "SELECT fullname FROM CLIENT WHERE clientid=" & curClientID 'NEW CONNECTION OBJECT Dim MyConn as New SQLConnection(ConfigurationSettings.AppSettings("d bConn"))
'NEW DATAREADER Dim objDR as SQLDataReader
'NEW COMMAND OBJECT Dim Cmd as New SQLCommand(strSQL, MyConn)
'OPEN CONNECTION MyConn.Open()
'EXECUTE QUERY AND RETRIEVE DATA INTO READER objDR =
Cmd.ExecuteReader(system.data.CommandBehavior.Clos eConnection)
WHILE objDR.Read clientlabel = objDR("fullname") END While
myConn.close
'redisplay it in the DataList. clientnamelabel.Text = clientlabel
End If End Sub
If the curClientID is a label, can't you just get the .text of it? You
only told it to find the control. You did not access any of the properties associated with it (unless there is something after the elipsis ...).
---
Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.677 / Virus Database: 439 - Release Date: 5/4/2004
"Lerp" <ad***@officience.ca> wrote in message
news:eQ**************@tk2msftngp13.phx.gbl... Hi jm,
I am trying to display the client name on the label in the itemtemplate,
but first I have to read the clientid from the fourth field of the current row being displayed, do a query based on that clientid, and assign the clientname value to the label within the datalist loop. My problem is
that I am unsure how to grab the value for the fourth column of the current row of the datalist loop. there is nothing after the elipsis. I am unsure
what to write in order to grab that column value. I am coming from asp background into .net.
Cheers, Lerp
"jm" <jo*************@yahoo.com> wrote in message news:BPanc.6774$z06.1276684@attbi_s01... "Lerp" <ad***@officience.ca> wrote in message news:%2****************@tk2msftngp13.phx.gbl... Hi,
I have this sub in which I am trying to get a client name from a
second table based on a clientid value in my datalist. I am having problems grabbing the clientid value out of my datalist and putting it into my variable curClientID. How do you grab a value out of a datalist properly please?
Thx,Lerp Here's my sub: 'THIS SUB HANDLES GRABBING CLIENT NAMES Sub dlBookings_OnItemDataBound(sender As Object, e As DataListItemEventArgs) If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then
' Retrieve the Label control in the current DataListItem. Dim ClientNameLabel As Label = e.Item.FindControl("clientnamelabel")
'Trying to grab clientid here
******************************************** Dim curClientID curClientID = e.item.FindControl("clientid")....
********************************************
' GRAB client name using ID from db here Dim clientlabel As String Dim strSQL as String
'SQL STATEMENT strSQL = "SELECT fullname FROM CLIENT WHERE clientid=" &
curClientID 'NEW CONNECTION OBJECT Dim MyConn as New SQLConnection(ConfigurationSettings.AppSettings("d bConn"))
'NEW DATAREADER Dim objDR as SQLDataReader
'NEW COMMAND OBJECT Dim Cmd as New SQLCommand(strSQL, MyConn)
'OPEN CONNECTION MyConn.Open()
'EXECUTE QUERY AND RETRIEVE DATA INTO READER objDR = Cmd.ExecuteReader(system.data.CommandBehavior.Clos eConnection)
WHILE objDR.Read clientlabel = objDR("fullname") END While
myConn.close
'redisplay it in the DataList. clientnamelabel.Text = clientlabel
End If End Sub
If the curClientID is a label, can't you just get the .text of it? You only told it to find the control. You did not access any of the properties associated with it (unless there is something after the elipsis ...).
---
Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.677 / Virus Database: 439 - Release Date: 5/4/2004
Okay, first, just to let you know "ClientID" is a reserved word in .net for
getting the unique asp.net generated value for a given control; especially
useful in building javascript applications. It allows you to use the
objects on the client that asp.net generates a unique number for (like the
ctl1, etc. do a view source for an example.)
I believe you are using ClientID like OrderID and it looks like you want to
retrieve a value from a datalist that you generate (and is visible) and then
use that value for use in another query that those values are then sent to
the user.
Say you have a datagrid:
sub mysub(sender as Object, e as DataGridItemEventArgs)
CType(e.Items.Cells(0).Controls(0), Button).visible = false
so, in:
"Dim curClientID curClientID = e.item.FindControl("clientid")...."
put:
Dim curClientID as String = e.Items.Cells(?).Controls(?).label).text
to retrieve the value at that location. Use the type of control you have
and its associated methods and properties (like .text).
Look here for a great primer (I know you may not be using the datagrid, but
it will still help you.): http://aspnet.4guysfromrolla.com/art...71002-1.3.aspx
in here you will see an example close to what I have shown you. However,
you should go to the first part of the set of articles and start over: http://aspnet.4guysfromrolla.com/articles/040502-1.aspx
However, it looks like to get your data for your first datalist that you are
sending to the client you have some SQL or data somewhere you are retrieving
to build the datalist in the first place. So, instead of printing out the
datalist first and then searching for the newly printed out value from your
new datalist, just get the value from the retrieved SQL results, save it a
variable and then use THAT value for your next query.
For example, assume that I just queried a database and retreived my results.
You could get a value at the proper point in your retrieval by:
dim curClientID as string =
datasource.tables(0).rows(0)("client_id").toString ()
Then, use curClientID below in your next set of code.
I hope I understood your problem and that this somehow helps you (also, you
may also wish to avoid top posting for reading clarity.)
For a view of what I was saying about ClientID, see: http://msdn.microsoft.com/library/de...entIDTopic.asp
"Lerp" <ad***@officience.ca> wrote in message
news:eQ**************@tk2msftngp13.phx.gbl... Hi jm,
I am trying to display the client name on the label in the itemtemplate,
but first I have to read the clientid from the fourth field of the current row being displayed, do a query based on that clientid, and assign the clientname value to the label within the datalist loop. My problem is
that I am unsure how to grab the value for the fourth column of the current row of the datalist loop. there is nothing after the elipsis. I am unsure
what to write in order to grab that column value. I am coming from asp background into .net.
Cheers, Lerp
"jm" <jo*************@yahoo.com> wrote in message news:BPanc.6774$z06.1276684@attbi_s01... "Lerp" <ad***@officience.ca> wrote in message news:%2****************@tk2msftngp13.phx.gbl... Hi,
I have this sub in which I am trying to get a client name from a
second table based on a clientid value in my datalist. I am having problems grabbing the clientid value out of my datalist and putting it into my variable curClientID. How do you grab a value out of a datalist
properly please?
Thx,Lerp Here's my sub: 'THIS SUB HANDLES GRABBING CLIENT NAMES Sub dlBookings_OnItemDataBound(sender As Object, e As DataListItemEventArgs) If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then
' Retrieve the Label control in the current DataListItem. Dim ClientNameLabel As Label = e.Item.FindControl("clientnamelabel")
'Trying to grab clientid here
******************************************** Dim curClientID curClientID = e.item.FindControl("clientid")....
********************************************
' GRAB client name using ID from db here Dim clientlabel As String Dim strSQL as String
'SQL STATEMENT strSQL = "SELECT fullname FROM CLIENT WHERE clientid=" &
curClientID 'NEW CONNECTION OBJECT Dim MyConn as New SQLConnection(ConfigurationSettings.AppSettings("d bConn"))
'NEW DATAREADER Dim objDR as SQLDataReader
'NEW COMMAND OBJECT Dim Cmd as New SQLCommand(strSQL, MyConn)
'OPEN CONNECTION MyConn.Open()
'EXECUTE QUERY AND RETRIEVE DATA INTO READER objDR = Cmd.ExecuteReader(system.data.CommandBehavior.Clos eConnection)
WHILE objDR.Read clientlabel = objDR("fullname") END While
myConn.close
'redisplay it in the DataList. clientnamelabel.Text = clientlabel
End If End Sub
If the curClientID is a label, can't you just get the .text of it? You
only told it to find the control. You did not access any of the properties associated with it (unless there is something after the elipsis ...).
---
Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.677 / Virus Database: 439 - Release Date: 5/4/2004
Okay, first, just to let you know "ClientID" is a reserved word in .net for
getting the unique asp.net generated value for a given control; especially
useful in building javascript applications. It allows you to use the
objects on the client that asp.net generates a unique number for (like the
ctl1, etc. do a view source for an example.)
I believe you are using ClientID like OrderID and it looks like you want to
retrieve a value from a datalist that you generate (and is visible) and then
use that value for use in another query that those values are then sent to
the user.
Say you have a datagrid:
sub mysub(sender as Object, e as DataGridItemEventArgs)
CType(e.Items.Cells(0).Controls(0), Button).visible = false
so, in:
"Dim curClientID curClientID = e.item.FindControl("clientid")...."
put:
Dim curClientID as String = e.Items.Cells(?).Controls(?).label).text
to retrieve the value at that location. Use the type of control you have
and its associated methods and properties (like .text).
Look here for a great primer (I know you may not be using the datagrid, but
it will still help you.): http://aspnet.4guysfromrolla.com/art...71002-1.3.aspx
in here you will see an example close to what I have shown you. However,
you should go to the first part of the set of articles and start over: http://aspnet.4guysfromrolla.com/articles/040502-1.aspx
However, it looks like to get your data for your first datalist that you are
sending to the client you have some SQL or data somewhere you are retrieving
to build the datalist in the first place. So, instead of printing out the
datalist first and then searching for the newly printed out value from your
new datalist, just get the value from the retrieved SQL results, save it a
variable and then use THAT value for your next query.
For example, assume that I just queried a database and retreived my results.
You could get a value at the proper point in your retrieval by:
dim curClientID as string =
datasource.tables(0).rows(0)("client_id").toString ()
Then, use curClientID below in your next set of code.
I hope I understood your problem and that this somehow helps you (also, you
may also wish to avoid top posting for reading clarity.)
For a view of what I was saying about ClientID, see: http://msdn.microsoft.com/library/de...entIDTopic.asp
Thank you jm, I managed to get the name to display properly based on most
of your suggestions. Thank you again.
Thx, Lerp
"jm" <jo*************@yahoo.com> wrote in message
news:_%fnc.7930$536.1607804@attbi_s03... "Lerp" <ad***@officience.ca> wrote in message news:eQ**************@tk2msftngp13.phx.gbl... Hi jm,
I am trying to display the client name on the label in the itemtemplate, but first I have to read the clientid from the fourth field of the current
row being displayed, do a query based on that clientid, and assign the clientname value to the label within the datalist loop. My problem is that I am unsure how to grab the value for the fourth column of the current
row of the datalist loop. there is nothing after the elipsis. I am unsure what to write in order to grab that column value. I am coming from asp background into .net.
Cheers, Lerp
"jm" <jo*************@yahoo.com> wrote in message news:BPanc.6774$z06.1276684@attbi_s01... "Lerp" <ad***@officience.ca> wrote in message news:%2****************@tk2msftngp13.phx.gbl... > Hi, > > I have this sub in which I am trying to get a client name from a second > table based on a clientid value in my datalist. I am having
problems > grabbing the clientid value out of my datalist and putting it into
my > variable curClientID. How do you grab a value out of a datalist
properly > please? > > Thx,Lerp > Here's my sub: > > > > 'THIS SUB HANDLES GRABBING CLIENT NAMES > Sub dlBookings_OnItemDataBound(sender As Object, e As DataListItemEventArgs) > > If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = > ListItemType.AlternatingItem Then > > ' Retrieve the Label control in the current DataListItem. > Dim ClientNameLabel As Label = > e.Item.FindControl("clientnamelabel") > > > 'Trying to grab clientid here > > ******************************************** > Dim curClientID > curClientID = e.item.FindControl("clientid").... > > ******************************************** > > > > > ' GRAB client name using ID from db here > Dim clientlabel As String > Dim strSQL as String > > > 'SQL STATEMENT > strSQL = "SELECT fullname FROM CLIENT WHERE clientid=" & curClientID > 'NEW CONNECTION OBJECT > Dim MyConn as New > SQLConnection(ConfigurationSettings.AppSettings("d bConn")) > > 'NEW DATAREADER > Dim objDR as SQLDataReader > > 'NEW COMMAND OBJECT > Dim Cmd as New SQLCommand(strSQL, MyConn) > > 'OPEN CONNECTION > MyConn.Open() > > 'EXECUTE QUERY AND RETRIEVE DATA INTO READER > objDR = Cmd.ExecuteReader(system.data.CommandBehavior.Clos eConnection) > > > WHILE objDR.Read > clientlabel = objDR("fullname") > END While > > myConn.close > > 'redisplay it in the DataList. > clientnamelabel.Text = clientlabel > > End If > > > > End Sub
If the curClientID is a label, can't you just get the .text of it?
You only told it to find the control. You did not access any of the properties associated with it (unless there is something after the elipsis ...).
---
Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.677 / Virus Database: 439 - Release Date: 5/4/2004 Okay, first, just to let you know "ClientID" is a reserved word in .net
for getting the unique asp.net generated value for a given control; especially useful in building javascript applications. It allows you to use the objects on the client that asp.net generates a unique number for (like the ctl1, etc. do a view source for an example.)
I believe you are using ClientID like OrderID and it looks like you want
to retrieve a value from a datalist that you generate (and is visible) and
then use that value for use in another query that those values are then sent to the user.
Say you have a datagrid:
sub mysub(sender as Object, e as DataGridItemEventArgs)
CType(e.Items.Cells(0).Controls(0), Button).visible = false
so, in:
"Dim curClientID > > > curClientID = e.item.FindControl("clientid")...." put:
Dim curClientID as String = e.Items.Cells(?).Controls(?).label).text
to retrieve the value at that location. Use the type of control you have and its associated methods and properties (like .text).
Look here for a great primer (I know you may not be using the datagrid,
but it will still help you.):
http://aspnet.4guysfromrolla.com/art...71002-1.3.aspx
in here you will see an example close to what I have shown you. However, you should go to the first part of the set of articles and start over: http://aspnet.4guysfromrolla.com/articles/040502-1.aspx
However, it looks like to get your data for your first datalist that you
are sending to the client you have some SQL or data somewhere you are
retrieving to build the datalist in the first place. So, instead of printing out the datalist first and then searching for the newly printed out value from
your new datalist, just get the value from the retrieved SQL results, save it a variable and then use THAT value for your next query.
For example, assume that I just queried a database and retreived my
results. You could get a value at the proper point in your retrieval by:
dim curClientID as string = datasource.tables(0).rows(0)("client_id").toString ()
Then, use curClientID below in your next set of code.
I hope I understood your problem and that this somehow helps you (also,
you may also wish to avoid top posting for reading clarity.)
For a view of what I was saying about ClientID, see: http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfSystemWebUIControlClassClientIDTopic.asp "Lerp" <ad***@officience.ca> wrote in message news:eQ**************@tk2msftngp13.phx.gbl... Hi jm,
I am trying to display the client name on the label in the itemtemplate, but first I have to read the clientid from the fourth field of the current
row being displayed, do a query based on that clientid, and assign the clientname value to the label within the datalist loop. My problem is that I am unsure how to grab the value for the fourth column of the current
row of the datalist loop. there is nothing after the elipsis. I am unsure what to write in order to grab that column value. I am coming from asp background into .net.
Cheers, Lerp
"jm" <jo*************@yahoo.com> wrote in message news:BPanc.6774$z06.1276684@attbi_s01... "Lerp" <ad***@officience.ca> wrote in message news:%2****************@tk2msftngp13.phx.gbl... > Hi, > > I have this sub in which I am trying to get a client name from a second > table based on a clientid value in my datalist. I am having
problems > grabbing the clientid value out of my datalist and putting it into
my > variable curClientID. How do you grab a value out of a datalist properly > please? > > Thx,Lerp > Here's my sub: > > > > 'THIS SUB HANDLES GRABBING CLIENT NAMES > Sub dlBookings_OnItemDataBound(sender As Object, e As DataListItemEventArgs) > > If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = > ListItemType.AlternatingItem Then > > ' Retrieve the Label control in the current DataListItem. > Dim ClientNameLabel As Label = > e.Item.FindControl("clientnamelabel") > > > 'Trying to grab clientid here > > ******************************************** > Dim curClientID > curClientID = e.item.FindControl("clientid").... > > ******************************************** > > > > > ' GRAB client name using ID from db here > Dim clientlabel As String > Dim strSQL as String > > > 'SQL STATEMENT > strSQL = "SELECT fullname FROM CLIENT WHERE clientid=" & curClientID > 'NEW CONNECTION OBJECT > Dim MyConn as New > SQLConnection(ConfigurationSettings.AppSettings("d bConn")) > > 'NEW DATAREADER > Dim objDR as SQLDataReader > > 'NEW COMMAND OBJECT > Dim Cmd as New SQLCommand(strSQL, MyConn) > > 'OPEN CONNECTION > MyConn.Open() > > 'EXECUTE QUERY AND RETRIEVE DATA INTO READER > objDR = Cmd.ExecuteReader(system.data.CommandBehavior.Clos eConnection) > > > WHILE objDR.Read > clientlabel = objDR("fullname") > END While > > myConn.close > > 'redisplay it in the DataList. > clientnamelabel.Text = clientlabel > > End If > > > > End Sub
If the curClientID is a label, can't you just get the .text of it?
You only told it to find the control. You did not access any of the properties associated with it (unless there is something after the elipsis ...).
---
Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.677 / Virus Database: 439 - Release Date: 5/4/2004 Okay, first, just to let you know "ClientID" is a reserved word in .net
for getting the unique asp.net generated value for a given control; especially useful in building javascript applications. It allows you to use the objects on the client that asp.net generates a unique number for (like the ctl1, etc. do a view source for an example.)
I believe you are using ClientID like OrderID and it looks like you want
to retrieve a value from a datalist that you generate (and is visible) and
then use that value for use in another query that those values are then sent to the user.
Say you have a datagrid:
sub mysub(sender as Object, e as DataGridItemEventArgs)
CType(e.Items.Cells(0).Controls(0), Button).visible = false
so, in:
"Dim curClientID > > > curClientID = e.item.FindControl("clientid")...." put:
Dim curClientID as String = e.Items.Cells(?).Controls(?).label).text
to retrieve the value at that location. Use the type of control you have and its associated methods and properties (like .text).
Look here for a great primer (I know you may not be using the datagrid,
but it will still help you.):
http://aspnet.4guysfromrolla.com/art...71002-1.3.aspx
in here you will see an example close to what I have shown you. However, you should go to the first part of the set of articles and start over: http://aspnet.4guysfromrolla.com/articles/040502-1.aspx
However, it looks like to get your data for your first datalist that you
are sending to the client you have some SQL or data somewhere you are
retrieving to build the datalist in the first place. So, instead of printing out the datalist first and then searching for the newly printed out value from
your new datalist, just get the value from the retrieved SQL results, save it a variable and then use THAT value for your next query.
For example, assume that I just queried a database and retreived my
results. You could get a value at the proper point in your retrieval by:
dim curClientID as string = datasource.tables(0).rows(0)("client_id").toString ()
Then, use curClientID below in your next set of code.
I hope I understood your problem and that this somehow helps you (also,
you may also wish to avoid top posting for reading clarity.)
For a view of what I was saying about ClientID, see: http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfSystemWebUIControlClassClientIDTopic.asp This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: clequieu |
last post by:
I have created a form. Within the form is a button to close the window
on click and to validate as well. The close window works when it is a
stand alone, but it does not work when it is embedded...
|
by: Henro V |
last post by:
Private Sub Form_Current()
If Form.NewRecord = True Then
If DCount("Id", "Urenregistratie") = 4026 Then
MsgBox "Sorry, deze registratie gaat maar tot en met 31-12-2004",
vbOKOnly, "Toevoegen niet...
|
by: AA |
last post by:
This is making me crazy!!
Please, if some body can help me.
I'm testing a ver simple socket client.
In my test I just open and close a connection (in a loop) to my local IIS
server (port 80)...
|
by: Chien Lau |
last post by:
Hi,
At a certain point in my application, I have access to a Form object. I
want to close that form:
form.Close();
There are any number of reasons why this form might not close. A common...
|
by: louise raisbeck |
last post by:
I have this scenario (simplified)
function addnewdata () {
check for partial match already in db for information entered by user
if (partialmatch succeeds) {
open new window aspx page (using...
|
by: Nathan |
last post by:
I know this has been asked previously, but I've run into a situation where I
need to know the difference between close and dispose, and I can't get the
information I need from msdn help or previous...
|
by: bevanward |
last post by:
Hi all
I have a large data set of points situated in 3d space. I have a simple
primary key and an x, y and z value.
What I would like is an efficient method for finding the group of
points...
|
by: Jan Tovgaard |
last post by:
Hey everyone:)
We have a critical problem, which I can see that other people also has ran
into.
In Internet Explorer 7 it is no longer possible to do a window.close after
opening a window,...
|
by: Tony |
last post by:
I am continuing to develop an Access 2007 application which was
originally converted from Access 2003. In Access 2003 I was able to
disable the Access Close button in the top righthand corner of...
|
by: Bassem |
last post by:
I'm working on simple chat program via serial port. It works fine, but i face this problem.
When i try to open the exe, UnauthorizedAccess exception occurs, i can't use COM1 becuase someone else has...
|
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...
|
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...
|
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...
|
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,...
|
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...
|
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,...
|
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...
|
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: 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...
| |