I dont think from ASP.NET, anyone can get the UID and password as it is secure and cant be called. If you are unsure that someone else who have access to the server can see it through file system, you can also make use of encryption of web.config.
Now regarding the role, you can either make it db_owner or sys_admin based on the requirement.
In my table there is a coloum CreatedDate(DateTime) which stores datetime in UCT Time.
Now I want to show this time to user's local time.(i.e. User From US can see US time, User from india can see Indian local time.) how can i convert? should i have go through Cultureinfo? or may it creates daylight saving problem?
We have developed an (ASP.NET) Web Application in VS 2008 & developed a setup project for the same and successfully installed in our local environment (Windows XP/ Windows 2003 server).
This web setup project contains the below:
1. Web Application (Primary output/ Content)
2. Primary output of BLL & DAL
3. Few custom actions
4. Few UI Forms to get the Database details/ etc from user
5. One Windows service
This setup fails immediatley in the client environment. The client also using the Windows XP SP2/ 32 bit version. But the windows root folder is "C:\WINNT"; bcos the system has been upgraded from Windows 2000 to XP it seems.
After that we have removed the custom actions and Windows service from the setup project (to narrow down the issue) & tried to install, it also failed.
We dont have any clue on this. Can you please help...
i want separate two columns of crystal report by colon( .and i want 3 records of two column in half vertical portion of the page and next 3 records display on remaining part of same page with colon.
and i mean i want something like this please help me
Sno rollno student name Sno rollno student name
1. 001:A 4. 004
2. 002:B 5. 005:E
3. 003:C 6. 006:F
i m using radiobuttonlist with images like this
<asp:RadioButtonList ID="rbtnthumb1" runat="server">
<asp:ListItem Value ="News_icon.jpg"> <img src="images/News_icon.jpg" alt="News" align="absmiddle"> News</asp:ListItem>
<asp:ListItem Value ="imageicon.bmp"><img src="images/imageicon.bmp" alt="Image" align="absmiddle">Image</asp:ListItem>
<asp:ListItem Value ="Video97.gif" ><img src="images/Video97.gif" alt="Video" align="absmiddle">Video</asp:ListItem>
In design view it show radiobuttonlist with images but when i use insert query.it stored this value in mytable
<img src="images/News_icon.jpg" alt="News" align="absmiddle"> News
but i only want to store News_icon.jpg(image file name)and i m using this way for adding value
please let me know how to stroe only imagefile name in database table
i m beginner and trying to save a imgefilename in database with radiobuttonlist.i do't know may be my approach wrong or right
can you tell me right concept about my question ? if i m doing wrong then what is the right way
You can't do that with ASP.NET. You can do it with HTML. What have you tried ? Did you search the web for info at all ? Where is the webcam, on the server ? You can create a stream and set up windows media player to display it.
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
This was my code to display live streaming from webcam.
hope thi will work for u.
u need to install the webcam and than place this file in ur initpub folder
to share the images on web and allow the user to view it.
u also need to install latest version of media player and windows media encoder.
<object id="MediaPlayer" width="176" height="144" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
Ive an Obout calender that i change its datemin , datemax according to Dropdownlist selected item, i want the textbox (that the calender copy its value to ) to be clear(empty) when the DDL changes for the user to select a new date ,DDl is AutoPostback true ,ive tried this in the [ddlVacationTypes_SelectedIndexChanged]:
TextBox1.Text = "" 'Didnt work the textbox is holding the last value
i also tried this in the [Page_Load]:
" document.getElementByID('TextBox1').value = '' ; </script>")
'Didnt work the textbox is holding the last value