User Profile

Collapse

Profile Sidebar

Collapse
pavanpareta
pavanpareta
Last Activity: Jul 10 '09, 10:55 AM
Joined: Jun 30 '06
Location: India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Try this Code:.........

    Code:
            Dim ms As New MemoryStream
            Me.PictureBox1.Image.Save(ms, Me.PictureBox1.Image.RawFormat)
    
            Dim arrayImage() As Byte = ms.GetBuffer
            ms.Close() ' Closes the Memory Stream
    
            Dim nStr As String = Me.Label1.Text.Substring(Me.Label1.Text.LastIndexOf("\") + 1)
    
            Dim strQuery As String = "INSERT
    ...
    See more | Go to post

    Leave a comment:


  • pavanpareta
    replied to datatype in C#
    in .NET
    Data Types in C#

    Static variables
    Variable of instance
    Array's elements
    Parameters given by reference
    Parameters given by value
    Returned values
    Local variables.

    Static variables
    Static Variables will be alive throughout the life of a program. It can be declared using static modifier.

    Variable of instance
    An Instance variable is a variable...
    See more | Go to post

    Leave a comment:


  • pavanpareta
    started a topic what is the Factory Rule in .net
    in .NET

    what is the Factory Rule in .net

    Hi All

    Please Explain me what is the Factory Rule in .net ?

    with regards
    Pavan Pareta
    See more | Go to post

  • pavanpareta
    replied to create a DSN dynamically
    in .NET
    Code:
    <PRE lang=cs>public bool AddUserDSN(string DSName, string DBPath)
    {
      return SQLConfigDataSource((IntPtr)0, 1, 
         "Microsoft Access Driver (*.MDB)\0",
         "DSN=" + DSName + "\0Uid=Admin\0pwd=\0DBQ=" + DBPath + "\0");
    }</PRE>
    See more | Go to post

    Leave a comment:


  • first "Windows Control Library" and make code or fornt layer for control. and Build it and go your orignal project where u want to use this control in your project. Rright Click on The toolbox left site of the vs editor and and add/remove item and then u will get a pop windows like customiz toolbox Browse button will be there and add your dll file this is your contorl, and it will be displying on your toolbox down site now you can use it...
    See more | Go to post

    Leave a comment:


  • pavanpareta
    replied to Package VB.Net application
    in .NET
    write click on the solution in explorer & add project --> new project , then select a setup and Deploy.
    See more | Go to post

    Leave a comment:


  • pavanpareta
    replied to SQL SERVER Table to XML
    in .NET
    first fatch your data from the server in dataset and then wirite xml file this will be very importent work of the dataset in ADO.net. After wirite xml file u can read all records; or a perticuler records.

    Create a XML file to the dataset
    [HTML]
    ' Create a file name to write to.
    Dim filename As String = "myXmlUsers.xml "

    ' Create the FileStream to write with.
    ...
    See more | Go to post

    Leave a comment:


  • pavanpareta
    replied to how to get data in Html table
    in .NET
    put the html table and make it server site and get the code like data table.

    there is Cells and make it with your data from some where.
    See more | Go to post

    Leave a comment:


  • pavanpareta
    replied to system date.
    in .NET
    select * from where fldDOB='01/01/1980'

    select * from where fldDOB='getDate ()' in SQL Server


    then getting date in Vb.net there is Datediff() fucntion and use it.
    See more | Go to post

    Leave a comment:


  • pavanpareta
    replied to How can i add 'Day' to my webpage?
    in .NET
    at a run time u can use this Code definitely this will helpful for you.


    Dim dtDate As New DateTime(2006, 10, 25)
    Response.Write( dtDate.DayOfWee k.ToString())


    pavan.pareta@gm ail.com
    See more | Go to post

    Leave a comment:


  • pavanpareta
    replied to create a .dll file
    in .NET
    when you are Building your program that time create a .dll file in Bin folder of your programme.

    Pavan Pareta
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...