C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Ravichandra's Details


Add Ravichandra As Your Friend
Profile
Gifts & Awards
Contributions
Friends
Referrals
Visitors
Messages


Name Ravichandra
Email You must Sign In to access the contact details.
Address
Country India
Date Joined 10/12/2006 12:12:01 PM
Last Login 10/14/2008 2:10:47 AM
Member Level Silver
Total Points 187

Profile

// It is used for windows application datagrid.
using system;
using system.data.Sqlclient;
private void Form1_Load(object sender, System.EventArgs e)
{
sqlconnection con=new sqlconnection("server=localhost;uid=sa;pwd=;database=Student");
SqlDataAdapter da = new SqlDataAdapter
("SELECT * FROM Student",con );
DataSet ds = new DataSet();
da.Fill(ds, "Student");
dataGrid1.DataSource = ds.Tables["Student"].DefaultView ; //dataGrid1 is id for datagrid.
}

Return to Members


dotNet Slackers   BizTalk Adaptors    Web Design

it help desk

Contact Us    Privacy Policy    Terms Of Use