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
User Profile
Collapse
-
using codings to create controls
-
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? -
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 -
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?...Leave a comment:
-
I need to get the file size of the file name specified on the fileupload control...Leave a comment:
-
check file size
hello,
is there a command that returns the file size of a specific file as an integer -
ok thanks.. but is there anyway that i can restrict users to only upload image files with this control?...Leave a comment:
-
sorry, may i know where do i select the openfiledialog component from. I cannot find it from the toolbox...Leave a comment:
-
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 -
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?
thanksLast edited by jhardman; Jan 7 '08, 08:57 PM. Reason: Moved to .NET forum. ASP forum is for "classic" ASP only -
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... -
-
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... -
-
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...Leave a comment:
-
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...
...Leave a comment:
-
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.Leave a comment:
-
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)... -
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...
No activity results to display
Show More
Leave a comment: