Click to See Complete Forum and Search --> : not yet solved !
aniketlimaye
03-17-2006, 09:53 AM
..dude i didnt want to print the variable i want to play the video with this variable since i have the path of the video in this variable i`ll give u the following coe wherein 'sourcevideo' is the variable ...thanking u
Dim strSQl as string="SELECT * FROM videos;"
Dim strConnection as String="server=HOME-myserver;database=elearningfinal;uid=sa;password=;"
Dim objDataSet As New DataSet()
Dim objConnection As New SqlConnection(strConnection)
Dim objDataAdapter As New SqlDataAdapter(strSQl,objConnection)
objDataAdapter.Fill(objDataSet,"videos")
'for getting rows
Dim objTable As DataTable
Dim sourcevideo As String
objTable=objDataSet.Tables("videos")
sourcevideo=objtable.Rows(0).Item("path")
takkie
03-17-2006, 01:07 PM
That is one of the worse runon sentences that i have ever seen...
I finally understood your question, but perhaps you should learn how to write a question with punctuations first...so other viewers wont hvae a hard time understanding what are you trying to say...
tak
This strikes me as being the response to a response to his original question. However, instead of hitting reply, he hit New Thread and popped this in here.
Without the original question as a point of reference, it is difficult to tell what the issue is.
takkie
03-17-2006, 04:20 PM
i see.
some user on this forum already gave him the answer...i guess he didnt try the solution that was offered..
tak
aniketlimaye
03-18-2006, 06:59 AM
hey guys ..some one plz put up the command ....i am in urgent need of that...thanking u -Aniket
takkie
03-19-2006, 11:14 PM
i dont know why you dont try out the solution that was provided to you by the other user in your other thread. INstead of keep asking, why didnt you try it first? if you did try, you would'nt have ask this follow up question...
Here, this is what you do.
Put a label into the palce where you want to view the video.
then, say your have a variable, called, VideoPath contains the path to the video...
And say the html to view the video is, <embed src=VideoPath>blah blah blah</embed>
Then, in your code behind..
lblVideo.text = "<embed src=" & VideoPath & ">blah blah blah</embed>"
thats it. the person who answer ur other post alreay told you this... You should review or atleast try his solution first...If you dont try, and just want someone to give you the exact coding, or best way to do it, you will never be a good programmer....atleast thast what i think.
-tak
aniketlimaye
03-21-2006, 07:41 AM
Mr .takkie ...i tried implementing your code...the embed tag doesnt take the variable and play the video...please suggest some other code ..
Thanking u
-Aniket