.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> Windows Application >> Post New QuestionBookmark and Share Subscribe to Forum

Search value in DataGridView in C#.NET windows app

Posted By: Sunil     Posted Date: September 12, 2008    Points:2   Category :Windows Application
Hello Friends,

I want to know, How to search values in DataGridview.

what we doing, i have written a code on page load of form "select * from LoginTable", all the value is coming from table is shown in DataGridView1, Now i have a TextBox and a button1 on button click event i want to do that when we put the id then that ID will focus on that id in DataGridview1.

Note: Priviouse values does not removed from the dataGridview1, means all the result from LoginTable will stay as it is.


Thanx for ur Time.

Responses
Author: Vuyiswa Maseko             
Posted Date: May 11, 2009     Points: 5   

Good Morning Sunil

You can get your answer from here

http://www.codeproject.com/KB/cs/N-Tier22.aspx

http://www.codeproject.com/KB/vb/N-Tier_Application_VB.aspx



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend