Spectral-luminescent properties of laser dyes (coumarine 102 and dimethylaminosubstituted 4-pyridylphenyloxazole) in solid tetraethoxisilane matrix are studied. Peculiarities in interaction of organic molecules with silanol groups of gel-matrix in the ground and excited states are considered by comparing spectral characteristics of solid and liquid samples.