Thank you so much. It works perfectly.
Pratheepa
Posts
-
Hiw to add .swf in asp.net? -
Hiw to add .swf in asp.net?Hi, Can anyone help me nserting a .swf file in asp.net. I have don it using Image tool and the code i got is posted below.unfortunately it is not working. pls help me asp:Image ID="Image1" runat="server" ImageUrl="~/Banner.swf" ;
-
How to display total viewersI am working on an online based website. I wud like to display the number of views of every product. ex: if a user go and click the product to chen then the view number shud increase by one. Can i get coding for this?
-
display number of online visitorsIs there a way to display the total number of visitors being online in my webiste. plz help me by providing the code
-
pop-up windowCan anyone send me the code of displaying popup when the user clicks a link( in asp.net c#)
-
Set the website resolutionDear All, Cud any one help me to set the resolution of the web page in asp.net C#? when i run this site at my client's computer the pages are look much wider. PLz help
-
delete records automatically from databasecud u plz explain in detail? i wud be thankful if u cud send me any link(url) where i can get more idea.
-
delete records automatically from databaseHi, I am using asp.net C# and ms Access as database . my website is abt displaying advertisements posted by users who re registered. All work well but my problem is how to delete posted advertisements after a perticular days. for example if user request to display the advertisemnt for one month then the advertosemnt shud get deleted automatically from the database after the time finishes. Is there a way to do this task? Plz help me
-
How to show image from ms access to gridviewthanks a lot. it really works.
-
How to show image from ms access to gridviewya but I didnt understand or get any idea to change those to my requirement. plz help me
-
How to show image from ms access to gridviewmy database Ms Access has 3 fields as folllows; id- number imageName- text imageURL- text ................................................... I have a fileupload tool and a button names btnUpload which helps to upload images to a folder and that path gets saved in database field names imageURL. ......................................................... Inherits System.Web.UI.Page Dim constr As String = "Provider=Microsoft.jet.OLEDB.4.0; Data Source=D:\imgupload\db1.mdb;Persist Security Info=False;" Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click If FileUpload1.HasFile Then FileUpload1.SaveAs(IO.Path.Combine(Server.MapPath("Image"), FileUpload1.FileName)) fnSaveFile(IO.Path.GetFileName(FileUpload1.FileName), IO.Path.Combine(Server.MapPath("Image"), FileUpload1.FileName)) End If End Sub Public Sub fnSaveFile(ByVal FileName As String, ByVal FileURL As String) Dim cmd As New OleDb.OleDbCommand Dim con As New OleDb.OleDbConnection(constr) Try Dim strSql As String = "insert into tbl_Image(ImageName,ImageURL) values('" & FileName & "','" & FileURL & "')" '------------" con.Open() cmd.Connection = con cmd.CommandText = strSql cmd.ExecuteNonQuery() Catch ex As Exception Response.Write(ex.Message) Finally cmd.Dispose() con.Dispose() End Try End Sub ................................................................ my image uploading is working well. cud anyone sugesst me a way to add a gridview and show the image other than showing the path of the image.
-
showing image im gridview from ms accessI am using ms access. I wud like to upload images inside a folder and the path of that shuld get saved in the database. Moreover i want to bing this database with a datagrid and shud display all images from the databse . when i tried to bind it shows the path of a image . how to show images other than showing the path on the gridview?
-
how to addDear All, I used Ms access as a database and the table contains 3 columns as Id, Name and email. I set the Id as a autonumber as well as the primary key. my problem is, how to add code in asp.net form to make the Id get added automatically in database. My program works well if i give unique value to id but i don't want to show id on the form. cud anyone help me? also i tried in another way --- designed a query in database and sorted the id column in descending order. In asp.net i took the query's first record's id and add by one. set it as a new value. it works but the problem is, for ex: if the last record's id is 4 and when i add by one 1, I get the new id as 41 instead of 5. cud u help me to sort out this problem?