Assuming that you mean to read the file in C# and insert it into your SQL Db (otherwise why mention C# in the tags?) then exactly how you do it depends on what kind of column you have created in SQL.
If it is VARCHAR:
string myFileString = File.ReadAllText(path);
using (SqlConnection con = new SqlConnection(strConnect))
{
con.Open();
using (SqlCommand com = new SqlCommand("INSERT INTO myTable (myColumn) VALUES (@TEXT)", con))
{
com.Parameters.AddWithValue("@TEXT", myFileString);
com.ExecuteNonQuery();
}
}
If it is VARBINARY:
byte[] myFiledata = File.ReadAllBytes(path);
using (SqlConnection con = new SqlConnection(strConnect))
{
con.Open();
using (SqlCommand com = new SqlCommand("INSERT INTO myTable (myColumn) VALUES (@DATA)", con))
{
com.Parameters.AddWithValue("@DATA", myFileData);
com.ExecuteNonQuery();
}
}