Search

You searched for the word(s): userid:740834

Matching Posts

  • Re: Question about website templates

    Hi, You can use any sort of html, xhtml, template designed in asp.net. best Regards Ali Sufyan
    Posted to Getting Started (Forum) by AliSufyanButt on 9/7/2009
  • Re: hi..........

    Hi , Well to make it simple and accessible by all users, place the object in application variable. Lets take an example of a hit counter, this is something, that should be modifyable and accessible by all users, make a variable Application["counter"]=0; in global.asax file. if you cannot see global.asax file in project files list then you can creat a new one from the menu, and in Application_Start method, add application variables. Similarly, you can place objects in Application variable
    Posted to Getting Started (Forum) by AliSufyanButt on 9/7/2009
  • Re: C# to VB conversion help.

    Hi Sir, Well as far as i see, you are evaluating a string, and then typecasting it in a object of class "News" and want to get the title object of the news. It is doable, but in different ways. You can do it like this Create a method in class getTitle(string News), which takes news as input and return the title then call the code from aspx as below <%#Server.HtmlEncode(News.getTitle(Eval("News")).ToString())%> This will do it. Other wise if you want to do it your way then
    Posted to Getting Started (Forum) by AliSufyanButt on 9/7/2009
  • Re: C# to VB conversion help.

    Hi Sir, Well as far as i see, you are evaluating a string, and then typecasting it in a object of class "News" and want to get the title object of the news. It is doable, but in different ways. You can do it like this Create a method in class getTitle(string News), which takes news as input and return the title then call the code from aspx as below <%#Server.HtmlEncode(News.getTitle(Eval("News")).ToString())%> This will do it. Other wise if you want to do it your way then
    Posted to Getting Started (Forum) by AliSufyanButt on 9/7/2009
  • Re: must declare a body because it is not marked abstract or extern

    private UserCredentials _UserCredentials; public UserCredentials UserCredentials { get { return _UserCredentials; } private set { _UserCredentials = value; } } Look auto implement properties are new in .net 3.0 onwards, so cannot use those in 2.0 framework. Use above code, that will work in asp.net 3.0 onwards you can declare properties like this, private UserCredentials _UserCredentials; public UserCredentials UserCredentials { get ; private set ; } The line above i crossed is also not required
    Posted to Getting Started (Forum) by AliSufyanButt on 9/7/2009
  • Re: Error saving XML file

    Hi, You are trying to save the xml document on Virutal path that is not allowed by security doc.Save(@"\\ServerName\FolderName\Form-" + uniqueName + ".xml"); try this doc.Save(Server.MapPath("") + @"/ServerName/FolderName/Form-" + uniqueName + ".xml"); I do hope this helps you Best Regards
    Posted to Getting Started (Forum) by AliSufyanButt on 9/7/2009
  • Re: wnt to convert variable nagative to Postive

    Hi, say X is the variable in which the hour time difference was and it is negative you can make a check like this if(X < 0) { X=X*-1; } this check will ensure that value is positive. i hope this helps best regards
    Posted to Getting Started (Forum) by AliSufyanButt on 9/7/2009
  • Re: Dynamic page layout

    Hey, Thousand ways to do it, Simplest way is to make user controls. Make seperate controls for news, and other web parts. This way there would be some abstraction in the controls. Now create seperate edit modules for the components to change there properties. say make a config xml file for each component in which store properties for that specific control, news in our case. Then from admin end make an interface to update that file properties. I hope this helps a bit Best Regards
    Posted to Getting Started (Forum) by AliSufyanButt on 9/7/2009
  • Re: Communication of two exe is possible in asp.net 3

    Yes you can by using .net remoting. Its similar to java RMI, any help required i am here
    Posted to Getting Started (Forum) by AliSufyanButt on 9/5/2009
Page 1 of 46 (451 items) 1 2 3 4 5 Next > ... Last »