Click here to Skip to main content
15,917,061 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionProble To install VS.NET 2.0 Pin
Imran Khan Pathan28-Dec-06 21:18
Imran Khan Pathan28-Dec-06 21:18 
QuestionCrystal Report parameters problem while connection with the DB other than original DB with which I created the CR. Pin
Sandip Kansara28-Dec-06 20:11
Sandip Kansara28-Dec-06 20:11 
AnswerRe: Crystal Report parameters problem while connection with the DB other than original DB with which I created the CR. Pin
Sandip Kansara2-Jan-07 17:49
Sandip Kansara2-Jan-07 17:49 
Questionuploading the file Pin
sridevi1428-Dec-06 19:57
sridevi1428-Dec-06 19:57 
AnswerRe: uploading the file Pin
Arindam Tewary28-Dec-06 21:11
professionalArindam Tewary28-Dec-06 21:11 
GeneralRe: uploading the file Pin
prolibertine29-Dec-06 3:53
prolibertine29-Dec-06 3:53 
Questionhow to dynamically adding rows in html table ? Pin
Tridip Bhattacharjee28-Dec-06 19:32
professionalTridip Bhattacharjee28-Dec-06 19:32 
AnswerRe: how to dynamically adding rows in html table ? Pin
Arindam Tewary28-Dec-06 20:18
professionalArindam Tewary28-Dec-06 20:18 
==========================================================================
For Cross browser compatibility you can use this javasctipt code to detect which browser in is use. And then subsequently do the required.
==========================================================================

function whichBrs() {
    var agt=navigator.userAgent.toLowerCase();
    if (agt.indexOf("opera") != -1) return 'Opera';
    if (agt.indexOf("staroffice") != -1) return 'Star Office';
    if (agt.indexOf("webtv") != -1) return 'WebTV';
    if (agt.indexOf("beonex") != -1) return 'Beonex';
    if (agt.indexOf("chimera") != -1) return 'Chimera';
    if (agt.indexOf("netpositive") != -1) return 'NetPositive';
    if (agt.indexOf("phoenix") != -1) return 'Phoenix';
    if (agt.indexOf("firefox") != -1) return 'Firefox';
    if (agt.indexOf("safari") != -1) return 'Safari';
    if (agt.indexOf("skipstone") != -1) return 'SkipStone';
    if (agt.indexOf("msie") != -1) return 'Internet Explorer';
    if (agt.indexOf("netscape") != -1) return 'Netscape';
    if (agt.indexOf("mozilla/5.0") != -1) return 'Mozilla';
    if (agt.indexOf('\/') != -1) {
    if (agt.substr(0,agt.indexOf('\/')) != 'mozilla') {
    return navigator.userAgent.substr(0,agt.indexOf('\/'));}
    else return 'Netscape';} else if (agt.indexOf(' ') != -1)
    return navigator.userAgent.substr(0,agt.indexOf(' '));
    else return navigator.userAgent;
}



==========================================================================
For creating number of rows in HTML table you can do like this ...
==========================================================================
Assume that you are getting a DataTable dTSourceTable from the server side
code

Now in HTML/aspx you have to insert server side code
<br />
<br />
 <table width="100%" border="1"><br />
    <% for(int p=0;p<dTSourceTable.Rows.Count;p++){%><br />
      <tr><br />
        <td width="100%">Display something here ...</td><br />
      </tr><br />
    <%} %><br />
    </table><br />
<br />


Dont forget to declare "dTSourceTable" as a class level public variable in code behind file. Otherwise it will give error.

Hope it helps you ... Big Grin | :-D


Arinda D Tewary
AnswerRe: how to dynamically adding rows in html table ? Pin
Arindam Tewary28-Dec-06 21:23
professionalArindam Tewary28-Dec-06 21:23 
Questionhow could i directly attach any output stream content to placeholder control or image control in asp.net? Pin
Tridip Bhattacharjee28-Dec-06 19:32
professionalTridip Bhattacharjee28-Dec-06 19:32 
Questionhow to render a image in aspx page in it's original size?? [URGENT] Pin
Tridip Bhattacharjee28-Dec-06 19:31
professionalTridip Bhattacharjee28-Dec-06 19:31 
Questionwhat is the difference btn callback() and Ispostback() Pin
sridevi1428-Dec-06 19:17
sridevi1428-Dec-06 19:17 
AnswerRe: what is the difference btn callback() and Ispostback() Pin
Arindam Tewary28-Dec-06 19:47
professionalArindam Tewary28-Dec-06 19:47 
GeneralRe: what is the difference btn callback() and Ispostback() Pin
sridevi1428-Dec-06 19:53
sridevi1428-Dec-06 19:53 
QuestionTree View control Pin
diya_dev28-Dec-06 19:04
diya_dev28-Dec-06 19:04 
QuestionHow to upgrade a .dll file in vb.net Pin
dotnethunk28-Dec-06 19:01
dotnethunk28-Dec-06 19:01 
AnswerRe: How to upgrade a .dll file in vb.net Pin
diya_dev28-Dec-06 19:07
diya_dev28-Dec-06 19:07 
GeneralRe: How to upgrade a .dll file in vb.net Pin
dotnethunk28-Dec-06 19:15
dotnethunk28-Dec-06 19:15 
GeneralRe: How to upgrade a .dll file in vb.net Pin
diya_dev28-Dec-06 21:01
diya_dev28-Dec-06 21:01 
GeneralRe: How to upgrade a .dll file in vb.net Pin
dotnethunk29-Dec-06 2:37
dotnethunk29-Dec-06 2:37 
Questionexternal debugger window Pin
kannan m28-Dec-06 18:55
kannan m28-Dec-06 18:55 
QuestionHow can I find time that it is taking Pin
indian14328-Dec-06 17:45
indian14328-Dec-06 17:45 
AnswerRe: How can I find time that it is taking Pin
Not Active28-Dec-06 18:15
mentorNot Active28-Dec-06 18:15 
AnswerRe: How can I find time that it is taking Pin
Arindam Tewary28-Dec-06 19:09
professionalArindam Tewary28-Dec-06 19:09 
QuestionBulk insert from asp.net 2005 to oracle Pin
montu337728-Dec-06 16:44
montu337728-Dec-06 16:44 

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.