User Profile

Collapse

Profile Sidebar

Collapse
querry
querry
Last Activity: Oct 7 '08, 10:36 AM
Joined: Feb 28 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • querry
    started a topic COleSafeArray Equivalent in VC++ .NET??
    in .NET

    COleSafeArray Equivalent in VC++ .NET??

    Hi all,

    I am porting a MFC application to VC++ .NET. I came across COleSafeArray. I need a equivalent of the class in .NET. Please help me.

    Thanks a lot.
    See more | Go to post

  • managed type or function cannot be used in unmanaged function

    Hi all,
    I have someting like this...

    xyz.h

    Code:
    #using   <mscorlib.dll>
    #include <vcclr.h>
    
    using namespace std;
    
    using namespace System;
    using namespace System::Data;
    using namespace System::Data::OleDb;
    using namespace System::Data::SqlClient;
    using namespace System::Runtime::InteropServices;
    
    #pragma unmanaged
    ...
    See more | Go to post

  • querry
    started a topic Windows Form Application Using Umanaged code??
    in .NET

    Windows Form Application Using Umanaged code??

    Hi all,
    I am developing a Windows form Application in VC++.NET using the Visual Studio 2005 installed on Windows Server 2003. The UI part of the project is almost complete. I am now looking forward to implement the core functionality of the project. This project was originally written in MFC. I do not know much about MFC and I have not programmed in MFC. I want to use the exesting MFC implemented functionality in my Windows Form Application....
    See more | Go to post

  • Thanks misza,

    I will try that out. Thanks a lot.
    See more | Go to post

    Leave a comment:


  • Question about managed and unmanaged codes in VC++.NET

    Hi all,

    I am developing a Windows Form Application in VC++. I am using using Visual Studio 2005. My project requires me to use the Boost Libraries [for more info visit www.boost.org] These boost libraries are unmanaged code, where as my application itself is managed code. I have a seperae set of unmanaged classes doing the bulk of the work. Now I want to use these classes form the managed class of my application.

    Let...
    See more | Go to post

  • querry
    started a topic Adding a Hyperlink Column to the GridView.
    in .NET

    Adding a Hyperlink Column to the GridView.

    Hi all I have a requirement wherein I want to dynamically populate the GridView columns. I have figured out a way to do that. It is as follows

    Code:
    SqlConnection con = new SqlConnection(connectionstring);
    SqlCommand cmd = new SqlCommand(strCmd, con);
    SqlDataAdapter da = new SqlDataAdapter(cmd);
    DataSet ds = new DataSet();
    DataTable dt = new DataTable();
    gv.Columns.Clear();
    DataView dv = dt.DefaultView;
    ...
    See more | Go to post
    Last edited by jhardman; Dec 19 '07, 07:10 PM. Reason: move to .NET forum - ASP forum is for "classic" ASP

  • Update the values in a SQL Server Databse coulmn of type XML.

    Hi all,

    I am developing a web application where I save a XML file into a SQL Server 2000 database. I do not face any problems in storing to xml file to the database. However, when a updated version of the same xml file is to be stored into the database I cannot do so.

    Basically what I am trying to do is check the database for a perticular record. Then if the record is not present I use the INSERT statement to create...
    See more | Go to post

  • querry
    replied to Multiple XML files... one output.
    in XML
    Thanks a lot jkmyoung. This works perfectly. The second code snippet was what I was looking for.
    See more | Go to post

    Leave a comment:


  • querry
    replied to Multiple XML files... one output.
    in XML
    Hi all,

    After waiting for long I decided to modify the question.

    I want to use the document() function of the xslt to pull up a particular value of a attribute form a external xml document and assign the value to a attribute in the document being transformed.

    How can I do that??

    XML Document Under Transformation:

    Code:
    <Tag1>
             <Tag2>
    ...
    See more | Go to post

    Leave a comment:


  • querry
    replied to Multiple XML files... one output.
    in XML
    hi jkmyoung,

    Thanks for your reply.

    I read the article you referred me to. I understand that the document() Function needs a XML file to be present on the Disk. I am pulling out the XML files from the database I use the 'XPathDocument' which provides a fast, forward-only, in-memory representation of the XML document.

    How do I work around this?? I mean I can't and I don't want to save the pulled up XML...
    See more | Go to post

    Leave a comment:


  • querry
    started a topic Multiple XML files... one output.
    in XML

    Multiple XML files... one output.

    Hi all, I hve a requirement wherein I have two XML files to be used as input to a XSLT transformation Style sheet. One of the XML files is used as a Template and te other is used as a data. As an example the below files can be used

    template.xml
    Code:
    <?xml version="1.0" encoding="utf-8"?>
       <Table>
                <TR>
                       <TD/>
    ...
    See more | Go to post

  • querry
    replied to ModalPopupExtender problem...
    Hi all,

    Just refer this and this .

    Cheers :)
    See more | Go to post

    Leave a comment:


  • querry
    started a topic ModalPopupExtender problem...

    ModalPopupExtender problem...

    Hi all,

    I am using the ASP.NET AJAX Toolkit form http://asp.net/ajax

    It has something called ModalPopupExten der to create a popup. You can view the live demo at http://asp.net/AJAX/Control-Toolkit/...odalPopup.aspx

    This extender takes the ID of a control as the value of the "TargetControlI D" attribute.

    Code:
    <ajaxToolkit:ModalPopupExtender ID="MPE" runat="server"
    ...
    See more | Go to post

  • querry
    replied to Getting started with AJAX and C#
    Ok, let me explain more....

    I am working on a web application which will be able to create forms. These forms will be stored in the XML form, in a database (MSSQL). Another web application will be able to access these XML forms and then recreate them from the XML files using the xsl files. To arrange the controls I need to place them in table cells. My xml forms will look something like this.

    Code:
    <form>
    ...
    See more | Go to post

    Leave a comment:


  • querry
    replied to Getting started with AJAX and C#
    Sorry to be late....

    Ok, I found out the solution but I am not sure that it is the right way to handle the problem. What I am doing is simple. I create a XML file at the first visit of the page in the Page load event after checking the IsPostback flag. If it is not a postback then I create a XML file. I save it to disk. In the event handler for the "Add Row" button I add the new controls to the table and make relevent tag...
    See more | Go to post

    Leave a comment:


  • querry
    replied to Getting started with AJAX and C#
    Hi dmjpro and pdmods,

    For dmjpro:
    I am using the ASP.NET AJAX free library http://www.asp.net/ ]. I have two update panels.
    In one update panel 1 I have, a textbox and a button. In update pannel 2 I have a ASP:Table. with no rows and cells.

    What I want to do....
    I want to add a TableRow and a TableCell with certain text taken from the textbox in the Update Panel 1 to the Table when the button is...
    See more | Go to post

    Leave a comment:


  • querry
    started a topic Getting started with AJAX and C#

    Getting started with AJAX and C#

    Hi all I am new to AJAX. I am developing web application in ASP.NET C#. Please could any of you tell me how I am to go about using ajax for getting certain server values using the javascript. Please suggest articles that suite this scenario.

    Many thanks.
    See more | Go to post

  • Get &quot;TDs&qu ot; of specific table only??

    Hi all,

    I am trying to change the background color of individual Table Cells using the javascript as follows.

    Code:
    function changecolor(e)
    {
      var etarg; 
      if (!ee) var ee = window.event;  
      if (ee.target) etarg = ee.target;  
      else if (ee.srcElement) etarg = ee.srcElement;  
      var etds = document.getElementsByTagName('TD');
    ...
    See more | Go to post

    Leave a comment:


  • querry
    started a topic How to get the "TDs" of a specific table??

    How to get the "TDs" of a specific table??

    Hi all,

    I am trying to change the background color of individual Table Cells using the javascript as follows.

    Code:
    function changecolor(e)
    {
      var etarg; 
      if (!ee) var ee = window.event;  
      if (ee.target) etarg = ee.target;  
      else if (ee.srcElement) etarg = ee.srcElement;  
      var etds = document.getElementsByTagName('TD');  
      for(var i=0; i<etds.length; i++)
    ...
    See more | Go to post

  • querry
    replied to how do I find out the namespace of a node??
    in XML
    My Problem was this... (go to the last post on this page http://www.thescripts.com/forum/thread648612.html)


    I tried this and it worked

    [HTML]
    <?xml version="1.0" encoding="utf-8"?>

    <xsl:styleshe et version="1.0" xmlns:xsl="http ://www.w3.org/1999/XSL/Transform"
    xmlns:ns1="http ://something.com/ns1">
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...