On Thu, Oct 16, 2008 at 6:50 AM, Mex <[EMAIL PROTECTED]> wrote:
>
> Hi Michael
>
> hers my code
>
> ListStore ls=new ListStore(typeof(int),typeof(string));
> comLibraries.Model=ls;
> CellRendererText cell=new CellRendererText();
> comLibraries.PackStart(cell,true);
> comLibraries.AddAttribute(cell,"text",1);
>
>
> //Fill store from datareader
> while(dr.Read()){
> ls.AppendValues(dr.GetInt32(0),dr[1].ToString());
> }

Are you sure there is no other code affecting the textbox?

-- 
Michael Hutchinson
http://mjhutchinson.com
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to