Solved

Image(7)

Posted on 2016-11-16
1
60 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

696 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