Hello,
I am using GridViewand bounding values from 2 tables. tbl_login and tbl_register.
In tbl_register Table the Field is UserName
In tbl_login Table the Field is Active(yes/no field)
I used this command to show the fields into the gridview.
SELECT tbl_createuser.UserName...
Encrypting and Decrypting Text, Saving and retrieving it from Database, Full Working Coding
Imports System.Security.Cryptography
Imports System.IO
Imports System.Data.OleDb
Partial Class _Default
Inherits System.Web.UI.Page
Private conn_str As String =...
Hi used the below coding for enrypting and decrypting a text. But with this i dont know how to save to a database, when i tried i am getting many errors. How to do this?
Private Sub cmdEncrypt_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
'...
Hello sir,
how to change this coding to vb.net coding?
Stream photoStream = PhotoUpload.PostedFile.InputStream;
int photoLength = PhotoUpload.PostedFile.ContentLength;
string photoMime = PhotoUpload.PostedFile.ContentType;
string photoName =...
Hello sir,
I am creating student attendance tracking system in asp.net.
With attendance i need to track students attendance every day and want to generate charts with those data.
Charts for Daily Attendance report, Weekly Report, and monthly Report.
For this how to design database in msaccess?
Hello sir,
In Datalist, the datas are bounded from Accessdatasource.
Accessdatasource contains StudentName field only.
I create itemtemplate field with checkbox.
Now When i click a button, the StudentName must be written for the checked one's from the checkboxes?
Thankyou
Hello,
How to get the full path from fileupload control browsing the path to it?
I want to get as this.
c:\Images\mine.jpg
I used this coding but this is working only in internet explorer, but not in mozilla, opera etc.
lbltext.Text = FileUpload1.PostedFile.FileName
Hello,
How to show a table on mouse over an hyperlink in asp.net?
Initially while page loads the table must be hidden, and when on mouse over it must be seen?
Hello,
I used the below coding to store an image into the database.
1.
lblImagePath.Text = ImageUpload.PostedFile.FileName
2.
ImageUpload.PostedFile.SaveAs(lblImagePath.Text)
3.
Dim mbytes() As Byte = System.IO.File.ReadAllBytes(lblImagePath.Text)
4.
Dim cn As...
Hello sir,
I am using 2 dropdownlist on my page.
Those 2 are bounded to AccessDataSource.
Initially dropdownlist2 is hidden.
Wen i select some values on dropdownlist1, the other must be visible.
Thankyou
Hello sir
Hello,
Thankyou for the reply. And i am very much interested in working as .NET programmer and would like to take up the interview.
Thankyou
Phone number removed, send it to them in a PM or email instead.
Hello,
I am using Visual Web Developer 2008.
I added CreateUserWizard on the form. In the CreateUserWizard Control, I want to add Captcha Control. And how can i do this?
Thankyou
this worked for me
Dim cmd As New OleDbCommand("select * from login where id= '"+txtUser.Text+"' and pass='"+txtPwd.Text+"'", conn)
dr = cmd.ExecuteReader
if(dr.HasRows)
Form2.Show()
Else
txtUser.Clear()
txtPwd.Clear()...
Hello,
I am using Visual Web Developer 2008.
I am using menu control binded to site map.
So when the user role is administrator, i want to remove the menu item from the menu.
I used the coding but not working.
If page.user.isinrole("Administrator") then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.