|
I have created a backup utility in asp .net that backs up a website along with the sql server data. You have to click a button on a page to begin the backup utility but the users wants the utility to automatically run daily without having to manually click the button. How can I set it up so it automactically runs?
|
|
|
|
|
a windows service.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Adding to what Christian said, you can create a console application which takes backup and exits automatically. Schedule it using windows scheduler. It's simple.
|
|
|
|
|
I use Microsoft Visual Web Designer 2005. I use the ASP.NET membership controls, visitors need to log in to access our website. I want to display on the website how many members are registered in the membership database. It's a pain to count them myself, there must be a way to automate this task.
Example: "There are 89 active members"
I don't write code, but can create queries, connections, and connections strings ect. The table is aspnet_Membership and the row is UserID.
I have searched and searched to no avail. Help please! Thank you!
|
|
|
|
|
keith123 wrote: I don't write code
great.....
keith123 wrote: but can create queries, connections, and connections strings ect. The table is aspnet_Membership and the row is UserID.
select count(*) from aspnet_Membership
that's a pretty simple query....
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thank you! And how do I get that query to display the result as a number? Would it be a label or text box or something?
|
|
|
|
|
|
Hi all
I am using Accordion Ajax extender tool in my user control. There are around 5 panes and each pane loads usercontrol at the page load.
I have applied following style to the accordion header using style sheet class.
.accordionHeader
{
border: 1px solid #0063A0;
color: white;
background-color: #002B55;
font-family: Arial, Sans-Serif;
font-size: 10px;
font-weight: bold;
padding: 5px;
margin-top: 3px;
cursor: pointer;
}
<cc1accordian:Accordion ID="ntAccordion" runat="server" SelectedIndex="0" CssClass="accordionStyle"
HeaderCssClass="accordionHeader" HeaderSelectedCssClass="accordionHeaderSelected"
ContentCssClass="accordionContent" FadeTransitions="false" FramesPerSecond="40"
TransitionDuration="250" AutoSize="None" RequireOpenedPane="false" SuppressHeaderPostbacks="true">
<Panes>
<cc1accordian:AccordionPane ID="apane1" runat="server">
<Header>
<asp:Label ID="lblSpeed" runat="server" Style="position: relative" Text="Header One"
CssClass="labelfont"></asp:Label>
</Header>
<Content> .... </Content>
This style is applied correctly when page is loaded into IE7, but in IE6, there is no style applied. Has anyone experienced this problem before? Please help me
|
|
|
|
|
Hi
not taking OnClientClick=....
<asp:LinkButton runat="server" Text="Details" ID="lnkDetails" OnClientClick="javascript:GetUserDetails('<%= rowIndex++ %>',<%# DataBinder.Eval(Container.DataItem,"MemberID")%>)"></asp:LinkButton>
<a href="javascript:GetUserDetails('<%= rowIndex++ %>',<%# DataBinder.Eval(Container.DataItem,"MemberID")%>)">
Details</a>
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Are you getting any errors? If yes then post here
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
Do you use Firefox? If so, look in 'Tools->Error Console' and you see why the function isn't getting called.
If you're still not sure then post back the error message here.
|
|
|
|
|
hi
when I tried to get the value of current row of the gridview,
the blank cell return , how can I prevent that ?
thanks
jooooo
|
|
|
|
|
Can you post here a block of code and grid event name in which you are trying to get it ?
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
thanks my friend
the event :
GridView1_RowCommand
switch(e.CommandName)<br />
{<br />
case ("Edit"):<br />
<br />
<br />
GridViewRow row = (GridViewRow)((Control)e.CommandSource).Parent.Parent;<br />
txtID.Text = row.Cells[0].Text;<br />
txtName.Text = row.Cells[1].Text;<br />
}<br />
then if the cell is blank it's return & nbsp
jooooo
|
|
|
|
|
Please try this way for getting the current row:
int index = Convert.ToInt32(e.CommandArgument);
GridViewRow row = YourGridView.Rows[index];
txtID.Text = row.Cells[0].Text);
...................
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
Hi friends,
While communicating with aspx page ,short code sms is not responding correctly.I got correct response; but also got multiple of unknown sms. i.e I have send some msg to 554455 like this short code no. That short code, sms server pass that sms to our own page.In that page I have done some dbase calculation and return sent response sms to client. this is the pgm. but we got lot of unknown sms it contains all html tags in that aspx page.. so how can i stop that unknown sms. if anybody having idea about how to send short code sms and link with aspx page?
pls reply...
Thanks and regards
|
|
|
|
|
I have no idea what you're talking about. If you're using an SMS API, the people who wrote and/or use that, are the people who can help you.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I am developing a C#.Net web service in VS.Net2005 environment. I need to test a Java web service while developing.
Only the WSDL is given. How can I generate a Client proxy for the given WSDL and use those Java classes in my C#.Net application. And the WSDLs URL is also not given. So I need to put it in to my systems virtual directory and create Client proxy for it to use in my Client application
Can anybody please help me. Any suggestion or any link will be very very helpfull.
Thanks,
Aleem Mohammad.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
You need to import the web service, same as a .NET one. If you don't have a URL, I am not sure how you'd do it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi All,
Can anybody pls. help me, am unable to find it in google too. If anybody finds it pls. help me.
Thanks,
Aleem Mohammad.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Does this mean you don't have a URL ? Then you don't have a webservice, ergo, you are screwed. This is trivial, or impossible. You just do it, or you cannot do it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Using asp.net c# i want to retrive the user system information...
means user system hardware/software configuration.
G. Satish
|
|
|
|
|
If you look at the sites that try to sell you bad security software, their source will always show what you can find out about a users PC. ASP.NET can't help you, you need to use JS, and I guess to stuff values into a hidden control so you can pass them to the server.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i am not clear with your answer. Graus can u explain a little bit lenghty.
i think u followed my question.
G. Satish
|
|
|
|
|
1 - you cannot scan the users system from javascript
2 - you CAN get info on the processor and OS
3 - ASP.NET has NO classes for this
4 - so, if you put a server hidden control on the page, you can store text in it, using javascript, and read that on the server.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|