thanks for ur answer but anyway if i use like this ie interface.[gettype]() it shows an error that gettype is not a member of interface.
nibinki333
Posts
-
GetType() is not working with interace -
GetType() is not working with interacepls help me its urgent i m facing a problem with my vb.net code this is the code equivalent in c# this is a interface........ ............................................................................................................... namespace x {. public interface ISection { string UserControl { get; } string SectionId { get; } bool Delete(); void SaveData(); List Search(string searchString, WebPage page); } ................................................................................................................ and in another class file this interface 'isection' is used like this namespace x { public class Sidebar ................................... ............... public static bool GetSectionRss(XmlWriter rss, ISection section, string pageId, string TitlePrefix) { if (section != null) { ChannelData SectionChannel = ((ISidebarObject)section).GetSidebarRss(pageId); string TypeName = section.GetType().ToString(); ............................................................... ............................................ }}} it is working in C# but when i chane the code into vb.net i m getting a error message in dim TypeName as string =section.[gettype]().Tostring() i tried to use dim TypeName as string =section.gettype() but i cannot type like it later i know that type of a interface cannot getthrough GetType() but i want to get the type of that interface................ pls help me ,tell me another method for it. thanks in advance.....................
-
tinymce in asp.net using vbhai i want to how to add tinymce to my asp.net website in vb.pls help me . i already downloaded the tinymce package. thanks in advance
-
tabcontrol is possible in asp, its urgentis there any other similar kind of controls
-
tabcontrol is possible in asp, its urgenthai i m doing a project in cms, now i need to use tabcontrol(vb.net) in asp.but i didn't find tab control in the toolbox in asp.is there any other way to use that or any other controls that works similar to that of tabcontrol pls help me its urgent. i need valuable comments abt cms from u people i m a new one in asp
-
how to get pdf files from the asphai friends i wanna convert some datas from an asp file to the pdf format how can i do that. thanx in advance
-
textbox in a datalist got the value from database....does not able to change the texthai i think that text box is in readonly mode or it will be diasbled pls check the properties of that textbox
-
CSS Styles for drop down lists not working with IEhai i think it is the problem of IE 7 i have also faced this problem so use earlier version
-
Host Websitehai install internet information service(iis) in your pc.it can be done by using ur xp cd.after that create a virtual directory in iis(right click on mycomputer-manage -services then take iis-default web site-tasks-create virtual directory) name it xxx and link it with ur root directory of ur website. place ur website in intepub(it will be created when u install iis) and place it in wwwroot folder and then using IE type address localhost/xxx
-
smtp mail sending is failedhai thank you for reply i would like to know how i can give access right to iis
-
smtp mail sending is failedhai frnds i have a issue regarding my webproject .i coded a smtp mail server along with options to attach images . the uploaded images are stored in a folder in web directory. while running in vb 2008 it works but while running in iis while attaching the images a message reporting that you have no access right to upload into the folder.i try to change the access right of that folder but its not working i m using iis 5.1 and vb 2008 and IE 5 pls help me
-
how to run asp.net web application on local IIS server after deployment,please anyone can explain with examplehai i have another options check this out. create a virtual directory in iis and named that directory xxxx and include the directory of ur webproject which is not precomplied, and set the default page in the properties also check the connection string.after that in the internet explorer type this address http://localhost/xxxx u will get ur pages
-
want to create a cms in asphai i m interested in creating a CMS in asp.net for my main project anybody will tell me how to do it or any TIPS.