Solved

Image(7)

Posted on 2016-11-16
1
58 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

735 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