473,378 Members | 1,594 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

show images and texts in datagrid or other server controls

Hello.

I have a question.
I want make a news board but i dont know how can i put an image for
each news,i save images to database and retrive them,then i make a
template in datagrid and put a table with 2 rows in it,one row
contains an image control and another row contains a textbox
control,but in this way image apeare in top of text,i want for
example show my image in center of text(through text) or at least in
top and left side of my text such as this:
****** sdjfhajsdhf
****** sdfasdfasd
****** sdfasdfasd
sdfasdfasdfasdfdsff
sdfasdfasdfasdfasd
sadfasdfsadfsdfsda
dfgsdgsdfgsdfgdsfg
dfgsdgsdfgsdfgdsfg
or :
dfgsdgsdfgsdfgdsfg
dfgsdgsdfgsdfgdsfg
dfgs*******fgdsfg
dfds*******ffghfhi
fdfsi*******aSDAi
dssll*******hfhgAi
sdfasdfadfsfsdfsdfd
safsdfasdfasdfsadsi
asfsafasdfasdfsfafsi
Could you please help me?
thank you.
/\/\asoud.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 18 '05 #1
3 1002
> masoudwrote:
Hello.

I have a question.
I want make a news board but i dont know how can i put an image for each news,i save images to database and retrive them,then i make a
template in datagrid and put a table with 2 rows in it,one row
contains an image control and another row contains a textbox
control,but in this way image apeare in top of text,i want for
example show my image in center of text(through text) or at least in
top and left side of my text such as this:

****** sdjfhajsdhf
****** sdfasdfasd
****** sdfasdfasd
sdfasdfasdfasdfdsff
sdfasdfasdfasdfasd
sadfasdfsadfsdfsda
dfgsdgsdfgsdfgdsfg
dfgsdgsdfgsdfgdsfg
or :
dfgsdgsdfgsdfgdsfg
dfgsdgsdfgsdfgdsfg
dfgs*******fgdsfg
dfds*******ffghfhi
fdfsi*******aSDAi
dssll*******hfhgAi
sdfasdfadfsfsdfsdfd
safsdfasdfasdfsadsi
asfsafasdfasdfsfafsi
Could you please help me?
thank you.
/\/\asoud.


:?:
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 18 '05 #2
:?:

Nov 18 '05 #3
"masoud" <ms*****@gmail-dot-com.no-spam.invalid> wrote in message
news:40**********@Usenet.com...
:?:


Use a TemplateColumn. Put an <img> in the TemplateColumn.
--
John Saunders
johnwsaundersiii at hotmail
Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bob Rosen | last post by:
I would like to place some button controls on a web page underneath a DataGrid control. Since the height of the DataGrid depends on the number of rows displayed, which is determined by user...
1
by: charliewest | last post by:
I am trying use server controls or web controls to simulate the following behavior. I've an image wrapped w/in a link to create a rollover effect as if both elements we're one graphic: <a...
2
by: SSW | last post by:
Hi: In aspx.cs page i had written the code below. I have a button control and only create TextBox Control dynamically. LoadViewState is Never called. But when we put datagrid/DataList it...
1
by: Machi | last post by:
Can anyone provide any advice or article on creating DataGrid and bind it with data but for every column of data, there may be different Server Controls. To make it clear, let say i want bind 1 field...
4
by: V. Jenks | last post by:
What seems like a simple thing is apparently not so straightforward? I have a datalist. Inside of that datalist is an <itemtemplate> secion which contains other server controls such as a...
2
by: David C | last post by:
I designed a datagrid with editable server controls such as text boxes, dropdowns in each row. That way, the user does not have to click "Edit" to get the editable controls. And with one save...
4
by: Neil Zanella | last post by:
Hello, My understanding is that when using ASP.NET web server controls and HTML controls the ID attribute becomes a global variable. But isn't there a way to assign a local variable within a for...
5
by: siaj | last post by:
Hello All, Can any one give me a clue when to use Web Server controls/ HTML server controls/HTML Controls. As I understand .. HTML controls should be used if u dont need to refer it in the code...
9
by: Jamie Fallon | last post by:
I don't understand how to use the ASP.NET Web Server Controls to do the following. I know how to do this in standard ASP, but don't understand how ..Net wants us to do it. I want to use one query...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.