We must be in the mountains...  I'm hearing echoes of what I say !!

On Aug 30, 5:21 pm, "ramireddy dasaradha"
<[EMAIL PROTECTED]> wrote:
> datasource select() method is used to return only the selected rows. you can
> also use rowfilter property to select only particular rows.
>
> Eg:
>      DataSet dsRecords;
>
>      DataView dv= dsRecords.Tables[0].defaultview;
>    dv.RowFilter = " Name = 'ram'";
>     CbItems.DataTextField = "Name";
>     CbItems.DataValueField = "Id";
>     cbItems.DataSource = dv;
>     cbItems.DataBind();
>
>
>
> On Fri, Aug 29, 2008 at 2:50 AM, velsankar <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I am trying to assign a particular column values to combo box under
> > certain condition.
> > We can get datarow[] from dataset by select method (condition as
> > query).
> > Is it possible to assign a (single) column of the datarow [] to
> > combobox datasource.
> > That means, it need not to be combobox datasource or Items.Add() but
> > something else...
> > In simple, want to add the column values of the datarow[] to combobox
> > The basic idea is to avoid loops & recursive methods. Any idea????
>
> > Thanks & Regards,
> > Vels- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://cm.megasolutions.net/forums/default.aspx
-~----------~----~----~----~------~----~------~--~---

Reply via email to