User Profile

Collapse

Profile Sidebar

Collapse
gyap88
gyap88
Last Activity: Feb 14 '08, 02:16 PM
Joined: Jul 3 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • gyap88
    started a topic using codings to create controls
    in .NET

    using codings to create controls

    Hello everyone,
    is there a way where you can create web controls instead of placing them on the designer using codings in visual studio 2005
    See more | Go to post

  • gyap88
    replied to Password encyption
    in .NET
    Sorry the link is invalid.....
    See more | Go to post

    Leave a comment:


  • gyap88
    started a topic Password encyption
    in .NET

    Password encyption

    Hi everyone, I m using visual studio 2005 and microsoft sql server to build my project.

    My website consist of a registration page. I m interested to know how to save the text in the password field in a encrypted form in the mssql database.
    What will be the appropriate data type of the column in the database?
    See more | Go to post

  • gyap88
    started a topic Restricting of characters
    in .NET

    Restricting of characters

    Hello everyone, i m using visual studio 2005(vb) to code my project.

    I have a string derived from a textbox. I want to ensure that every characters within this string is either an alphabet, number ,underscore( _ ). That means that the string should not contains any space or other irrelevant character. If this happens a messagebox will appear and a warning is given
    See more | Go to post

  • gyap88
    replied to check file size
    in .NET
    Thanks for your help.. Another question i would like to ask is how to restrict users from selecting only image file types using the fileupload control?...
    See more | Go to post

    Leave a comment:


  • gyap88
    replied to check file size
    in .NET
    I need to get the file size of the file name specified on the fileupload control...
    See more | Go to post

    Leave a comment:


  • gyap88
    started a topic check file size
    in .NET

    check file size

    hello,
    is there a command that returns the file size of a specific file as an integer
    See more | Go to post

  • gyap88
    replied to Openfiledialog - ASP.NET - VB
    in .NET
    ok thanks.. but is there anyway that i can restrict users to only upload image files with this control?...
    See more | Go to post

    Leave a comment:


  • gyap88
    replied to openfiledialog
    in .NET
    sorry, may i know where do i select the openfiledialog component from. I cannot find it from the toolbox...
    See more | Go to post

    Leave a comment:


  • gyap88
    started a topic openfiledialog
    in .NET

    openfiledialog

    hello everyone, i am using micrsoft visual studio for my project. i m coding my project in visual basic language.

    I need help in opening an openfiledialog. what are the appropriate declarations before i can dim something as new openfiledialog?

    thanks
    See more | Go to post

  • gyap88
    started a topic Openfiledialog - ASP.NET - VB
    in .NET

    Openfiledialog - ASP.NET - VB

    hello everyone, i am using micrsoft visual studio for my project. i m coding my project in visual basic language.

    I need help in opening an openfiledialog. what are the appropriate declarations before i can dim something as new openfiledialog?

    thanks
    See more | Go to post
    Last edited by jhardman; Jan 7 '08, 08:57 PM. Reason: Moved to .NET forum. ASP forum is for "classic" ASP only

  • gyap88
    started a topic database saving

    database saving

    I'm using VB 2005 to create a simple application where authorised users can edit the database. Firstly, the database will be imported into a datatable and into a datagrid.

    [CODE=vbnet]Public Class Databaseupdatti ng
    Dim dt As New DataTable()

    Private Sub Form1_Load(ByVa l sender As System.Object, ByVal e As System.EventArg s) Handles MyBase.Load
    dt.Clear()
    Dim SQLCon As New SqlClient.SqlCo nnection("Data...
    See more | Go to post
    Last edited by Killer42; Nov 30 '07, 01:14 AM. Reason: Added CODE=vbnet tags

  • gyap88
    replied to Save changes to database using datagrid
    in .NET
    How do i convert my datatable to a dataset?
    See more | Go to post

    Leave a comment:


  • gyap88
    started a topic Sort datatable

    Sort datatable

    Can someone add a statement to these few lines of code to help me sort the datatable in alphabetic order, taking the column "Sequence" as reference
    [CODE=vb]
    Dim dt As New DataTable()
    Dim SQLCon As New SqlClient.SqlCo nnection("Data Source=BICU111A A\SQLEXPRESS;In itial Catalog=Protein Database;Integr ated Security=True")
    SQLCon.Open()
    Dim SQLCom As New SqlClient.SqlCo mmand("SELECT...
    See more | Go to post
    Last edited by debasisdas; Nov 19 '07, 11:23 AM. Reason: Formatted using code=vb tags

  • gyap88
    replied to Save changes to database using datagrid
    in .NET
    I m developing a desktop application
    See more | Go to post

    Leave a comment:


  • gyap88
    replied to Save changes to database using datagrid
    in .NET
    hello, i have the code to the following:
    [code=vbnet]
    Private Sub Button2_Click(B yVal sender As System.Object, ByVal e As System.EventArg s) Handles Button2.Click
    Dim changes As Integer
    Dim SQLCon As New SqlClient.SqlCo nnection("Data Source=TP-TM3282WXMI\SQLE XPRESS;Initial Catalog=Protein Database;Integr ated Security=True;P ooling=False")
    SQLCon.Open()
    Dim DataAdapter...
    See more | Go to post
    Last edited by Frinavale; Nov 18 '07, 08:51 PM. Reason: Added [Code] Tags

    Leave a comment:


  • gyap88
    replied to Save changes to database using datagrid
    in .NET
    The error message is Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information and it points to the line "changes=DataAd apter.Update(dt )"

    The variable, dt is a datatable that i declared in the beginning of the program.

    Lastly, i need to the program to return the number of rows that has changed after the database is saved...
    ...
    See more | Go to post

    Leave a comment:


  • gyap88
    replied to Save changes to database using datagrid
    in .NET
    The error message is Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information and it points to the line "changes=DataAd apter.Update(dt )"

    anyway, the variable, dt is a datatable that i declared in the beginning of the program.
    See more | Go to post

    Leave a comment:


  • gyap88
    started a topic Save changes to database using datagrid
    in .NET

    Save changes to database using datagrid

    Hello i m using vb 2005 express to do my project. I m suppose to create a datagrid to allow user to make changes to the database. The program display the database in a datagrid where users can juz make changes there. I encountered a problem when user are trying save changes. The following code is executed when the save button is click:


    [code=vbnet]
    Private Sub Save_Click(ByVa l sender As System.Object, ByVal e As System.EventArg s)...
    See more | Go to post
    Last edited by debasisdas; Nov 16 '07, 07:52 AM. Reason: Formatted using code=vbnet tags.

  • gyap88
    started a topic Problem with label visibility

    Problem with label visibility

    [CODE=vbnet]Private Sub Button2_Click(B yVal sender As System.Object, ByVal e As System.EventArg s) Handles Button2.Click
    Label2.Visible = True
    For h As Integer = 0 To 1000
    TextBox1.Append Text(dt.Rows(h) ("AccessionN o") & vbCrLf)
    Next
    Label2.Visible = False
    Label3.Visible = True[/CODE]

    Hi, I'm currently using VB 2005 Express Edition, and I encounter this problem in...
    See more | Go to post
    Last edited by Killer42; Oct 17 '07, 10:26 PM. Reason: Added CODE=vbnet tag
No activity results to display
Show More
Working...