|
a simple way ( as both are access dbs) is to export the data from one tabke to a csv file) and import it in the other end.
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
hi
i need guidance and help regarding following scenario for a web app using asp.net 1.1(C#)
i am getting output of a web service that is xml but as a string now i want to put all the info in a table
i am putting that output stream to a dataset and then try to utilize that but there is a problem there that when i give that xml to a dataset as source dataset create more then one tables while i want to store all as a one table column also there are no dependencies in those table all have unique values
so can some one guide me that if there is some better scenario or how i can merge dataset tables column in one table so that can be store able in a db table
regards
shezi
|
|
|
|
|
Hi,
I'm involved in the development of a web application for a huge organization. The web applications are developed with VS.NET 2003 with oracle DB and IIS for the webserver. We have the problem that the database has huge ammount of data and the application has to be an online one so we can't work in offline mode. The application may load some data in the application server memory for sometime but once the user finished what he wants, I should remove these data from the memory, but the ADO.NET cashes the data and I don't know how to free it. I tried to dispose all the objects but no effect. NOTE: The data is huge that we have a table that may contains about 700000 records and increasing by the time. This problem causes the application server to fall down by the time and I have to restart the IIS to free the memory.
If the declartion of the problem is not clear please contact me
eng_amahmoud_fcis@hotmail.com or ayman.mahmoud@gmail.com
Thanks.
Ayman Mahmoud
|
|
|
|
|
1) If you are caching the data see that you put the timeout as well.
2) If you running IIS 6. Schedule the appliaction pool restart periodically.
3) If you have lot of data cosider using s staging DB or table to store the most frequently accessed data.
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Hi,
I'm running IIS 6, but is this problem can be solved with IIS 7 in another manner rather than restarting the IIS, because restarting the IIS will cause the user not to be able to browse the application site during the restarting process and this may cause problem due to the business enviorment in which the application is running.
Ayman Mahmoud
|
|
|
|
|
Hi,
I was wondering if we could change the color of the RegularExpressionValidator (or any validator) via CSS. It seems that even if we apply a color in the css, it's always the one defined in the properties (in the designer) that is taken into account. I have checked the source of the page and there is always a "style" attribute that is placed just after the "class" attribute, which leads to the "style" overriding the "class" and thus applying the color that is given in the designer. I couldn't find a way to make it stop generating the "style" attribute. It's always there!!
I have tried google to search for a similar case. There are people complaining about the same problem but it seems the only solutions is to create a NEW custom validator
If removing it is not an option, is there a way to make both attributes switch places in the code? that way the "class" would override the "style".
Thanks a lot
Talal
-- If this is a post that has been helpful to you, please vote for it. Thank you!
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook
|
|
|
|
|
Talal Sultan wrote: one defined in the properties (in the designer)
By looking at the above quote does this mean you are not actiually writing the code for it but creating it in the designer?
If so just delete the style from the code and apply the class
might work
|
|
|
|
|
Well the HTML code looks like this:
<asp:RegularExpressionValidator ID="emailValidator" runat="server" ControlToValidate="txtAddEmail"<br />
Display="Static" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" CssClass="SmallWarning"></asp:RegularExpressionValidator>
In this code, there is even no reference to the ForeColor of the control, but this code generates the below HTML code when the server sends back the page:
<span id="ctl00_def_vldAddAlternateEmail" class="SmallWarning" style="color:Red;visibility:hidden;">Please enter a valid email address.</span>
You can see that the "style" attribute is there and it is always AFTER the "class" attribute :S And I didn't find a way to set the ForeColor to nothing, the default is red and this is what is used when I don't specify it in the HTML code.
-- If this is a post that has been helpful to you, please vote for it. Thank you!
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook
|
|
|
|
|
Strange. It just worked fine for me. Which is your ASP.NET version ?
|
|
|
|
|
I am using .NET 2.0 and VS 2005. It is driving me nuts! The weird things is that the CSS is applied because the font size changes as I have set it in the CSS but the font doesn't change. If you can check the reply I just posted above, you can see how the HTML code is written and how it is generated back by the server.
-- If this is a post that has been helpful to you, please vote for it. Thank you!
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook
|
|
|
|
|
try setting the font color in the actual validator syntax
i.e. <asp:requiredfieldvalidator forecolor="red"></asp:requiredfieldvalidator>
ps didnt seem to show the code i put in
modified on Wednesday, March 5, 2008 4:30 AM
|
|
|
|
|
Here you go
<asp:RequiredFieldValidator ForeColor=""
CssClass="SmallWarning"
ID="RequiredFieldValidator1"
runat="server"
ErrorMessage="RequiredFieldValidator"
ControlToValidate="TextBox1"
/> This will show color given in the style sheet.
|
|
|
|
|
an extension on what I had already said.. but I will accept it
|
|
|
|
|
Thanks, it never occurred to me that I could actually have an empty ForeColor. It works well!
Cheers!
-- If this is a post that has been helpful to you, please vote for it. Thank you!
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook
|
|
|
|
|
|
I need to fetch the client login information from the server.THe client information like client login time,logout time AND OTHER login informations.I got it from somewhere that there are log files that carry the member information.Now the problem is where does this log file of member event viewer exists and how to fetch member data from that.
|
|
|
|
|
1 - You need to find out where log files are kept for windows server 2003.
2 - Understand the file format.
3 - Write a regular expression to parse the text and fetch required one.
4 - Query SQL database to insert this data
|
|
|
|
|
Did you check the Security section of event Log viewer ?
System.Diagnostics.EventLog elog = new System.Diagnostics.EventLog();
elog.Log = "Security";
elog.MachineName = "."; //(.) denoted the local machine
for (int i = 0; elog.Entries.Count > i ; i++)
{
//elog.Entries[i].TimeGenerated ;
//elog.Entries[i].EntryType.ToString();
//elog.Entries[i].Source.ToString();
//elog.Entries[i].Message.ToString();
// Get here all entries from and insert into the Database
}
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Hi,
I have a publishing website, and on my right hand of the website I want to display content ads like Google ads and ads from other advertising agencies. I'm not sure how I want to do this yet. Each time when a page is refreshed I want another ad to display (from a different company). I was thinking of adding each agency's ads to a separate user control, each with it's own set of JavaScript, and then have it rotated on each page refresh (display a different user control). How would I do this? Is there a better way of doing this?
Regards
.NET Enthusiast
|
|
|
|
|
ADRotator[^] is the control built for showing advertisements.
|
|
|
|
|
Please see my reply to pmarfleet.
|
|
|
|
|
Havea look at the AdRotator control.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Do you know what Google AdSense is? Ads get displays on your website, all that you do is to place javascript on you page that displays the ad from Google on your page.
For each advertising company there is a different set of javascript tags that pulls the ad from the advertising company. I thought of putting each javascript into it's own user control, does this make more sense. And everytime the page is refreshed a different user control is displayed.
How?
|
|
|
|
|
.NET Enthusiast wrote: Do you know what Google AdSense is?
'fraid not.
However, if you need to render out some Javascript, a User control or Server control would be suitable. Use Page.ClientScriptManager to inject Javascript code into the page your control resides in.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
i have one string and store charcter like 1,3,4,5,6. i want to split this string by , and find each value of string
please help me.
|
|
|
|