Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

using selected item in listbox c# to fill texbox

            string selected = listBox1.SelectedItem.ToString();
            int id = int.Parse(selected.Split(' ')[0]); // we are using dictionary and spliting the item in listbox and as  spliting parametar we are using space
            Car<string, string, string> cars = car[id];
            textBox1.Text = id.ToString();
            textBox2.Text = cars.manufacturer;
            textBox3.Text = cars.model;
            pictureBox1.ImageLocation = cars.picture;
//by iq18but18cm
Comment

PREVIOUS NEXT
Code Example
Csharp :: how can i replace Any for All method and vice versa linq in c# 
Csharp :: unity round image 
Csharp :: Handling aggregation responses with NEST c# 
Csharp :: make character move upward forever unity 2d 
Csharp :: basic math functions in c# 
Csharp :: c# .net set exception data 
Csharp :: check for held hey unity 
Csharp :: pun 2 matchmaking custom room properties 
Csharp :: string extentions not working 
Csharp :: hahhaa i hack u 
Csharp :: single number c# 
Csharp :: how to reset disk permission 
Csharp :: using == is inefficient unity 
Csharp :: delete an object c# 
Csharp :: unity remove all child 
Csharp :: dotcms contentidentifier 
Csharp :: c# control datagridview null value 
Csharp :: How to get 4 end len in string c# 
Csharp :: wpf settings core 
Csharp :: how to run a console app in another app c# 
Csharp :: c# how to group console output into columns 
Csharp :: unity save slots 
Csharp :: C# devexpress get foucused dataRow of child gridView 
Csharp :: save a string as file to drive appscript 
Csharp :: Named Entity Extraction C# 
Csharp :: RemoveClaim 
Csharp :: hacker typer.com 
Csharp :: report background worker 
Csharp :: c# array accessor 
Csharp :: how can datetimepicker accept hour as well 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =