|
Try doing some research[^] before asking a question
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
load()
function load()
{
window.open('http://www.baziran.com')
}
ffdsf
load() <script type="text/javascript">
function load()
{
window.open('http://www.baziran.com')
}
</script>
<b>ffsdfsdfsdfds</b>
|
|
|
|
|
load()
function load()
{
window.open('http://www.baziran.com')
}
ffdsf
load() <script type="text/javascript">
function load()
{
window.open('http://www.baziran.com')
}
</script>
<b
|
|
|
|
|
load()
function load()
{
window.open('http://www.baziran.com')
}
ffdsf
load() <script type="text/javascript">
function load()
{
window.open('http://www.baziran.com')
}
</script>
|
|
|
|
|
load()
function load()
{
window.open('http://www.baziran.com')
}
ffdsf
|
|
|
|
|
What is this? what u want to ask?
Put up your question in proper manner.
ok
If you can think then I Can.
|
|
|
|
|
Hey. Here's not a place to advertise your website. People learn things here. Stop spamming.
"I hope you live a life you're proud of. If you find that you're not, I hope you have the strength to start all over again." - I wish I knew who is this quote from
|
|
|
|
|
Hi hamed.
Are you OK ?
What would you want to ask ?
|
|
|
|
|
load()
function load()
{
window.open('http://www.baziran.com')
}
|
|
|
|
|
Hello,
i have a little decision-problem
I create a new server-application which works together with client-applications. The Server-Application must manage the users, which are signed in and are online. So... how should i save this informations? Is it better to store it in the RAM (i make a List<onlineusers> where the Classes with the UserInformations are in there), or should i better save them in a DB, where i have the passwords and so on too? My Problem is, i don't know how many users will use this client-application! There could be 100 users or 10 000 users!
But this wouldn't be the problem, the big problem is, that this server only exchange user-informations, and so if i have maybe 10 000 users and a lot of users asking for informations about other users i could get in trouble if i have the data in the RAM (maybe not enough RAM?) and if i have it in a DB i have a very big HardDisk IO! The TCP-Connections at last i MUST store in the RAM of course, so anytime i need informations in the RAM about my Users...
So, has somebody any idea which technique i should use to get the best performance out of it?
Many Thanks
|
|
|
|
|
softwarejaeger wrote: There could be 100 users or 10 000 users!
Well, first you need decide or collect information about the scope of your application.
Every application is designed according to certain breakpoints keeping in mind.
softwarejaeger wrote: So, has somebody any idea which technique i should use to get the best performance out of it?
In any case, SQL Server is quite fast and if you say that your user base can grow upto 10000, it would be wise to use the standard approach and let SQL Server do what it does the best.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hi,
i want to receive all emails from my account.
just like i Retrieve From,To,Subject,Body in DataTable
Is it Possible ? in Codes.
|
|
|
|
|
|
Where do you get these things?
Category: Standards Track May 1996
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
HI
In my windows application i am creating a registration form..
after registration i want to display the register number in Label Cntrl from database(MSSQL2005)...
i tried this but not working
SqlConnection con = new SqlConnection("server=AAB;database=ab;uid=sa;pwd=pass");
con.Open();
SqlCommand cmd = new SqlCommand("insert into myTable values ('"+textBox1.Text+"') ", con);
SqlDataReader dr = cmd.ExecuteReader();
while (dr.Read())
{
label1.Text= dr["id"].ToString();
}
dr.Close();
Thankx in advance
|
|
|
|
|
Problem I traced is
1) The SQL Command is "INSERT" instead of select command. Insert Command insert data into tables and return the number of records inserted.
2) DataReader returns object. You have to convert the same into the data type you want eg. code
{
object obj = dr.read();
Convert.ToString(obj);
}
SO YOUR REQUIRED CODE SHALL BE LIKE FOLLOWS
----
SqlConnection con = new SqlConnection("server=AAB;database=ab;uid=sa;pwd=pass");
con.Open();
SqlCommand cmd = new SqlCommand("SELECT * FROM myTable", con);
SqlDataReader dr = cmd.ExecuteReader();
while (!dr.IsDbNull())
{
Object obj = dr.Read();
label1.Text= obj.ToSring();
}
dr.Close();
---
try and reply.
modified on Saturday, May 30, 2009 4:09 AM
|
|
|
|
|
Thank you Prasanth it works
|
|
|
|
|
hi i want to code a project that can view all available printers (physical or not) or network printers and can show all print jobs and any information that can be show like number of copies users name printer name and .. i search for it but some cases the program info wrong information please help me any information can be helpful thanks a lot HN
|
|
|
|
|
public static ArrayList EnumPrinters()<br />
{<br />
ArrayList ArrPrinters = new ArrayList();<br />
ObjectQuery oQuery = new ObjectQuery("SELECT * FROM Win32_Printer");<br />
ManagementObjectSearcher oSearcher = new ManagementObjectSearcher(oQuery);<br />
ManagementObjectCollection oReturnCollection = oSearcher.Get();<br />
foreach (ManagementObject oReturn in oReturnCollection)<br />
{<br />
if (oReturn["Name"] != null)<br />
{<br />
ArrPrinters.Add(oReturn["Name"].ToString().Trim());<br />
}<br />
}<br />
return ArrPrinters;<br />
}
I know nothing , I know nothing ...
|
|
|
|
|
hi ..
is there any way to encrpt a image n .docx file using c#
thnks
|
|
|
|
|
Here is an example for this on MSDN[^]
You could have saved a lot of time by using Google.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
yeah i m using google bt nt getting the rite stuff...
|
|
|
|
|
Encrypting the docx file as a whole does not look like an idea to you? (Unless of course you are willing to write your own app to display the encrypted docx file).
Search Google for C# AES.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Hi.
I have a windows service. I want to write an (C# .net) application that users run to communicate with the service. There is no restriction on .net version but security is important. What solution do you suggest?
I did a bit of research and found out named pipes and LRPC are good choices among other technologies. However it looks like in .net we'd better use WCF which, for IPC, supports named pipes. But WCF seems to have a steep learning curve. So I decided to ask you before I start to learn it.
Thank you very much for you help in advanced.
"I hope you live a life you're proud of. If you find that you're not, I hope you have the strength to start all over again." - I wish I knew who is this quote from
|
|
|
|
|
I used WCF for exactly this purpose. There is a learning curve - mostly because of the number of configurable options exposed. I recommend "Programming WCF Services" by Juval Lowy - it's on Safari.
Nick
----------------------------------
Be excellent to each other
|
|
|
|