Click here to Skip to main content
15,899,937 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to retrive image from database Pin
gaurav mangal21-Jul-08 22:00
gaurav mangal21-Jul-08 22:00 
QuestionGridView - FormView - SqlDataSource Pin
Blumen21-Jul-08 1:34
Blumen21-Jul-08 1:34 
AnswerRe: GridView - FormView - SqlDataSource Pin
eyeseetee21-Jul-08 2:20
eyeseetee21-Jul-08 2:20 
GeneralRe: GridView - FormView - SqlDataSource Pin
Blumen21-Jul-08 2:47
Blumen21-Jul-08 2:47 
GeneralRe: GridView - FormView - SqlDataSource Pin
eyeseetee21-Jul-08 3:04
eyeseetee21-Jul-08 3:04 
QuestionExtranet and AD Pin
DotNetMan21-Jul-08 0:59
DotNetMan21-Jul-08 0:59 
AnswerRe: Extranet and AD Pin
eyeseetee21-Jul-08 1:17
eyeseetee21-Jul-08 1:17 
Questionhow to use execute reader Pin
gaurav mangal21-Jul-08 0:58
gaurav mangal21-Jul-08 0:58 
hi every one

i am using to show the image at page 3 database .to show image i am using execute reader() method .but i want to read only one row 1st row .i am using this code:

OleDbConnection con1 = new OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=c:/image.mdb;");
OleDbCommand cmd1 = new OleDbCommand("select * from picture2");
cmd1.Connection = con1;
con1.Open();
OleDbDataReader dr1 = cmd1.ExecuteReader();

while (dr1.Read())
{
Image3.ImageUrl = dr1[0].ToString();
Image4.ImageUrl = dr1[1].ToString();
Image5.ImageUrl = dr1[2].ToString();
Image6.ImageUrl = dr1[3].ToString();

}
con1.Close();

but this is not working properly .
plz tell me

thanks...gaurav
AnswerRe: how to use execute reader Pin
Herman<T>.Instance21-Jul-08 11:40
Herman<T>.Instance21-Jul-08 11:40 
Questioniam using update progress control,it is not working in pageload Pin
kathyani21-Jul-08 0:40
kathyani21-Jul-08 0:40 
AnswerRe: iam using update progress control,it is not working in pageload Pin
eyeseetee21-Jul-08 1:18
eyeseetee21-Jul-08 1:18 
GeneralRe: iam using update progress control,it is not working in pageload Pin
kathyani21-Jul-08 1:23
kathyani21-Jul-08 1:23 
GeneralRe: iam using update progress control,it is not working in pageload Pin
eyeseetee21-Jul-08 2:17
eyeseetee21-Jul-08 2:17 
GeneralRe: iam using update progress control,it is not working in pageload Pin
kathyani21-Jul-08 2:29
kathyani21-Jul-08 2:29 
GeneralRe: iam using update progress control,it is not working in pageload Pin
kathyani21-Jul-08 21:01
kathyani21-Jul-08 21:01 
QuestionPage.RegisterClientScriptBlock Method Pin
dews turner20-Jul-08 23:54
dews turner20-Jul-08 23:54 
AnswerRe: Page.RegisterClientScriptBlock Method Pin
Sam Xavier22-Jul-08 21:27
Sam Xavier22-Jul-08 21:27 
QuestionUsing NUnitAsp mock objects and using DB Pin
Member 451421820-Jul-08 22:58
Member 451421820-Jul-08 22:58 
QuestionCrystal Report taking long time to loading Pin
mdAsfar20-Jul-08 22:57
mdAsfar20-Jul-08 22:57 
AnswerRe: Crystal Report taking long time to loading Pin
eyeseetee20-Jul-08 23:19
eyeseetee20-Jul-08 23:19 
Questionfile upload control in user control Pin
gaurav mangal20-Jul-08 22:55
gaurav mangal20-Jul-08 22:55 
QuestionDisplay Chinese Character in Textbox Pin
HatakeKaKaShi20-Jul-08 22:34
HatakeKaKaShi20-Jul-08 22:34 
QuestionWindows User Recovery Without Windows Integrated Authentication Pin
Ariel Kazeed20-Jul-08 22:00
Ariel Kazeed20-Jul-08 22:00 
QuestionExport button in crystal report viewer Pin
Raghvendra Kumar Roy20-Jul-08 19:58
Raghvendra Kumar Roy20-Jul-08 19:58 
AnswerRe: Export button in crystal report viewer Pin
eyeseetee20-Jul-08 21:39
eyeseetee20-Jul-08 21:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.