Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
selecteditem
- Page 1
Re: Selecteditem.tostring
Programming
Software Development
14 Years Ago
by Pgmer
Why are you doing selectedindex.tostring()??? its
selecteditem
.tostring()
Re: Selecteditem.tostring
Programming
Software Development
14 Years Ago
by bklynman01
… load directly into the textbox. The syntax is [ICODE]comboBox1.
SelectedItem
.ToString[/ICODE] and [ICODE]comboBox1.SelectedValue.ToString[/ICODE]. If you…
Listbox selectedItem.value cannot be retrieved
Programming
Web Development
19 Years Ago
by ozeona
… cannot figure out why. Whenever i declare selectedMain as linklist.
selectedItem
.value, it will alsways tell me "Object reference not… = New OdbcConnection(ConnStr) conODBC.Open() Dim selectedMain selectedMain=linklist.
selectedItem
selectedMain = linklist.
selectedItem
.value testing.text = string.format("the selected one…
Re: Listbox selectedItem.value cannot be retrieved
Programming
Web Development
19 Years Ago
by Paladine
… as the [u]primary key[/u]. Thus the[/color] [b]
SelectedItem
.Value [/b][/color]would be this primary key value, and… f_title is a string or varchar() datatype [/color]selectedMain = linklist.
SelectedItem
.Value[/size] [/code] But I am guessing at the datatype…
Re: wpf Binding to a Listbox.SelectedItem.Content property within a datatemplate.
Programming
Software Development
13 Years Ago
by hmortensen
… solution. First I had to set [B]
SelectedItem
="{Binding Path=
SelectedItem
}"[/B] in the Listbox. Then in… the TextBox I had to set the [B]Path=
SelectedItem
.navn[/B] and everything worked :) Hope this will…CODE] <TextBox Text="{Binding ElementName=lb_Afloesere, Path=
SelectedItem
}" Name="tb_navn" Margin="0,0,…
Re: comboBox.selectedItem problem
Programming
Software Development
15 Years Ago
by Mitja Bonca
…;]http://www.file.si/files/bqoc75hwx084p4wz3mmo.jpg[/URL] In comboBox1.
SelectedItem
I have as an Item "AvtoKrka.FilterDatotek" - this… would say is incorect. I would need to have in
selectedItem
ONLY DocumentFilter (Filter Dokumenta) which is "*.doc". Don…
Re: Different between SelectedValue, SelectedIndex and SelectedItem
Programming
Software Development
9 Years Ago
by Santanu.Das
….microsoft.com/en-us/library/system.web.ui.webcontrols.listcontrol.
selecteditem
(v=vs.110).aspx](https://msdn.microsoft.com/en-us…
comboBox->SelectedItem
Programming
Software Development
17 Years Ago
by Jennifer84
… textingWindowTemp.......*/ String^ texting = "C:\\Glob\\temp\\" + Loadtextings->
SelectedItem
->ToString() + ".txt"; std::string texting2; MarshalString(texting…
comboBox.selectedItem problem
Programming
Software Development
15 Years Ago
by Mitja Bonca
…: [CODE]string[] dirs = Directory.GetFiles(@"c:\myFolder\", comboBox1.
SelectedItem
.ToString());[/CODE] but it is not working... it doesn`t…
Re: comboBox.selectedItem problem
Programming
Software Development
15 Years Ago
by DdoubleD
Check the value of your [icode]comboBox1.
SelectedItem
.ToString()[/icode]. My guess it isn't what you think: "*.doc". Have you defaulted the selection before using (eg. SelectedIndex = 0)? Also, you can just use the ComboBox.Text Property to access the selected item's text as displayed in the combobox.
Delete SelectedItem from dropdownlist and database
Programming
Web Development
14 Years Ago
by tlox
… point me in the right direction. DropDownList1.Items.Remove(DropDownList1.
SelectedItem
);//im stuck with this Thanks!
Re: Delete SelectedItem from dropdownlist and database
Programming
Web Development
14 Years Ago
by egrullard
… point me in the right direction. DropDownList1.Items.Remove(DropDownList1.
SelectedItem
);//im stuck with this Thanks![/QUOTE] Hello, Good morning you…
wpf Binding to a Listbox.SelectedItem.Content property within a datatemplate.
Programming
Software Development
13 Years Ago
by hmortensen
….Afloeser [CODE] <TextBox Text="{Binding ElementName=lb_Afloesere, Path=
SelectedItem
}" Name="tb_navn" Margin="0,0,0…
how to save the selecteditem not whole listbox item ?
Programming
Software Development
13 Years Ago
by gozo12
… in listbox but i want when u click an item(
selecteditem
) then u click save button its only save that item…
Re: how to save the selecteditem not whole listbox item ?
Programming
Software Development
13 Years Ago
by renzlo
simply use this code: [CODE]Dim w As New IO.StreamWriter("e:\test.txt", True) w.WriteLine(ListBox1.
SelectedItem
, True) w.Close()[/CODE]
Why "listview.SelectedItem" always return a value?
Programming
Software Development
11 Years Ago
by zawpai
… get "return value = 1" when using `If lvData.
SelectedItem
Is Nothing Then Exit Sub` If user selected 3 lines…
ComboBox SelectedItem vs Text
Programming
Software Development
11 Years Ago
by tanatos.daniel
… ComboBox.Text if the item does not exist and ComboBox.
SelectedItem
if it does. Thanks.
Different between SelectedValue, SelectedIndex and SelectedItem
Programming
Software Development
9 Years Ago
by nimz143
Hi I would like to ask. I have one dropdown list control. What are the different between this 3 in dropdown list. 1. Dropdownlist.SelectedValue 2. Dropdownlist.SelectedIndex 3. Dropdownlist.
SelectedItem
Thank you :)
Re: set limits to a combobox.selecteditem
Programming
Software Development
13 Years Ago
by Mitja Bonca
…(index) += 1 Else MessageBox.Show("Item " & comboBox1.
SelectedItem
.ToString() & " was only allowed to be selected 60…
Re: set limits to a combobox.selecteditem
Programming
Software Development
13 Years Ago
by Mitja Bonca
…) comboBox_SelectedItems(index) += 1 Else MessageBox.Show("Item " + comboBox1.
SelectedItem
.ToString() + " was only allowed to be selected 60 times…
Selecteditem.tostring
Programming
Software Development
14 Years Ago
by bestex
I dont know what code to put Here? to get the exact value of my record on my database here is my code [CODE] Protected Const strConnPubs As String = "server=localhost; user id=root; password=phoenix0931; database=accounts;" Protected strPubsCMD As String = "select customers_id, customer_name from customers"…
Re: Selecteditem.tostring
Programming
Software Development
14 Years Ago
by bestex
Hi sir, sorry for upsetting you up. im doing this for almost 6hrs. and i cant solve it. Sorry for being brainless im just a begineer , hope you understand :D can you give me some code pls and then im going to review it to solve my problem pls
Re: Selecteditem.tostring
Programming
Software Development
14 Years Ago
by Pgmer
U have created the same thread twice dont do that. have you tried what i pasted in the other thread???
Re: Selecteditem.tostring
Programming
Software Development
14 Years Ago
by bestex
how can i delete my previous thread? yes im doing it? but i cannot succeed. im doing this for how many hours. sir please can you fix my code and produce a comment line above it so i can pick it up. i just wanna finish my project but im stuck in these code. If you dont mind sir.
Re: Listbox selectedItem.value cannot be retrieved
Programming
Web Development
19 Years Ago
by Paladine
Umm yes. That error tells your exactly what you need to know!! *sigh*:rolleyes::rolleyes: You have not declared the [b]selectedMain[/b] as anything. :cry: :cry: It should be: [b][i]i.e.[/i] Example[/b] [code] [color=#0000ff][size=3]Dim [/size][/color][size=3]selectedMain [color=#0000ff]As String or Dim [/color]selectedMain […
Re: Listbox selectedItem.value cannot be retrieved
Programming
Web Development
19 Years Ago
by ozeona
umm.. yea i have tried that but it doesnt work. But i have managed to solve it. i'll try to look at the tutorial. thanks alot
Re: Listbox selectedItem.value cannot be retrieved
Programming
Web Development
19 Years Ago
by Paladine
See I find that strange, because this error you are getting : [i]Object reference not set to an instance of an object"[/i] is telling you that you have not set a declared Object to an Object type. When you type [b] DIm [/b] you are declaring an object in memory. You then state the key word [b]as[/b] to associate that object with an Object …
Re: Listbox selectedItem.value cannot be retrieved
Programming
Web Development
19 Years Ago
by Letscode
[QUOTE=Paladine]See I find that strange, because this error you are getting : [i]Object reference not set to an instance of an object"[/i] is telling you that you have not set a declared Object to an Object type. When you type [b] DIm [/b] you are declaring an object in memory. You then state the key word [b]as[/b] to associate that …
Re: Listbox selectedItem.value cannot be retrieved
Programming
Web Development
19 Years Ago
by Paladine
Yes I know that, but it is not proper coding practice to declare a variable and not define a data type. Implied datatypes are dangerous ways of coding. Saying that, it appears that this is a known bug: [URL=http://support.microsoft.com/default.aspx?scid=kb;en-us;810098]Object Reference.....[/URL]
Re: Listbox selectedItem.value cannot be retrieved
Programming
Web Development
19 Years Ago
by Letscode
I know YOU know that, But I feel the problem must not be in the declaration of selectedMain datatype.
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC