Click here to Skip to main content
15,895,803 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionmaking http requests in parallel Pin
needhi_p5-Nov-08 23:08
needhi_p5-Nov-08 23:08 
QuestionFunction keys Pin
sram155-Nov-08 22:56
sram155-Nov-08 22:56 
AnswerRe: Function keys Pin
eyeseetee5-Nov-08 23:17
eyeseetee5-Nov-08 23:17 
AnswerCP IGNORE: Cross post three forums Pin
leckey6-Nov-08 10:05
leckey6-Nov-08 10:05 
QuestionMerging ImageBoxes Pin
Xmen Real 5-Nov-08 22:44
professional Xmen Real 5-Nov-08 22:44 
Questionhow my page comes down when i press some button in the page/ Pin
lakshmichawala5-Nov-08 22:35
lakshmichawala5-Nov-08 22:35 
AnswerRe: how my page comes down when i press some button in the page/ Pin
eyeseetee5-Nov-08 22:42
eyeseetee5-Nov-08 22:42 
Questionhow to display an image in gridview Pin
Meax5-Nov-08 22:16
Meax5-Nov-08 22:16 
i have uploaded the image file using asp fileupload control.

i am uploading files to this folder:
F:\MySite\FileManager\MyUserName

saved the file name and file path to database.

in my database i have DocumetName
TestImage.JPG

and Path
F:\MySite\FileManager\MyUserName\TestImage.JPG

<asp:TemplateField headertext="picture">
                       <ItemTemplate>
                       <asp:Image ID="Image2" width="40" runat="server" imageurl='<%# Eval("DocumentName") %>' /> <br/>
                       </itemtemplate>
                     </asp:TemplateField>


i tried like this(use Path instead of DocumentName) aslo but it doesn't show any image and no error also

&lt;asp:TemplateField headertext="picture"&gt;
                       &lt;ItemTemplate&gt;
                       &lt;asp:Image ID="Image2" width="40" runat="server" imageurl='&lt;%# Eval("Path") %&gt;' /&gt; &lt;br/&gt;
                       &lt;/itemtemplate&gt;
                     &lt;/asp:TemplateField&gt;




i am using this to get all file details
Private Sub GetAllTheImages()

        ' Declare objects...
        Dim objConnection As SqlConnection = New _
            SqlConnection("Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MyDB;Data Source=MY\SQLEXPRESS")

        objConnection.Open()

        Dim myCommand As New System.Data.SqlClient.SqlCommand()
        myCommand.Connection = objConnection

        myCommand.CommandText = "GetAllTheImages"
        myCommand.CommandType = CommandType.StoredProcedure


        Dim param As New System.Data.SqlClient.SqlParameter()


        Dim myAdapter As New SqlDataAdapter(myCommand)

        myAdapter.Fill(GetAllTheImages)

        Dim reader As SqlDataReader = myCommand.ExecuteReader()
 

        GV1.DataSource = GetAllTheImages

        GV1.DataBind()

        objConnection.Close()

    End Sub

AnswerRe: how to display an image in gridview Pin
D4ever6-Nov-08 7:48
D4ever6-Nov-08 7:48 
QuestionHow to refresh the web page Pin
Deepak the Cool5-Nov-08 22:15
Deepak the Cool5-Nov-08 22:15 
Questionasp.net Pin
gsoand5-Nov-08 20:28
gsoand5-Nov-08 20:28 
AnswerRe: asp.net Pin
eyeseetee5-Nov-08 21:44
eyeseetee5-Nov-08 21:44 
GeneralRe: asp.net Pin
gsoand10-Nov-08 2:07
gsoand10-Nov-08 2:07 
AnswerRe: asp.net Pin
Paddy Boyd5-Nov-08 23:24
Paddy Boyd5-Nov-08 23:24 
GeneralRe: asp.net Pin
gsoand10-Nov-08 2:08
gsoand10-Nov-08 2:08 
GeneralRe: asp.net Pin
Paddy Boyd10-Nov-08 2:13
Paddy Boyd10-Nov-08 2:13 
QuestionHow to display all logged users Pin
pradees4u5-Nov-08 19:51
pradees4u5-Nov-08 19:51 
AnswerRe: How to display all logged users PinPopular
Ashfield5-Nov-08 21:33
Ashfield5-Nov-08 21:33 
GeneralRe: How to display all logged users Pin
_AK_5-Nov-08 22:59
_AK_5-Nov-08 22:59 
JokeRe: How to display all logged users Pin
AprNgp5-Nov-08 23:44
AprNgp5-Nov-08 23:44 
QuestionSession expire when delete folder. Pin
Imran Khan Pathan5-Nov-08 19:11
Imran Khan Pathan5-Nov-08 19:11 
AnswerRe: Session expire when delete folder. Pin
Sandeep Akhare5-Nov-08 19:31
Sandeep Akhare5-Nov-08 19:31 
Questionconfuse and get error Data Type miss match to use of ms access data type currency and Numeric Decimal in asp.net Pin
sanjay305-Nov-08 18:39
sanjay305-Nov-08 18:39 
QuestionDisable Copy/Paste in ASP.Net Login Control Pin
vkadam20065-Nov-08 18:07
vkadam20065-Nov-08 18:07 
AnswerRe: Disable Copy/Paste in ASP.Net Login Control Pin
Brij5-Nov-08 19:05
mentorBrij5-Nov-08 19:05 

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.