Click here to Skip to main content
15,890,527 members
Home / Discussions / C#
   

C#

 
GeneralWrong thread Pin
Guffa26-May-07 23:18
Guffa26-May-07 23:18 
GeneralRe: Wrong thread Pin
spawn_ro198527-May-07 8:28
spawn_ro198527-May-07 8:28 
AnswerRe: One to Many?? Pin
Muammar©26-May-07 23:40
Muammar©26-May-07 23:40 
QuestionPropertyGrid Control Problem Pin
gvanto26-May-07 19:20
gvanto26-May-07 19:20 
AnswerRe: PropertyGrid Control Problem Pin
visualhint30-May-07 16:40
visualhint30-May-07 16:40 
QuestionHow can I create an active filtering on an DataGridView? Pin
Khoramdin26-May-07 17:46
Khoramdin26-May-07 17:46 
AnswerRe: How can I create an active filtering on an DataGridView? Pin
hdv21226-May-07 21:33
hdv21226-May-07 21:33 
AnswerRe: How can I create an active filtering on an DataGridView? Pin
Prasanth MS28-May-07 22:51
Prasanth MS28-May-07 22:51 
The reply posted by hdv212 is correct.

You can also achieve the same by introducing a Binding Source.
--------------
BindingSource myBindingSource = new BindingSource()

private Form1_Load()
{
myBindingSource.DataSource = myDataSet;
myBindingSource.DataMember = "myTableName"; // TableName on the myDataSet
myBindingSource.Filter = "";

myGridView.DataSource = myBindingSource;
}

Now in your TextBox_Changed Event write the following code
{
myBindingSource.Filter = "lastName = " + textBox1.text;
}

Blush | :O
QuestionQuestion on Sql server 2005 Pin
dhulipudi26-May-07 17:15
dhulipudi26-May-07 17:15 
QuestionPassing Windows Credentials Pin
Spyder_Snyper26-May-07 10:42
Spyder_Snyper26-May-07 10:42 
AnswerRe: Passing Windows Credentials Pin
Not Active26-May-07 16:04
mentorNot Active26-May-07 16:04 
GeneralRe: Passing Windows Credentials Pin
Spyder_Snyper27-May-07 5:57
Spyder_Snyper27-May-07 5:57 
QuestionNeed Help Urgently Pin
GeorgeEmil26-May-07 10:09
GeorgeEmil26-May-07 10:09 
AnswerRe: Need Help Urgently Pin
Dave Herren26-May-07 10:15
Dave Herren26-May-07 10:15 
JokeA couple of hints Pin
CPallini26-May-07 10:38
mveCPallini26-May-07 10:38 
GeneralRe: A couple of hints [modified] Pin
Dave Herren26-May-07 11:18
Dave Herren26-May-07 11:18 
JokeActually Pin
CPallini27-May-07 2:30
mveCPallini27-May-07 2:30 
GeneralSorry Pin
Dave Herren27-May-07 3:59
Dave Herren27-May-07 3:59 
AnswerRe: Need Help Urgently Pin
Thomas Stockwell26-May-07 15:22
professionalThomas Stockwell26-May-07 15:22 
AnswerRe: Need Help Urgently Pin
Christian Graus26-May-07 15:46
protectorChristian Graus26-May-07 15:46 
JokeRe: Need Help Urgently Pin
Muammar©26-May-07 19:28
Muammar©26-May-07 19:28 
GeneralRe: Need Help Urgently Pin
Dave Herren27-May-07 4:56
Dave Herren27-May-07 4:56 
QuestionGenerics class Pin
abedo198226-May-07 9:53
abedo198226-May-07 9:53 
AnswerRe: Generics class Pin
Not Active26-May-07 13:45
mentorNot Active26-May-07 13:45 
GeneralRe: Generics class Pin
abedo198227-May-07 10:49
abedo198227-May-07 10:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.