Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
2286 | Dec 31,2002 07:06 AM UTC | Jan 9,2003 04:47 AM UTC | WinForms | 2 |
![]() |
Tags: FAQ |
private void button1_Click(object sender, System.EventArgs e) { DataView dv = this.dataSet11.Customers.DefaultView; dv.RowFilter = "[ContactName] LIKE 'B*'"; string s = ""; if(dv.Count > 0) { s = dv[0]["ContactName"].ToString(); } dv.RowFilter = ""; if( s != "") { int i = this.dataSet11.Customers.DefaultView.Find(s); Console.WriteLine(i.ToString()); } }
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.