-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: tejakola
Message 5 in Discussion

Dear sooraj ,

Concept is pretty simple..

1) on the  change event of combox or selection box u query the data ..
2) declare a dataadapter with above query
3) declare a  dataset and fill the adapter with the above dataset
4) set above dataset as data source to your data grid

SqlDataAdapter da=new SqlDataAdapter("Select *  from jets..journal where  
jour_ccode='"+ddCustomer.SelectedValue.Trim()+"' ",con);
                        DataSet ds=new DataSet();
                        adapter.Fill(ds,"journal");
                        gridl.DataSource=ds.Tables["journal"];
                        gridl.DataBind();

hope u understood concept..

regards,
teja

_________________________________________________________________
Get up-to-date with movies, music and TV. Its happening on MSN Entertainment 
http://content.msn.co.in/Entertainment/Default



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to