User Profile

Collapse

Profile Sidebar

Collapse
Dexterous22
Dexterous22
Last Activity: Jun 13 '07, 11:24 AM
Joined: Jun 12 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Dexterous22
    replied to Updating an XML file
    in .NET
    that page doesn't load ...
    this is the error I get be .Net debugger :
    Compiler Error Message: CS0122: 'System.Web.UI. WebControls.But ton.OnClick(Sys tem.E ventArgs)' is inaccessible due to its protection level

    Line 44: void Page_Load()
    Line 45: {
    Line 46: XMLUpdateButton .OnClick += new EventHandler(on UpdateFn);
    Line 47:
    Line 48: }


    i attached it to...
    See more | Go to post

    Leave a comment:


  • Dexterous22
    replied to Updating an XML file
    in .NET
    that page doesn't load ...
    this is the error I get be .Net debugger :
    Compiler Error Message: CS0122: 'System.Web.UI. WebControls.But ton.OnClick(Sys tem.EventArgs)' is inaccessible due to its protection level

    thanks
    See more | Go to post

    Leave a comment:


  • Dexterous22
    replied to Call a function through a Button
    in .NET
    thanx.. but it really doesn't work
    all i get is errors :S .. with .Net debugger :

    Parser Error Message: Content ('</div>
    </form>') does not match any properties within a 'System.Web.UI. WebControls.But ton', make sure it is well-formed.

    Source Error:


    Line 36:
    Line 37:
    Line 38: <asp:Button ID="Button1" runat="server" Text="Button"...
    See more | Go to post

    Leave a comment:


  • Dexterous22
    replied to Updating an XML file
    in .NET
    thanks .. actully it didn't work ..but thanks anyway
    See more | Go to post

    Leave a comment:


  • Dexterous22
    replied to Call a function through a Button
    in .NET
    thanks but can you give an example ?
    my Function is : updatefun
    <input id="Button1" runat="server" type="button" onclick=updatef un()value="UPDA TE"/>

    isn't working .. i don't know how should the value be in ONCLICK
    please help
    See more | Go to post

    Leave a comment:


  • Dexterous22
    started a topic Call a function through a Button
    in .NET

    Call a function through a Button

    Can anyone tell me how to call a function through a button in Page Language="C#" not vb ..
    Please help .. I really need this
    thanks
    See more | Go to post

  • Dexterous22
    replied to Updating an XML file
    in .NET
    Thanks but I actully want to do this through web page ..
    I putted the code that updates an xml file in function :
    void updateclick(obj ect sender, System.EventArg s e)

    i just wanna know how can i call this function through a button ..
    See more | Go to post

    Leave a comment:


  • Dexterous22
    started a topic Updating an XML file
    in .NET

    Updating an XML file

    hey ..
    I can update update my XML File .. but every time i want to update it .. I must change in the code .. can't I change it through a form ? Text box .. and afterfinishing pressing a button .. ??
    this is my code : <script runat="server">

    void Page_Load(objec t sender, System.EventArg s e){
    if(!Page.IsPost Back){
    XmlDocument xmlDoc = new XmlDocument();
    xmlDoc.Load(Ser ver.MapPath("XM LFile.xml"));...
    See more | Go to post
No activity results to display
Show More
Working...