|
Hi,
I wanted to create report in word document. I want to insert images from c# to word document each image in diff. page in same word document. how to do this?
Hope I will solution to my query.
Thanks,
Hiral
-- modified at 12:43 Saturday 26th November, 2005
|
|
|
|
|
Hi
I want to know that how many users are currently online on my site and if they are login then i want to get their loginID also. I am new to ASP.NET. Can anybody help me about this.
Regards
Asif Hameed
|
|
|
|
|
Create a variable on the application level, and on every session start increase that variable by 1, and on the end decrease it again.
void Application_Start(object sender, EventArgs e)
{
Application.Add(numOfUsers, 0);
}
void Application_End(object sender, EventArgs e)
{
}
void Session_Start(object sender, EventArgs e)
{
int n = Convert.ToInt32(Application["numOfUsers"]);
n++;
Application["numOfUsers"] = n;
}
void Session_End(object sender, EventArgs e)
{
int n = Convert.ToInt32(Application["numOfUsers"]);
n--;
Application["numOfUsers"] = n;
}
------------------------------ "The Soapbox has been so ..."
|
|
|
|
|
hi
i need code example to read from excel file
lets sat col F and row 10
i need it in C#
eyalso
|
|
|
|
|
An easy way of accesing an execl file is through OleDb. Thake this article as a start point Accesing Excel Through OleDb[^].
protected internal static readonly ... and I wish the list could continue ...
|
|
|
|
|
Hi...
Is it possible to make some kind of control
when the App starts; to check if framework is
installed? and if not maybe send to a download
page?
Thanks
QzRz
|
|
|
|
|
I think it isnt possible..
The application needs the framework to ran and if it isnt installed
on the machine you can check nothing..
If someone know the way to do this it will be great!
Enrico
|
|
|
|
|
The best (read easiest) way to do this is to create a Deployment Project for the application. VS will include a default system check for the .NET X version that you need and, should it not exist on the target machine, will prompt the user to download the .NET Framework.
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
I am hacking together a program to manage the scheduling for software-development projects. I got a great method to manage the work breakdown structure, but the datagridview won't show me an expandable tree structure when I got a table with a recursive structure.
Anyone have any clue what happend to the expandable structure that used to be available in the datagrid from .NET 1.1??
WM.
What about weapons of mass-construction?
|
|
|
|
|
Differences Between the Windows Forms DataGridView and DataGrid Controls [^]
"... The only feature that is available in the DataGrid control that is not available in the DataGridView control is the hierarchical display of information from two related tables in a single control. You must use two DataGridView controls to display information from two tables that are in a master/detail relationship."
The DataGrid is still available to use if you really need this, but then you lose all the handy new features of DataGridView .
Charlie
if(!curlies){ return; }
|
|
|
|
|
Ok, I think I'm going to use the DataGridView. The users can also see by the tasknumber how deep the task is nested. (The tasknumbers have a format that looks like this: 1, 1.1, 1.1.1)
WM.
What about weapons of mass-construction?
|
|
|
|
|
hi friends
i need your help (to write a program in C#)
i want to go this site :
http://today.reuters.com/stocks/Overview.aspx?ticker=msft
and to save the information about the stock (for example Last Trade: $27.76,
Trade Time: 1:00 PM ET ,Change: -0.57% ,Prev Close: $27.92 ,Open: $27.80 ...)
lets say i want to save it in access or sql server
thank you
Eyal
eyalso
|
|
|
|
|
Hi.
I put some label controls with text on a form and then I drew some lines on the form. Only part of the labels can be seen on the screen and to see some of lowest ones the user needs to scroll down. The lines outside of the visible clientarea don´t get drawn and when I scroll back up again the lines that were visible at the upper most part of the form are no longer visible! Why is that? I did try to use this.ResizeRedraw = true; and then this.CausesValidation = true; but it doesn´t fix the problem. I would like all of the lines I draw to be visible when the user scrolls up or down. Can someone please help me?
Thanks,
FJ
|
|
|
|
|
You should create an Image and all graphics save to it. For example:
Graphics grafika;
Bitmap obr = New Bitmap(this.Width, this.Height);
grafika = Graphics.FromImage(obr);
e.Graphics.DrawImage(obr, 0, 0);
Zło to zło. Mniejsze, większe, średnie, wszystko jedno, proporcje są umowne, a granice zatarte.
|
|
|
|
|
Dear All,
I have a DataSet which has a relation, table A is parent table B. I want to show only data of A on Datagrid. But in front of each row of datagrid, have "+" mark. I want to hide the "+" for each row ( don't clear Relation in this Dataset).
Please help me solve this problem.
Thanks alot.
inew
|
|
|
|
|
I haven't tried this just now, but have you tried dataGrid.DataSource = dataSet.Tables["tableA"]; assuming that your table is called tableA?
HTH.
Cheers,
Vikram. "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton.
|
|
|
|
|
why i can't install ms sql server en version on italian xp ???
|
|
|
|
|
Hi
Where i cand download some free version of ms-sql server cloud you give me exacly url becaus i know is exsist some free version but i don't find it???
|
|
|
|
|
You're probably looking for SQL Server 2005 Express edition. It's available from the MSDN website http://msdn.microsoft.com/[^]
WM.
What about weapons of mass-construction?
|
|
|
|
|
how to create excel sheet using c# withoue excel objects
.
can anyone help...
thanking in advance..
byeeeeeee
sree
|
|
|
|
|
Can you be more specific?
If you just want to be able to view the output of your program in Excel, you can create a CSV file.
Cheers,
Vikram.
http://www.geocities.com/vpunathambekar
Google talk: binarybandit After all is said and done, much is said and little is done.
|
|
|
|
|
Hi Sree,
ComponentOne has a component, C1XLS for .NET, that will allow you to create Excel spreadsheets. Excel does not need to be present on the development or end user's systems to create the xls file. The evaluation version includes samples and documentation that will show you how to get started. Versions of the component exist for both the 1.x and 2.0 .NET Frameworks. For more information, please refer to the following link: XLS for .NET Information[^]
Suelinda W
Customer Engagement, ComponentOne LLC
|
|
|
|
|
How can I create a windows service in such a way that it allows me to install multiple instances with same name (may be someting like versioning) on a single machine???
Any help to accomplish this task will be greatly appriciated.
I would love to change the world, but they won't give me the source code.
|
|
|
|
|
You can't create multiple instances of a service with the same service name. This is because a registry key is created using the service name. The only way around this is to use a different service name for each instance (i.e. Service.1, Service.2, Service.3, etc.)
|
|
|
|
|
I want to retrive all the files in a directory of certian types (.bmp, .jpg, .gif) etc etc. But I seem to only be able to pass in a single filer to the functiond
filesInDirectory = Directory.GetFiles(PictureDirectory, "*.jpg");
Works fine but:
filesInDirectory = Directory.GetFiles(PictureDirectory, "*.jpg;*.bmp");
Does not work correctly at all, Is there any way to do this, without calling multiple times and joining arrays?
Also it seems to just return them in alphabetical order, is there anyway to return them in the way they are sorted/being viewed in Explorer?
Thanks!
|
|
|
|