User Profile

Collapse

Profile Sidebar

Collapse
ngchaitra
ngchaitra
Last Activity: Jan 10 '08, 04:36 AM
Joined: May 10 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ngchaitra
    replied to How to play video based on some value?
    in .NET
    But how? Can you explain please?
    See more | Go to post

    Leave a comment:


  • ngchaitra
    started a topic How to play video based on some value?
    in .NET

    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"...
    See more | Go to post

  • ngchaitra
    started a topic How to open uploaded files???
    in .NET

    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...
    See more | Go to post

  • ngchaitra
    started a topic Bulletedlist with displaymode=linkbutton
    in .NET

    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...
    See more | Go to post

  • ngchaitra
    replied to To bind image control
    in .NET
    Thank you for your help. I figured it out. Now it is working....
    See more | Go to post

    Leave a comment:


  • ngchaitra
    replied to To bind image control
    in .NET
    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...
    See more | Go to post

    Leave a comment:


  • ngchaitra
    started a topic To bind image control
    in .NET

    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?
    See more | Go to post

  • ngchaitra
    started a topic Display a table based on the selected ListItem
    in .NET

    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...
    See more | Go to post

  • ngchaitra
    replied to listbox
    in .NET
    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...
    See more | Go to post

    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...
    See more | Go to post

    Leave a comment:


  • ngchaitra
    replied to Directories and Listbox
    I am working in asp.net 2.0 and using vb script.
    See more | Go to post

    Leave a comment:


  • ngchaitra
    replied to listbox
    in .NET
    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
    ...
    See more | Go to post

    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....
    See more | Go to post

    Leave a comment:


  • ngchaitra
    started a topic listbox
    in .NET

    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.
    See more | Go to post

  • ngchaitra
    started a topic How to read comma seperated value in the listbox
    in .NET

    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...
    See more | Go to post

  • ngchaitra
    started a topic Parser error: could not load type
    in .NET

    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...
    See more | Go to post
No activity results to display
Show More
Working...