Hi, Thank you for your answers that worked fine but there are a small problem When you create a C# project and create App_Code and add in it for example cscode & vbcode Classes you can call vb classes in cs classes but not the opposite, if you try to call cs classes in vb classes that not work. Why? i hope that not a problem :) another question: Can we apply it on windows form applications?? :-D Thanks Abdullah Abdelhay
Abdullah S Abdelhay
Posts
-
Merge between VB & C# [modified] -
Merge between VB & C# [modified]Hi, Thank you for your answers that worked fine but there are a small problem When you create a C# project and create App_Code and add in it for example cscode & vbcode Classes you can call vb classes in cs classes but not the opposite, if you try to call cs classes in vb classes that not work. Why? i hope that not a problem :) another question: Can we apply it on windows form applications?? :-D Thanks Abdullah Abdelhay
modified on Tuesday, October 12, 2010 6:35 AM
-
Merge between VB & C# [modified] -
Change .exe iconHi all, i'm using ASP.net C# Windows Forms to develope an application and i want to know how can i set icon for .exe file? not the icon that appear on taskbar after douple click on .exe file but i mean the icon for .exe file itself. i want to change the normal icon. Thanks Abdullah
-
Folder refrenceHi All, I need to change the folder path for example: (my folder is "C:\Test\" ) when click on this folder open the control panel or another folder How can i do that? I know this is a crazy question but i need to do that :-D Thanks Abdullah
-
DLL Decomplilehello all, i have a windows application program contains a dll and i need to decomplie this dll to modify some functions. can any one advice me how i can do it? please reply me quickly best regards Abdullah
-
XML AccordionHi All, I want accordion control binds by using xml file to using in website page. i'm using asp.net 2005, C# language. Please any one help me. Thank you Abdullah Abdelhay
-
Delete Value from CookieHello All, I want to delete value from cookie For Example: The Cookie name [myCooke] The Cookie Contains-------------------------------------------------------------------------------- myCookeLotID1=7amp;LotNo1=003462&LotName1=Lot 7&BuyPrice1=850&StockQuantity1=56 amp;amp;LotID2=5&LotNo2=003859&LotName2=Lot 3&BuyPrice2=154&StockQuantity2=2 localhost/1536149997862429993731246977484829981862* --------------------------------------------------------------------------------------------------- The question: How i can delete [LotName2=Lot 3] value from this cookie? please reply me quickly. Thank you Best Regards Abdullah S. Abdelhay
-
How to generate XML File from tableI have a table in database :
CREATE TABLE [LeftMenu] (
[NodeID] [int] NOT NULL ,
[ParentNodeID] [int] NULL ,
[FK_LangID] [int] NULL ,
[Text] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[lastlevel] [bit] NULL ,
[linkLevel] [bit] NULL ,
CONSTRAINT [PK_LeftMenu] PRIMARY KEY CLUSTERED
(
[NodeID]
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GOand i want to generate XML file from this table with relation between 'NodeID' column and 'ParentNodeID' to fill ASP.net 2 Menu Control or TreeView Control like this example:
<menu>
<sub NodeID="1" ParentNodeID="" Text="aaa" />
<sub NodeID="2" ParentNodeID="" Text="aaa" >
<sub NodeID="3" ParentNodeID="2" Text="aaa" >
<sub NodeID="20" ParentNodeID="3" Text="aaa" />
<sub NodeID="20" ParentNodeID="3" Text="aaa" />
</sub>
<sub NodeID="10" ParentNodeID="2" Text="aaa" />
<sub NodeID="12" ParentNodeID="2" Text="aaa" />
</sub>
<sub NodeID="4" ParentNodeID="" Text="aaa" />
<sub NodeID="5" ParentNodeID="" Text="aaa" />
<sub NodeID="6" ParentNodeID="" Text="aaa">
<sub NodeID="14" ParentNodeID="6" Text="aaa" />
</sub>
<sub NodeID="7" ParentNodeID="" Text="aaa" />
<sub NodeID="8" ParentNodeID="" Text="aaa" />
<sub NodeID="9" ParentNodeID="" Text="aaa" />
</menu>plz reply me. Thank you Abdullah Abdelhay