Click here to Skip to main content
15,885,914 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Login failed for user 'NIT\ASPNET'. Pin
Colin Angus Mackay18-Feb-07 22:30
Colin Angus Mackay18-Feb-07 22:30 
GeneralRe: Login failed for user 'NIT\ASPNET'. Pin
Nitin198119-Feb-07 6:27
Nitin198119-Feb-07 6:27 
GeneralRe: Login failed for user 'NIT\ASPNET'. Pin
Nitin198119-Feb-07 7:22
Nitin198119-Feb-07 7:22 
GeneralRe: Login failed for user 'NIT\ASPNET'. Pin
Colin Angus Mackay21-Feb-07 14:02
Colin Angus Mackay21-Feb-07 14:02 
QuestionUpdating data from a gridview in code Pin
bayo18-Feb-07 5:39
bayo18-Feb-07 5:39 
QuestionDatabase. Pin
v45030518-Feb-07 5:18
v45030518-Feb-07 5:18 
AnswerRe: Database. Pin
bayo18-Feb-07 5:30
bayo18-Feb-07 5:30 
GeneralRe: Database. Pin
v45030518-Feb-07 6:22
v45030518-Feb-07 6:22 
hi dear
I was trying to use following code ..but it is not working properly.

Imports System.Data.OleDb
Public Class Form1 Inherits System.Windows.Forms.Form
Dim cn As OleDbConnection
Dim cmd As OleDbCommand
Dim dr As OleDbDataReader
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e as _
System.EventArgs) Handles MyBase.Load
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As_
System.EventArgs) Handles Button1.Click
Try
cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;_
Data Source=C:\emp.mdb;")
'provider to be used when working with access database
cn.Open()
cmd = New OleDbCommand("select * from table1", cn)
dr = cmd.ExecuteReader
While dr.Read()
TextBox1.Text = dr(0)
TextBox2.Text = dr(1)
TextBox3.Text = dr(2)
' loading data into TextBoxes by column index
End While
Catch
End Try
dr.Close()
cn.Close()
End Sub
End Class

regards
adil
GeneralRe: Database. Pin
Guffa18-Feb-07 6:40
Guffa18-Feb-07 6:40 
GeneralRe: Database. Pin
bayo18-Feb-07 7:50
bayo18-Feb-07 7:50 
QuestionGoing hell with datagrid Pin
www.Developerof.NET18-Feb-07 4:22
www.Developerof.NET18-Feb-07 4:22 
AnswerRe: Going hell with datagrid Pin
Sylvester george18-Feb-07 20:03
Sylvester george18-Feb-07 20:03 
Questionhow can i build a search engine with c#.net Pin
shawn41418-Feb-07 4:20
shawn41418-Feb-07 4:20 
AnswerRe: how can i build a search engine with c#.net Pin
Colin Angus Mackay18-Feb-07 4:41
Colin Angus Mackay18-Feb-07 4:41 
AnswerRe: how can i build a search engine with c#.net Pin
GaryWoodfine 18-Feb-07 12:22
professionalGaryWoodfine 18-Feb-07 12:22 
QuestionSMTP - Trouble sending message in ASP.Net but not as a C# application on my machine? Pin
hetrobezz17-Feb-07 23:13
hetrobezz17-Feb-07 23:13 
AnswerRe: SMTP - Trouble sending message in ASP.Net but not as a C# application on my machine? Pin
badgrs18-Feb-07 0:51
badgrs18-Feb-07 0:51 
Questioncrystal report viewing problem Pin
jabbarsb17-Feb-07 19:46
jabbarsb17-Feb-07 19:46 
QuestionAJAX or ASP for Dynamic web form creation? Pin
jrshack17-Feb-07 17:44
jrshack17-Feb-07 17:44 
AnswerRe: AJAX or ASP for Dynamic web form creation? Pin
badgrs18-Feb-07 0:49
badgrs18-Feb-07 0:49 
GeneralRe: AJAX or ASP for Dynamic web form creation? Pin
jrshack18-Feb-07 6:33
jrshack18-Feb-07 6:33 
Questionlistitem tablecell width Pin
loupceuxl17-Feb-07 16:34
loupceuxl17-Feb-07 16:34 
QuestionWorking With Word Template From ASP.NET and VB.NET [modified] Pin
Haribabu Krishnamurthy17-Feb-07 7:55
Haribabu Krishnamurthy17-Feb-07 7:55 
JokeRe: Working With Word Template From ASP.NET and VB.NET Pin
Not Active18-Feb-07 3:57
mentorNot Active18-Feb-07 3:57 
QuestionSending mail using SMTP Mail...? Pin
fmlove17-Feb-07 1:15
fmlove17-Feb-07 1:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.