Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding a record in a grid
Message
De
17/05/2005 17:16:16
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
17/05/2005 15:34:25
Dave Porter
Medical Systematics, Inc.
Merced, Californie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01014618
Message ID:
01015103
Vues:
28
You're welcome, Dave.

As far as Kevin's suggestion... what isn't working?

---J

>Jason ! Thank You!
>I haven't been able to get Kevin's suggestion to work yet, but I did get this to work out of the user's guide for synchronizing:
>
>private void pckDx_ItemSelected(object sender, OakLeaf.MM.Main.Windows.Forms.mmPickerItemSelectedEventArgs e)
>	{
>		string PK = pckDx.Text;
>		DataSet ds = this.oDx.GetCurrentDataSet();
>		ds.Tables[0].DefaultView.ApplyDefaultSort = true;
>		int Position = ds.Tables[0].DefaultView.Find(PK);
>		this.BindingContext[ds, ds.Tables[0].TableName].Position = Position;
>	}
>
>I'm not sure why it works yet.. (I'm being too honest maybe!)
>But it sure is great to finally have some success!!! Being a C# newbe, I think I have to make every conceivable mistake and get incomprehensible errors, etc, etc.
>I may take Kevin's code and get rid of the picker and put in a text box and make it more like the mmPickListForm incremental search functionality.
>
>BTW there is IMO a bug in the mmpicker. If you call up the picklist and where it says "Search in List" hit the tab key to jump down on the grid. At this point, a cell is selected not a row. Even if you arrow up and down a cell is selected. If you then select the Ok button you get error:
>There is no row at position 0.
>
>Dave
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform