Chce sie odwolac do textu zawartego w textboxie ktorego name jest jedna z mozliwych opcji wyboru w comboboxie .
string tekst = Convert.ToString(comboBox1.Text);
int zmienna = Convert.ToInt16(tekst.Text);
W takim wypadku dostaje w debugerze
Error 1 'string' does not contain a definition for 'Text' and no extension method 'Text' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?) C:\Users\Administrator\Documents\c#\p1\WindowsFormsApplication2\WindowsFormsApplication2\Form1.cs 54 45 WindowsFormsApplication2
jednak niebardzo wiem co mam zrobic. Mozecie udzielic mi pomocy?