Click here to Skip to main content
16,005,222 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPlease check this code Pin
mehrdadc4826-Nov-07 2:20
mehrdadc4826-Nov-07 2:20 
AnswerRe: Please check this code Pin
Paul Conrad28-Nov-07 16:29
professionalPaul Conrad28-Nov-07 16:29 
GeneralRe: Please check this code Pin
mehrdadc4829-Nov-07 2:46
mehrdadc4829-Nov-07 2:46 
QuestionSending email Pin
Paul McGann26-Nov-07 2:19
professionalPaul McGann26-Nov-07 2:19 
AnswerRe: Sending email Pin
N a v a n e e t h26-Nov-07 2:35
N a v a n e e t h26-Nov-07 2:35 
AnswerRe: Sending email Pin
Braulio Dez26-Nov-07 3:42
Braulio Dez26-Nov-07 3:42 
QuestionDatalist cell value Pin
SamRST26-Nov-07 2:19
SamRST26-Nov-07 2:19 
QuestionError in connecting Oracle DB Pin
www.Developerof.NET26-Nov-07 2:06
www.Developerof.NET26-Nov-07 2:06 
Hi all,

I m getting the following error

ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

and following is my code

Dim connstr As String = String.Empty<br />
    Dim notes As String = String.Empty<br />
    Dim oldbconn As New OdbcConnection(ConfigurationManager.ConnectionStrings("DBConnectionString").ToString())<br />
    Protected Sub SubmitButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles SubmitButton.Click<br />
        If Job_Notes.Text = "" Then<br />
            notes = "No notes"<br />
        Else<br />
            notes = Job_Notes.Text<br />
        End If<br />
        Dim oldbcmd As New OdbcCommand()<br />
        connstr = "insert into JOB_HR_Details(Job_Type,Job_Title,Job_Description,Location_ID,Qualification,Years_of_Experience,Competencies_Desired,"<br />
        connstr += "Competencies_Technical,Email_ID,Notes,Status) values('" & Job_Type_DDL.SelectedValue & "','" & Job_Title_TXT.Text & "','"<br />
        connstr += JOB_Description.Text & "'," & Location_DDL.SelectedValue & ",'" & Qualification.Text & "'," & Experience_DDL.SelectedValue & ",'" & Des_Comp.Text & "','"<br />
        connstr += Tech_Comp.Text & "','" & Emp_Email_ID.Text & "','" & notes & "','0');"<br />
        oldbcmd.CommandText = connstr<br />
        oldbcmd.Connection = oldbconn<br />
        oldbconn.Open()<br />
        oldbcmd.ExecuteNonQuery()<br />
        oldbconn.Close()



can anybody help me out whats causing the problem....

and can we use stored proc in oracle? if yes can anyone translate the above query to a proc

thanks in advance...

When you fail to plan, you are planning to fail.

Questionget items selected within 'checkboxlist' Pin
gsshaw26-Nov-07 2:03
gsshaw26-Nov-07 2:03 
AnswerRe: get items selected within 'checkboxlist' Pin
SABhatti26-Nov-07 4:13
SABhatti26-Nov-07 4:13 
GeneralThank you very much Pin
gsshaw26-Nov-07 4:17
gsshaw26-Nov-07 4:17 
QuestionHelp Help Help and need help Pin
Ahmad Adnan26-Nov-07 1:39
Ahmad Adnan26-Nov-07 1:39 
AnswerRe: Help Help Help and need help Pin
SABhatti26-Nov-07 4:16
SABhatti26-Nov-07 4:16 
QuestionSearch a string in a paragraph Pin
.NET- India 26-Nov-07 1:22
.NET- India 26-Nov-07 1:22 
AnswerRe: Search a string in a paragraph Pin
Sun Rays26-Nov-07 1:29
Sun Rays26-Nov-07 1:29 
AnswerCross post. Please ignore this thread. Pin
Pete O'Hanlon26-Nov-07 1:30
mvePete O'Hanlon26-Nov-07 1:30 
GeneralRe: Cross post. Please ignore this thread. Pin
.NET- India 26-Nov-07 1:42
.NET- India 26-Nov-07 1:42 
GeneralRe: Cross post. Please ignore this thread. Pin
Pete O'Hanlon26-Nov-07 1:55
mvePete O'Hanlon26-Nov-07 1:55 
AnswerRe: Search a string in a paragraph Pin
InsDev26-Nov-07 1:40
InsDev26-Nov-07 1:40 
GeneralRe: Search a string in a paragraph Pin
.NET- India 26-Nov-07 1:45
.NET- India 26-Nov-07 1:45 
GeneralRe: Search a string in a paragraph Pin
InsDev26-Nov-07 1:50
InsDev26-Nov-07 1:50 
GeneralRe: Search a string in a paragraph Pin
.NET- India 26-Nov-07 1:52
.NET- India 26-Nov-07 1:52 
GeneralRe: Search a string in a paragraph Pin
InsDev26-Nov-07 1:56
InsDev26-Nov-07 1:56 
GeneralRe: Search a string in a paragraph Pin
.NET- India 26-Nov-07 2:03
.NET- India 26-Nov-07 2:03 
Questionhow to view the last of a grid view when it is kept in a panel Pin
jagadeeshkumar198426-Nov-07 1:13
jagadeeshkumar198426-Nov-07 1:13 

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.