|
jmiller704 wrote: ASPNETDB.MDF stored on my harddrive. I purchased web space for a hosting company. The host allows me to create a MS SQL database from an interface page. What do I need to do to transfer this database to hosting companies server?
You can always go into SQL Server Management Studio and generate a Create Database script. Take the generated script and run it on the hosting account.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Hi!..I am creating a website for displaying examination results and there are three tables of which either one or two or all of them have to be displayed depending on choice of subject.Could I get the best choice ..I mean should I use control panels (with visible set to true or false) or dynamic tables or Ajax functionality.
Thanks
Roopangee Tandon
|
|
|
|
|
use Div and Make Change Visible Property based on User Requirment !!!
|
|
|
|
|
Thanks ...I knew is there other more complex,better methods..
Roopangee Tandon
|
|
|
|
|
i want to update data from gridview i tried to do but always getting strange errors .... i m using update [tab] set [name field] = [@parameter1] where [id field] = [@parameter2] in my sqldatasource but dont know where to provide these parameters value specially when the controls is inside gridview which cant be accessed that easily.... can any1 explain this ??
thankx.
i can do this manually by defining template edit, update, cancel field when on clicking update execute my manual update code.
i m asking for non-manual way to do it.
|
|
|
|
|
for updating the data fields in a grid view , u may hav to do a little
changes in the properties of the Grid view.
first, u select the data source of the Grid and after putting the update query with the parameters , Go to the Grid view properties and select the "DatakeyNames" prop. and then frm that select ur "id field" for it.
After that u select the smart tag of Grid view : check the "Enable Editing" and then go for "Edit Colums".
From that , first uncheck "Auto-gen. fields" check box then add from
"Command fields" the Edit,update etc. then add all the "Bound fields "(if u can't find it just refresh schema). Then finally, select the added bounded fields and put the fields to edit and make its "readonly" prop. as false and others must b true.
|
|
|
|
|
When i use the css(cascading style sheets) in my web page the background image can't b displayed but the color does, help me?
|
|
|
|
|
without code no 1 can understand wht is yr prob
|
|
|
|
|
Please check the path of Image.Give fullpath.
Cheers!!
Brij
|
|
|
|
|
If the image is relative to the css or in an images folder inside the given theme folder, it should look like this:
/* images folder located inside theme folder */
background-image:url("images/yourimage.jpg");
/* images folder located in root of app */
background-image:url("/images/yourimage.jpg");
Hope this helps
|
|
|
|
|
As you have been told ... image pathes in css files are relative pathes ... depending on where you are using the image currently (herarichally in folders) ... so the same image you can see it in a page in folder1 and not in folder1/folder2... you can manage using absoulte path to be loaded in runtime in your base page if you have one for example ...
Sincerely Samer Abu Rabie
Note: Please remember to rate this post to help others whom reading it.
|
|
|
|
|
Hi, I'm working with the wizard control in a page I am building, and suddenly I realized that for some reason the viewstate of many of the controls inside the wizard's TemplatedWizardSteps CustomNavigationTemplates wasn't being saved. But not only wasn't it being saved, the stuff became pretty much random. I made a simple test:
ASPX:
]]>
<title>
<asp:wizard id="Wizard1" runat="server" enableviewstate="true" xmlns:asp="#unknown">
<wizardsteps>
<asp:templatedwizardstep id="Step1" runat="server" enableviewstate="true">
<customnavigationtemplate>
<asp:button id="Button1" runat="server" commandname="MoveNext">
Text="Button Not Visible" Visible="False" EnableViewState="true" />
<asp:button id="Button2" runat="server" onclick="Button2_Click">
Text="Button Visible" EnableViewState="true" />
<asp:templatedwizardstep id="Step2" runat="server" enableviewstate="true">
<customnavigationtemplate>
<asp:button id="Button3" runat="server" commandname="MovePrevious">
Text="Prev" EnableViewState="true" />
<asp:templatedwizardstep id="Step3" runat="server">
ASPX.CS:
public partial class test : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button2_Click(object sender, EventArgs e)
{
// Wizard1.ActiveStepIndex = 1;
Step1.CustomNavigationTemplateContainer.FindControl("Button1").Visible = true;
}
}
Now, when randomly navigating the wizard, even though I clicked Button2, and Button1's visibility should stay visible, for no reason at all it becomes invisible randomly, and in weird occations it may become visible again, for no apparent reason at all. I'm very confused. Does someone know how to fix this behaviour?
Thanks. Perrin.
|
|
|
|
|
Hi all,
iam using Date selector control as user can select date ,in my aspx page, iam using following java script code
<img id="Img2" onclick="javascript:return popUpCalendar(Img2,<%=txtStartDate.ClientID %>, 'mm-dd-yyyy', '__doPostBack(\'<%=txtStartDate.ClientID %>\')')"
alt="" src="UseDateSelector_files/calendar.GIF" border="0" /></td>
but it shows me error on page can any body tell me where iam doing mistake ?
Best Regards
Rameez
|
|
|
|
|
rameez Raja wrote: but it shows me error on page
What's the error?
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
Thanks for response ,
when iam clicking on image buton to pop date selector control nothing is happen , in the last of page iam getting error that "error page"
mean date selector is not displaying when iam clciking on image button .
any help or hint ?
Best Regards
Rameez
|
|
|
|
|
Hi all..
I have used html object tag to play audio. It plays fine. Now I have a button of repeat & shuffle. I have applied logic for both. Bt wat happens is dat wen some song is playing & i click on repeat, den dat song stops playing & repeat logic is applied. Wat i want is dat it shld first finish playing that song & den apply repeat logic. Can anyone help me in this... Any sort of help is appreciable...
Thnx in advance..
|
|
|
|
|
Someone plz help... Atleast suggest something as i m totally blank ...
|
|
|
|
|
Hi,
I have mad a website in ASP.Net 2.0 using Microsoft Visual Studio 2005.
This website also uses SQL Server 2005 for its database.
Now, I want to deploy this website to my customer and i want to provide a Installer application.
I need to:
1. Install the ASP.Net website vial installer, it needs to be precompiled as i dont want to release my source code to customer.
2. I want to run the SQL Server 2005 scripts on customer database, this should also be via some installer.
3. I may have to provide ASP.Net\database updates to the customer, as these is a good chance that I will recieve change request (essentially, I might have to release patch of my ASP.Net files in future)
I have searched internet for this, but there is no clear answer. The "publish"\"copy" etc will not work for me, as I need to provide an installer.
|
|
|
|
|
The Best Soluation is to devloped your own custome Installer. you can developed a Windows Appliction Which can perform
1. Deploy the publised web sites to IIS by creating Virtual Directory.
2. Change and Set Configuration on IIS
3. Connnect With SQL Server , Run Script
4. Reseting IIS
|
|
|
|
|
Good Question ... I think I can help you ...
You see there is a simple tool called Web Deployement Projects for Visual Studio 2005 and there is one for Visual Studio 2008 ... this tool helps you to make an installer for your precompiled web application ...
Simply its used as follows:
- Install this tool
- Go to your web application and right click on the site (at visual studio of course)
- Click on Add Deployment Project
- A new project is added to the solution which simply will make a precompilation for your site
- Add a WebSetup Project to your solution
- Make the project output point to the newly added web deployment project
- Build it !
Its an amazing tool and here are the links to it:
VS 2005
http://msdn.microsoft.com/en-us/asp.net/aa336619.aspx[^]
VS 2008
http://www.microsoft.com/downloads/details.aspx?familyid=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&displaylang=en[^]
Sincerely Samer Abu Rabie
Note: Please remember to rate this post to help others whom reading it.
|
|
|
|
|
I have already tried to download, but installation of "WebDeploymentSetup.msi" fails on my computer.
I have Visual Studio 2005 Professional installed.
The error message is:
Error attempting to read from the source install database:
C:\WINDOWS\Installer\83bf8.msi
I get option to Try Again or Cancel.
I tried 'Try Again' several times, but no luck
|
|
|
|
|
|
Hi all,
I am developing a web appln where user have to play video and audio files when they click on the filename.i am listing all the file name in a datagrid and i have an image button "play" in each row.when user cliks on it,it shuld play the video or audio in the same page
Thanks in advance
|
|
|
|
|
U can use html object tag for this..
for video it is something like this
<OBJECT ID="MediaPlayer" WIDTH="300" HEIGHT="250" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM name="URL" value="<%=str%>">
<PARAM name="autostart" VALUE="true">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<param name="FullScreen" value="<%=scrmode %>" />
<EMBED TYPE="application/x-mplayer2" SRC="<%=str %>" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" NAME="MediaPlayer" WIDTH="300" HEIGHT="250" ShowControls="1" ShowStatusBar="1" ShowDisplay="0"> </EMBED> </OBJECT>
This is wat i have used in my application. U can modify it a little bit to play audio also.. Hope it helps u..
|
|
|
|
|
how to autorefresh the webpage...
i am using the system.datetime.now in page load... but the system date will be automatically refresh... how can possible?
|
|
|
|