Click here to Skip to main content
15,920,956 members
Home / Discussions / Database
   

Database

 
GeneralRe: Extracting date part in SQL server Pin
ThaScorpion19-Nov-06 13:40
ThaScorpion19-Nov-06 13:40 
GeneralRe: Extracting date part in SQL server Pin
Janani Divya19-Nov-06 15:19
Janani Divya19-Nov-06 15:19 
GeneralRe: Extracting date part in SQL server Pin
ThaScorpion20-Nov-06 11:31
ThaScorpion20-Nov-06 11:31 
GeneralRe: Extracting date part in SQL server Pin
Janani Divya20-Nov-06 18:21
Janani Divya20-Nov-06 18:21 
QuestionHow do i run a query with a external text file's data Pin
gashach17-Nov-06 6:06
gashach17-Nov-06 6:06 
QuestionRegular expression in mysql Pin
Mitesh Jain17-Nov-06 2:02
Mitesh Jain17-Nov-06 2:02 
AnswerRe: Regular expression in mysql Pin
Chris Meech17-Nov-06 3:27
Chris Meech17-Nov-06 3:27 
Questionre: creating package in vb.net Pin
rrrriiizz16-Nov-06 22:39
rrrriiizz16-Nov-06 22:39 
hello All,

i am a beginner in vb.net. am creating a small project in vb.net. using sqlserver 2000 as back end. i am creating the application and code . finally am creating package. all those things are working correcly in my system only. but the packages(setup1) installed n other system but not working well. whenever the database using page is open or button click action. it was so some error that 'System.Data.Sqlclient.Sqlconnection' threw an exception' and the button press action it was shown 'Object references not set to an instance of object,. Please help me it is very urgent.... so plz plz plz help me solve this problem.

attached code below

<br />
Imports System.Data.SqlClient<br />
Imports ADODB<br />
<br />
Public Class screen1<br />
    Dim con As SqlConnection<br />
    Dim cmd As SqlCommand<br />
    Dim dr As SqlDataReader<br />
    Dim str As String<br />
    Dim c As New ADODB.Connection<br />
    Dim rs As New ADODB.Recordset<br />
<br />
 Private Sub screen1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br />
        con = New SqlConnection("server=software;uid=sa;pwd=sa;database=payroll")<br />
        c.Open("DSN=Emp", "sa", "sa")<br />
        rs.Open("empl", c, CursorTypeEnum.adOpenDynamic, LockTypeEnum.adLockOptimistic)<br />
    End Sub<br />
<br />


Sigh | :sigh: Sigh | :sigh: Sigh | :sigh:




rrrriiizz
AnswerRe: re: creating package in vb.net Pin
Paddy Boyd16-Nov-06 23:56
Paddy Boyd16-Nov-06 23:56 
QuestionHow to restrict datagrid Pin
ganeshdabholkar16-Nov-06 20:15
ganeshdabholkar16-Nov-06 20:15 
AnswerRe: How to restrict datagrid Pin
yuvachandra16-Nov-06 22:27
yuvachandra16-Nov-06 22:27 
AnswerRe: How to restrict datagrid Pin
rah_sin16-Nov-06 23:12
professionalrah_sin16-Nov-06 23:12 
AnswerRe: How to restrict datagrid Pin
Laxmikant Lad19-Nov-06 23:11
Laxmikant Lad19-Nov-06 23:11 
QuestionRelease data source Pin
rico cheah16-Nov-06 19:30
rico cheah16-Nov-06 19:30 
AnswerRe: Release data source Pin
Colin Angus Mackay16-Nov-06 22:29
Colin Angus Mackay16-Nov-06 22:29 
GeneralRe: Release data source Pin
rico cheah17-Nov-06 21:14
rico cheah17-Nov-06 21:14 
Questionproject on school database Pin
pramod40016-Nov-06 18:11
pramod40016-Nov-06 18:11 
AnswerRe: project on school database Pin
_AK_16-Nov-06 18:28
_AK_16-Nov-06 18:28 
GeneralRe: project on school database Pin
dilfizo16-Nov-06 20:15
dilfizo16-Nov-06 20:15 
Questionhow to get only date from datetime field of te table Pin
yogita charhate16-Nov-06 17:49
yogita charhate16-Nov-06 17:49 
AnswerRe: how to get only date from datetime field of te table Pin
Christian Graus16-Nov-06 17:54
protectorChristian Graus16-Nov-06 17:54 
AnswerRe: how to get only date from datetime field of te table Pin
Janani Divya17-Nov-06 18:02
Janani Divya17-Nov-06 18:02 
GeneralRe: how to get only date from datetime field of te table Pin
Laxmikant Lad19-Nov-06 23:16
Laxmikant Lad19-Nov-06 23:16 
QuestionHow to pass result set as multi-value parameter to subreport Pin
OytotheVey16-Nov-06 11:33
OytotheVey16-Nov-06 11:33 
AnswerRe: How to pass result set as multi-value parameter to subreport Pin
Christian Graus16-Nov-06 11:42
protectorChristian Graus16-Nov-06 11:42 

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.