|
No..
I did not get the clue how to solve this problem....
--Naina Still Debugging the past?..I have already coded the future..
|
|
|
|
|
You are trying to release only the excel object. Whcih actually houses the workbook object which again houses the sheet objects.
Just by releasing the excel object the other object may not be releases and the excel object remains in the memory.
If you can have a look in this article by antony100
(http://www.codeproject.com/KB/office/ReleaseExcelObject.aspx)
He is calling the Marshal.ReleaseComObject(Reference); against workbooks then against the excel object.
You will need to do the same to get the excel disposed from the mem.
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
<asp:hyperlinkcolumn>
HeaderText="Employee ID"
DataNavigateUrlField="EmployeeID"
DataNavigateUrlFormatString="./thispage.aspx?EmployeeID={0}"
DataTextField="EmployeeID"
Target="_self"
/>
if i know the name replay to me
|
|
|
|
|
You ought to be more clear with your query to get a quicker and faster resilent response.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
<asp:buttonfield buttontype="Link" commandname="Click" headertext="TT Number" datatextfield="tickno" controlstyle-font-underline="false">
when i click a link Button,particular text -->how to pass ?
in grid view..if u konw the code replay to me..
|
|
|
|
|
What you are looking is not clear
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
<asp:gridview id="GridView1" runat="server" onrowcommand="GridView1_RowCommand" autogeneratecolumns="false" datakeynames="tickno">
<columns>
<asp:buttonfield buttontype="Link" commandname="Click" headertext="TT Number" datatextfield="tickno" controlstyle-font-underline="false">
----> this button display my table field but when i click this button
how to be get that field date.it is clear.....
<asp:boundfield datafield="tickno" headertext="TT Number" sortexpression="TT Number" visible="false">
<headerstyle forecolor="#022602">
|
|
|
|
|
You can store the value in a Session variable if you are working with web application.
|
|
|
|
|
I am trying to do it with des algorithm, but while decrypting that encrypted string correpting. If any on have any examples please post here it is very urgent
Thanks and Regards,
sudhakar venati,
Mob: 0 984 55 989 71.
|
|
|
|
|
Hey Guys!
I downloaded the source code to Paint.Net by Rick Brewster. While browsing the code, I noticed that some the classes are being passed by Type. The method that accepts the type then must cast it into a physical class. Here's an example:
private void SetPage(Type pageType)
{
ConstructorInfo ci = pageType.GetConstructor(Type.EmptyTypes);
object obj = ci.Invoke(new object[0]);
WizardPage page = (WizardPage)obj;
...
If this method more efficient, I'll be making some changes to my code. Can anybody give the scoop on this?
Thanks,
Richard
If you could rent a programmer a hour and a half for a dollar and a half, how much would he charge for 10 hours?
|
|
|
|
|
That is not casting or passing objects.
That is a factory method.
They pass the type and the method _creates a new object_ of the type.
|
|
|
|
|
Only the type of the class is being passed. C# objects are always passed by ref, and intrinsic types by value.
Cheers,
Vikram.
If the radiance of a thousand suns
Were to burst at once into the sky
That would be like the splendor of the Mighty one—
I am become Death,
The shatterer of Worlds.
|
|
|
|
|
Hi friends.
I have one datagridview which has one column contain combobox's (dropdown)
this code gets executed at form load
-----------------
ComboBoxCol = new DataGridViewComboBoxColumn();
ComboBoxCol.HeaderText = "SortOrder";
ViewInformationDvg.Columns.Add(ComboBoxCol);
-----------------
there are other column also.
My requirement is that i want to insert some integer number in combobox that is number of row in datagridview.
For example if first row inserted then value in comboboxx is 1
when second row inserted then value of combobox is 1,2
when third row inserted then value of combobox is 1,2,3
and so on ( rows are inserted at run time by clicking on some button)
and i want updated value of combobox to be reflected in all rows..
Hope you got my problem.
Thanks lot
Avtar.
|
|
|
|
|
As ComboBox is a control, you shoudl have Attributes property there. Add row number as an attribute.
Sincerely,
Elina
Life is great!!!
Enjoy every moment of it!
|
|
|
|
|
Hello friends,
I am developing a windows application in C#.NET in my application there is a panel control that contains some labels i want to print that panel control along with other controls in a image format..
How can i do that????
Thanks
Dikshant
|
|
|
|
|
See this[^] article.
/ravi
|
|
|
|
|
Depending on what your "other" controls are, I would say that the easiest way would be to reference the control's properties: .BackColor, .ForeColor, .Text, etc. You will need to create a Bitmap to draw to and a Graphics object to do the drawing.
Creating a short scenario is very helpful in getting your questions answered. If what I've described above sounds good, give me a scenario and I might can post some code for you.
Cheers!
Richard
If you could rent a programmer a hour and a half for a dollar and a half, how much would he charge for 10 hours?
|
|
|
|
|
|
Hi,
Kindly help me that, How may I retrieve Hard Disk Serial number?
Thank you in advance
(Riaz)
|
|
|
|
|
See this[^] article.
/ravi
|
|
|
|
|
Thank you Mr. Ravi
------------------
You have provided me good help. where I can find more hardware informations. but there is still missing my Hard Disk serial number information.
(Riaz)
|
|
|
|
|
Hi,
I am working with a VS2005 windows application. There are some text boxes that are used for entering decimal numbers.
If user enter -1234567.8, I want to reformat it as -1,234,567.80
How can I do it, I tried to use MaskText box but could
Thanks you!
Harsh
jayasshc
|
|
|
|
|
You can use string.Format to format a number, or you can overload the textbox itself to give you the format you want, by handling events when the text changes, and reformating it. You're better off formating it when the focus leaves the textbox tho
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Could you please give me an example?
Thanks!
jayasshc
|
|
|
|
|
Hi,
I got it, could find a good example.
Thank you very much!
Harsh
jayasshc
|
|
|
|