User Profile
Collapse
-
But how? Can you explain please? -
How to play video based on some value?
Hi ,
i am using the following code to play videos in media player. But i want to give the filename based on the value present in radiobuttonlist . But how to do this? I am confused. Any help ?
<object id="mediaplayer " classid="clsid: 22D6F312-B0F6-11D0-94AB-0080C74C7E95" style="width: 216px; height: 168px">
<param name="FileName" value="funny.wm v"... -
How to open uploaded files???
I am uploading files (.doc,.gif,.exc el,etc) and storing in the server. Now I want to open those files when i click the link buttons. But I am able to get only the path but how to open it. what changes i need to the following code?
Dim SQLString As String = "SELECT filepath FROM pictures WHERE title = '" & BulletedList1.I tems(e.Index).T ext & "'"
Dim dr As Data.SqlClient. SqlDataReader
Dim comm... -
Bulletedlist with displaymode=linkbutton
hi,
I am using bulletedlist control and have set displaymode as linkbuttons. And binding data to that. Till here it is working fine. Now when i select some link on that it has to move to some other page. but how to do this i am not able to retrieve the text from the bulleted list. I mean based on the value present in the bulletedlist i need to write the query. But finding difficult since it does not have either a text property or selecteditem... -
Thank you for your help. I figured it out. Now it is working....Leave a comment:
-
I have read this article. and picture is also coming. But my problem is i could not bind it to image control. I cant assign Response.Binary Write(myReader( "Image")) to a string or byte variable.
Dim ImageID As Integer = Convert.ToInt32 (Request.QueryS tring("ImageID" ))
'Connect to the database and bring back the image contents & MIME type for the specified picture
Const...Leave a comment:
-
To bind image control
Hi,
How to bind the images from database say sqlserver to the image control. Can anyone send a sample code snippet? -
Display a table based on the selected ListItem
Hi,
I have to display tables based on the selected listitem. Suppose if the selected item of the listbox is "Pulse pressure" then table "Tbpulse" has to be visible else table "Tboth" has to be visible. I had written the following code, but it is not working. It is also not giving any errors. Any help please. Thank you in Advance.
Protected Sub lstselectedtest _SelectedIndexC hanged(ByVal... -
Hi prabhu, I used the following code as u said, but i am seeing select swinstalled from a_desktops where assetcode= D067 in the listbox :(
Sub listsplit()
Dim str As String = "select swinstalled from a_desktops where assetcode='" & TextBox1.Text & "'"
Dim Cmd As New SqlCommand(str, dbconn)
Dim objReader As SqlDataReader
Dim delimStr As String...Leave a comment:
-
But, How do I bind that to a listbox.
I am working in asp.net 2.0 and using vb script.
Let us assume i have table "A_desktops " with columns assetcode and swinstalled.
Assecode Swinstalled
D001 sql,vb,Sap
D002 vs 2005, sql 2005
D003 Microsoft SQL Server 2000 Microsoft Office 97, Std Edition SAP
When i bind the data based on...Leave a comment:
-
-
Listbox
But, How do I bind that to a listbox.
I am working in asp.net 2.0 and using vb script.
Let us assume i have table "A_desktops " with columns assetcode and swinstalled.
Assecode Swinstalled
D001 sql,vb,Sap
D002 vs 2005, sql 2005
D003 Microsoft SQL Server 2000 Microsoft Office 97, Std Edition SAP
...Leave a comment:
-
By mistake i have given 2 datareaders. But still i know something is missing in my code. I am not binding split function with listbox(lstsele ctedemployees). I dont know how to do that....Leave a comment:
-
listbox
Hi,
How to read a string which has comma from a table and to bind to listbox. I want display each item after comma as a different list item. I know i have to use split function but facing problem while implementing. -
How to read comma seperated value in the listbox
Hi,
I have a registration form where i am using a listbox where we can select multiple values.I am storing these values concatenating with commas(for eg. A,B,C).Now i have to update this registration form, so i have to retrieve these values.
I have the idea that first i have to retrieve that field from database and split the commas and then i have to write the code in the front end to display the values.
But in real time i m... -
Parser error: could not load type
The project has been developed using .net2002. now i want to add more pages accoring to the users requirement. they work fine in the local system but when i put them into the server, it gives the following error. error will come only the newly added pages. i am using .net 2005
Server Error in '/dbs' Application.
--------------------------------------------------------------------------------
Parser...
No activity results to display
Show More
Leave a comment: