473,668 Members | 2,449 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

to see picture in the Aspxgrid

1 New Member
hello...

Let me explain my problem by giving an example.

I have lots of users and their profiles having personal picture in it. If someone makes a search lets say s/he is searching for female users. And i wanna show the results on aspxgrid with user's profile and picture, in known number of columns.

it is suggested that i had better store links of pictures in database, not the pisture itself. so , how can i overcome this problem.



besides, if i would like to store image itself in database, how could i do it ? normally for the strings I use code like this

Expand|Select|Wrap|Line Numbers
  1. string strSqlCreateUser = "Insert into USERS (UserName) Values ('" + textBoxUserName.Text + "')";


any help is appreciated, thanks.
Jul 17 '07 #1
0 1079

Sign in to post your reply or Sign up for a free account.

Similar topics

2
8937
by: Lyn | last post by:
I am trying to embed a picture into a Bound Object Frame (Me!Photograph) with the following code which is based on MS article http://support.microsoft.com/?id=158941: strPathname = "C:\photo.bmp" Me!Photograph.Class = "Paint.Picture" Me!Photograph.OLETypeAllowed = acOLEEmbedded Me!Photograph.SourceDoc = strPathname Me!Photograph.Action = acOLECreateEmbed
6
9469
by: John Ortt | last post by:
Hi there everyone, I have a part info form which has a faded image of our company logo as a background. I want to replace the faded image with a bright red warning image on items which have run out of purchasing cover. I am nearly there, the only problem is that the code below only changes the image background for text and combo-box backgrounds, it doesn't apply it to the whole form.
1
2089
by: James Wansley | last post by:
I am using C# for codebehind and ASP.Net for page code. I am using a databound ASPxGrid on a page that is databound in the codebehind. I have a single LinkButton on this page. When I click this link button I: 1. Send the ASPxGrid object to the Session variable 2. Send the the datasource to the Session variable. 3. Redirect the user to the GridReport page The GridReport page has a bare-bones instance of the ASPxGrid in the page and...
2
1272
by: ad | last post by:
I have a employee table, with a filed sexID The field store 1 for male and 2 for female. I want to display this field in a ASPxGrid with male or female , not 1 or 2. How can I do that?
6
8114
by: Jeff | last post by:
Hey (and thank you for reading my post) In visual web developer 2005 express edition I've created a simple website project.. At this website I want users who register to be able to upload a picture of themselves to their profile... I admit that I'm a newbie... but this is how I understand this:
0
1193
by: soft4raju | last post by:
How can i import devexpress.aspxgrid.dll file in to my web application. deveexpress.aspxgrid.dll file is a third party tool. cheers, raju
0
949
by: Bruce One | last post by:
Does anyone use AspxGrid from DevExpress ? Iam considering buying it, but I would like to know the real benefits over the conventional GridView that comes with VS2005...
0
1825
by: Bruce One | last post by:
There comes a time when we have to take that final decision: What to choose for the best webgrid, I have tested a bunch of grids (free and charged ones) and I have come to these: DevExpress AspXGrid Telerik RadGrid Infragistic UltraWebgrid .....also, Janus webgrid
0
1443
by: frenkMan | last post by:
Hi! I'm using the ASPxGrid component and I have a problem with it. I'm writing a simple web application. I would like to fill the ASPxGrid with some records from the database when a button is pressed. I write this code to On_Click event (the event executes): DataSet ds = new DataSet(); OleDbConnection mycn = new OleDbConnection(ConnString); OleDbDataAdapter myda = new OleDbDataAdapter("select * from functions",mycn);
0
8371
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8889
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8652
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7391
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4202
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2782
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2017
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.