Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: connect to database using javascript Pin
J4amieC16-Aug-10 3:57
J4amieC16-Aug-10 3:57 
AnswerRe: connect to database using javascript Pin
Ravi Sant14-Apr-11 1:29
Ravi Sant14-Apr-11 1:29 
QuestionHow to create Hierachy Grid from Objects Pin
Vimalsoft(Pty) Ltd15-Aug-10 23:30
professionalVimalsoft(Pty) Ltd15-Aug-10 23:30 
AnswerRe: How to create Hierachy Grid from Objects Pin
Goutam Patra16-Aug-10 1:49
professionalGoutam Patra16-Aug-10 1:49 
GeneralRe: How to create Hierachy Grid from Objects Pin
Vimalsoft(Pty) Ltd16-Aug-10 2:03
professionalVimalsoft(Pty) Ltd16-Aug-10 2:03 
QuestionHow to do binding simple control and class Pin
Yanshof15-Aug-10 20:36
Yanshof15-Aug-10 20:36 
AnswerRe: How to do binding simple control and class Pin
Mycroft Holmes15-Aug-10 23:27
professionalMycroft Holmes15-Aug-10 23:27 
QuestionCheck for mysql installation Pin
sumit703415-Aug-10 20:32
sumit703415-Aug-10 20:32 
AnswerRe: Check for mysql installation Pin
Bernhard Hiller15-Aug-10 20:51
Bernhard Hiller15-Aug-10 20:51 
GeneralRe: Check for mysql installation Pin
sumit703415-Aug-10 21:11
sumit703415-Aug-10 21:11 
GeneralRe: Check for mysql installation Pin
Bernhard Hiller16-Aug-10 2:08
Bernhard Hiller16-Aug-10 2:08 
AnswerRe: Check for mysql installation Pin
Luc Pattyn16-Aug-10 0:04
sitebuilderLuc Pattyn16-Aug-10 0:04 
QuestionInherit an internal class to a public class Pin
amit sahu2015-Aug-10 20:02
amit sahu2015-Aug-10 20:02 
AnswerRe: Inherit an internal class to a public class Pin
OriginalGriff15-Aug-10 22:15
mveOriginalGriff15-Aug-10 22:15 
AnswerRe: Inherit an internal class to a public class Pin
Luc Pattyn16-Aug-10 0:09
sitebuilderLuc Pattyn16-Aug-10 0:09 

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.