Click here to Skip to main content
15,904,415 members
Home / Discussions / C#
   

C#

 
GeneralRe: Custom Rendering Ink Pin
Tony Honter16-Aug-10 10:30
Tony Honter16-Aug-10 10:30 
GeneralRe: Custom Rendering Ink Pin
OriginalGriff16-Aug-10 21:41
mveOriginalGriff16-Aug-10 21:41 
GeneralRe: Custom Rendering Ink Pin
Luc Pattyn16-Aug-10 13:59
sitebuilderLuc Pattyn16-Aug-10 13:59 
AnswerRe: Custom Rendering Ink Pin
Bernhard Hiller16-Aug-10 19:27
Bernhard Hiller16-Aug-10 19:27 
Questionread sms from nokia phone Pin
behzadcp16-Aug-10 5:10
professionalbehzadcp16-Aug-10 5:10 
AnswerRe: read sms from nokia phone Pin
JHizzle16-Aug-10 5:25
JHizzle16-Aug-10 5:25 
GeneralRe: read sms from nokia phone Pin
behzadcp16-Aug-10 7:03
professionalbehzadcp16-Aug-10 7:03 
GeneralRe: read sms from nokia phone Pin
Richard MacCutchan16-Aug-10 11:10
mveRichard MacCutchan16-Aug-10 11:10 
QuestionCrystal Report: Change ODBC connection to dynamic dataset from csv file? Pin
MC_Smit16-Aug-10 4:40
MC_Smit16-Aug-10 4:40 
GeneralRe: Crystal Report: Change ODBC connection to dynamic dataset from csv file? Pin
OriginalGriff17-Aug-10 9:39
mveOriginalGriff17-Aug-10 9:39 
QuestionWF 4.0 Pin
netDeveloper16-Aug-10 4:39
netDeveloper16-Aug-10 4:39 
Questionemptying texbox Pin
tek 200916-Aug-10 3:20
tek 200916-Aug-10 3:20 
AnswerRe: emptying texbox Pin
Luc Pattyn16-Aug-10 3:33
sitebuilderLuc Pattyn16-Aug-10 3:33 
GeneralRe: emptying texbox Pin
tek 200916-Aug-10 3:40
tek 200916-Aug-10 3:40 
GeneralRe: emptying texbox Pin
Covean16-Aug-10 3:53
Covean16-Aug-10 3:53 
GeneralRe: emptying texbox Pin
T M Gray16-Aug-10 6:05
T M Gray16-Aug-10 6:05 
AnswerRe: emptying texbox Pin
I Believe In GOD16-Aug-10 12:01
I Believe In GOD16-Aug-10 12:01 
QuestionHow to mark part of the image that appear on my application ? Pin
Yanshof16-Aug-10 2:58
Yanshof16-Aug-10 2:58 
AnswerRe: How to mark part of the image that appear on my application ? Pin
Ravi Bhavnani16-Aug-10 3:54
professionalRavi Bhavnani16-Aug-10 3:54 
AnswerRe: How to mark part of the image that appear on my application ? Pin
ignrod16-Aug-10 4:19
ignrod16-Aug-10 4:19 
AnswerRe: How to mark part of the image that appear on my application ? Pin
Luc Pattyn16-Aug-10 6:07
sitebuilderLuc Pattyn16-Aug-10 6:07 
GeneralRe: How to mark part of the image that appear on my application ? Pin
ignrod16-Aug-10 7:01
ignrod16-Aug-10 7:01 
Questionconnect to database using javascript Pin
SatyaKeerthi1516-Aug-10 1:28
SatyaKeerthi1516-Aug-10 1:28 
I have to Get data from database and fill data into ListBox using javascript. I did like below

var strConn = 'Provider=SQLOLEDB;server=localhost;user id=sa;pwd=***;initial catalog=xxx;';
var cn = new ActiveXObject("ADODB.Connection");

cn.open(strConn);
var rs = new ActiveXObject("ADODB.Recordset");
rs.Open('SELECT EmpId,Name FROM Employee', cn);
rs.MoveFirst
while(!rs.eof)
{
var opt = document.createElement("Option");
opt.text = rs.fields(1);
opt.value = rs.fields(0);
document.getElementById(ListBoxCtrlName).options.add(opt);
rs.movenext;
}
rs.close;
cn.close;

This is working fine in IE only when access datasource across domains enabled otherwise listbox not getting data.How can I fix this issue in IE And FireFox
AnswerRe: connect to database using javascript Pin
OriginalGriff16-Aug-10 1:53
mveOriginalGriff16-Aug-10 1:53 
AnswerRe: connect to database using javascript Pin
Not Active16-Aug-10 2:03
mentorNot Active16-Aug-10 2:03 

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.