Solved

Image(7)

Posted on 2016-11-16
1
37 Views
Last Modified: 2016-12-01
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 500 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now