User Profile

Collapse

Profile Sidebar

Collapse
jai80
jai80
Last Activity: May 12 '08, 06:16 AM
Joined: Nov 28 '06
Location: India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • to write the contents of web page to an XML file using c#,asp.net

    Hi Friends,

    Is it Possible to write the contents of a webpage to an XML file using c#.net.
    A sample code snippet will be of great help.

    Also, i want to know how to read only those contents, from a text file that begins with a particular string ex: <div class=std>...
    eg:

    .....
    ....
    <div class='std'>Hel lo</div>
    ....
    <div class='std'>hai </div>...
    See more | Go to post

  • jai80
    replied to vb.net CSV import into sql express 2005
    Hi,

    I am working in CSV file using asp.net. I came across the following problem and am stuck with it. can u assist me coz u have worked in the same grnd.

    this is the sample batch of records that i have in my csv file,

    1,'KS010','S',0 9,345
    2,'KS011','S',0 9,346
    3,'KS012','S',0 9,347
    4,'KS013','S',0 9,348
    01,'AS010','S', 09,345
    02,'AS011','S', 09,346
    07,'AS012','S', 09,347...
    See more | Go to post

    Leave a comment:


  • jai80
    started a topic Reading a CSV File...Urgent!!!!!!
    in .NET

    Reading a CSV File...Urgent!!!!!!

    Hi Frenz,

    Am working on CSV files. I am trying to read batch of records from a CSV file, which contains records in the following manner..

    Code:
    1,'KS010','S',09,345
    2,'KS011','S',09,346
    3,'KS012','S',09,347
    4,'KS013','S',09,348
    01,'AS010','S',09,345
    02,'AS011','S',09,346
    07,'AS012','S',09,347
    08,'AS013','S',09,348
    am trying to read the records...
    See more | Go to post

  • jai80
    replied to Find out last day of the month
    Hi,

    try this ...

    declare @year int,@month int
    declare @FirstDate datetime, @LastDate datetime
    declare @MonthDays int
    set @year=2006
    set @month=4
    set @FirstDate=conv ert(datetime, convert(varchar ,@month)+'/'+'01'+'/'+ convert(varchar ,@year) )
    set @MonthDays= DAY(DATEADD(d, -DAY(DATEADD(m,1 ,@FirstDate)),D ATEADD(m,1,@Fir stDate)))
    set @LastDate=datea dd(d,@MonthDays-1,@FirstDate)...
    See more | Go to post

    Leave a comment:


  • jai80
    started a topic XSL doubt!
    in XML

    XSL doubt!

    Hi Frenz,

    am working with xsl, and with a specific criteria, am trying to change the font color of the date value, as it can be seen from the code.
    Its a table with many rows. Instead of changing the color of the date value in that particular td of the table, i want to change the background color of tht td for tht date. please help me how to modify my code. its urgent.

    [html]<xsl:template match="//row"...
    See more | Go to post

  • Hi iburyak,

    Thanks for your help. Sorry for the late reply. i was also working on the code and got the desired output. Once again, thank you.

    Cheers,.
    jai...
    See more | Go to post

    Leave a comment:


  • to display all the dates in a choosen month and year

    Hi frenz,

    I want to display all the dates in a choosen month and year along with day name in a html table using javascript. or using c#. its urgent.

    Cheers,
    jai
    See more | Go to post

  • to generate all the dates for a given month and year..

    hi frenz,

    I want to display all the dates and day of the given year and month.
    For ex; if i choose 2007 and select the month January, i want to generate all the dates for this selection
    1/1/2007
    2/1/2007
    ....
    ...
    ..
    31/1/2007,
    and the day name (monday,tuesday ...) for all the generated dates. Also, need to check for the leapyear, and generate the dates accordingly. Pls provide...
    See more | Go to post

  • hi frenz,

    in continuation with my previous posting,...

    b'coz in a web application, http being a stateless protocol, invoking the methods written in another form is not possible !!?. so class file can be used for this purpose. Correct me if am wrong.

    Cheers,
    jai
    See more | Go to post

    Leave a comment:


  • Error,unable to invoke the methods of one WebForm within another in VS2005

    hi frenz,

    I'm working in VisualStudio 2005 and am trying to create an instance of a WebForm2 within WebForm1, to call the methods of WebForm2. I was able to do the same stuff in VS2003. but in VS2005am stuck.

    using(default1 obj=new default1)
    {
    obj.method1();
    ......
    }

    I'm getting the following error,
    default1 is not found in this context

    Pls, i need...
    See more | Go to post

  • jai80
    started a topic Problem using Microsoft.XMLHTTP

    Problem using Microsoft.XMLHTTP

    Hi frenz,

    I have developed the asp code for extracting the contents from a web page(the page the user is redirected after his credentials are authenticated). I have used Microsoft.XMLHT TP. I have tried the same code in a different machine and am able to get the right output, but while trying in my machine, am not able to get the correct output. i'm using asp1.1 version, IE6. and this is the same configuration in the other system, wherein...
    See more | Go to post

  • Problem in Extracting the contents of a web page.(asp.net/c#)

    hi frenz,

    I have been assigned the task of extrating web page content in asp.net(c#). I have developed a windows application(c#) , which takes the url of the web page as input,and i am able to retrieve the web page contents successfully. but i want to know, how to extract the contents of the page, the user is redirected after logging in.
    for ex: say the user has logged in to one of the job search portals, after logging in he...
    See more | Go to post

  • Problem viewing ASP pages in Firefox browser....

    hi frenz,

    I have developed ASP pages with VB Script and for client side validation purpose i have used JavaScript. I have uploaded my pages and when working on the pages using IE6, its working fine. Whereas when the same pages are accessed and viewed in Firefox,it odesnt seem to work properly. For instance, while viewing the pages in IE, a particular field displays the data from the database and it doesnt get truncated. But if the...
    See more | Go to post

  • jai80
    started a topic Multiuser environment problems

    Multiuser environment problems

    Hi Frenz,

    I want to know about working in a Multi user environment in ASP. If more than one user logins in to my site and works with the pages, during updating work, problem occurs. Is this referred to as Concurrency problem? I want to know how to avoid concurrency issues. Moreover, can the issue be handled both at database level and in application(ASP/ASP.Net). Please guide me. Thanks in advance for the support.

    Cheers,...
    See more | Go to post

  • jai80
    started a topic sending email from SQL Server 2000

    sending email from SQL Server 2000

    hi frenz,

    I would like to know how to create a stored procedure in sql server 2000, to send email, to the set of emailids that are stored in a table. Its urgent. Any kindaa help is really appreciated and thanks in advance.

    Cheers,
    jai
    See more | Go to post

  • jai80
    replied to price formatting
    hi andreas,

    Try this :
    Code:
    declare @a varchar(10)
    declare @b varchar(10)
    set @a= convert(varchar(10),1.1490)
    set @b=Replace(@a,'.','')
    select left(@b,4)
    Let me know if this has solved your problem. Gud Luck!

    Cheers,
    jai...
    See more | Go to post

    Leave a comment:


  • jai80
    replied to ASP doubt
    Hi frenz,

    In continuation to my latest submission of my asp doubt today, i wanted to update the group, that i have solved the problem.

    I take this opportunity to extend my appreciation and sincere thanks to all the group members for solving the doubts of other members in various platforms, for the timely help and for keeping the group updated with latest infoz in IT.
    Gud Work & Best Wishes!
    ...
    See more | Go to post

    Leave a comment:


  • jai80
    started a topic ASP doubt

    ASP doubt

    hi frenz,

    I have created an asp page to display data from a table in my database(sql server). I have a problem here, I want to display those records satisfying the condition in my where clause, where-in,two columns of the table will not have value for certain records. Now, i dont want to show those two column headings in my asp page, only for those records which doesnot have value for those two columns, but the rest of the data should...
    See more | Go to post

  • jai80
    replied to stored procedures
    hi there,

    CREATE Procedure Sp_InserCustome rDetails
    @Custname varchar (20)
    as
    declare
    @Result int,
    @count int,
    @CustId varchar (20)

    select @count=count(su browid)+1 from TblCustomers
    set @CustId='CN'+RI GHT(CONVERT(var char(10),@count ),1)

    IF EXISTS ( SELECT CustId FROM TblCustomers...
    See more | Go to post

    Leave a comment:


  • hi Arielle,

    if you are using sql server2000 for backend activities, it accepts all the special characters while inserting a record,except for ' single quotes. You would have noticed that it throws errors, when we try to insert something like this:

    eg:
    insert into <tablename> values(val1,val 2,'the student's of csc dept have scored the highest')

    unclosed quotation mark before the character string......
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...