Dear All,
Based on below Part of code, May i know how to passing the picturebox image in image cell iTextSharp in C# ? kindly advise. thank you
Shall I use string format ?
private void button2_Click(object sender, EventArgs e)
{
string MyConString = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
using (SqlConnection connection = new SqlConnection(MyConString))
{
connection.Open();
using (SqlCommand cmd = new SqlCommand("select * from StudentDetails where StudentID = @studentID;", connection))
{
cmd.Parameters.AddWithValue("@studentID", studentID);
using (SqlDataReader reader = cmd.ExecuteReader())
{
StringBuilder sb = new Stri ...
Go to the complete details ...