Solved

Image(7)

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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
pressing download button in c# 7 46
global Variable - 2 functions in powershell 1 43
c# ftp code 3 55
How to input barcode scanner data into textbox in C#  ? 13 52
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…
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.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

737 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