?
Solved

Image(7)

Posted on 2016-11-16
1
Medium Priority
?
67 Views
Last Modified: 2017-01-25
I'm trying
 

see if u may understand this:string https = null;
            pictureBox1.ImageLocation = https; //www.bing.com/images/search?q=pictures&view=detailv2&&id=692CB577A1A7E9C7417BC67AD4370EDA830E0874&selectedIndex=196&ccid=8dYpjBXI&simid=608019803864371181&thid=OIP.Mf1d6298c15c824abbf6327d90cc2f4d3o0&ajaxhist=0
            SqlConnection sc = new SqlConnection();
            SqlDataAdapter sda = new SqlDataAdapter();
            SqlCommand sco = new SqlCommand("Select"+textBox1+);
            DataTable dt = new DataTable();
            sda.Fill(dt);
            dt.Rows[0][0] = ToString();
            LinkLabel la = new LinkLabel();
           

            DataTable link = new DataTable();
           
            DataRow row = link.NewRow();
            row["FirstColumn"] = dt.Rows[0]["ThisColumn"];
            row["SecondColumn"] = dt.Rows[0]["SecondColumn"];
            dt.Rows[0]["SecondColumn"] = null;
            link.Rows.Add(row);
0
Comment
Question by:Brian Smith
1 Comment
 
LVL 32

Accepted Solution

by:
Robberbaron (robr) earned 2000 total points
ID: 41892781
you need to break down what u are trying to do in words....  pseudocode.

are you trying to save the URL to the database or the actual picture ?  If the later, you need to convert it to a byte array and save that to the table.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question