Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
7 Oct 2012Peeyush Pachaori
Check out this video- its for sql server 2005 but it makes no difference for you.http://www.youtube.com/watch?v=8FE3hqn9z1E[^]On the button click you need to send get/post request. I will advise you to use ajax. Just google around how based on which kind of GUI architecture you are using.
Well, by using a Connection String[^] you can connect to database. Further info regarding the data communication can be read here: MSDN: Accessing data with ADO.NET[^]Beginners guide to accessing SQL Server through C#[^]
User Name Space - using System.Data.SqlClient;Make connection to Data Base : Use SQLConnection Class. SqlConnection con = new SqlConnection("server=Harshit-PC; database=YourDataBaseName; uid=YourSQLuid; pwd=YourSQLPassword");Wants Records On Button Click Then :Your Need Two...
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.