Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
B

biswa47

@biswa47
About
Posts
61
Topics
43
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to load xml file in mozillla
    B biswa47

    hai man.. i know dat link is working fine over mozilla browser.but my requirmnet is different.. i need to embeded the rss feeds inside that xml into html page dynamically.

    XML / XSL javascript html tools xml help

  • How to load xml file in mozillla
    B biswa47

    HI, Stuart Dootson. Will you kindly give me ur code in which u have successfully loaded the xml file in to mozilla

    XML / XSL javascript html tools xml help

  • How to load xml file in mozillla
    B biswa47

    Hi dear friends, from last few days i am digging my head like anything for loading rss feed(its nothing but a xml file) in to mozilla browser. i am succesfully load that and displayed in IE but unable to load it in mozzlia.here the link for rss feed is-"http://www.ed.gov/rss/edgov.xml". here i am able to dtect the browser but unable to load it in mozilla plz help me out. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Untitled Page</title> <script type="text/javascript"> if(navigator.appName == "Netscape") { alert("You're using a Netscape browser.") function loadXML() { var xmlDoc = document.implementation.createDocument("", "", null) xmlDoc.load("http://www.ed.gov/rss/edgov.xml"); xmlDoc.onload = readXML; alert("hi") document.getElementById("title").innerHTML= xmlDoc.getElementsByTagName("title")[2].firstChild.nodeValue document.getElementById("description").innerHTML= xmlDoc.getElementsByTagName("description")[2].firstChild.nodeValue document.getElementById("title1").innerHTML= xmlDoc.getElementsByTagName("title")[3].firstChild.nodeValue document.getElementById("description1").innerHTML= xmlDoc.getElementsByTagName("description")[3].firstChild.nodeValue document.getElementById("title2").innerHTML= xmlDoc.getElementsByTagName("title")[4].firstChild.nodeValue document.getElementById("description2").innerHTML= xmlDoc.getElementsByTagName("description")[4].firstChild.nodeValue document.getElementById("title3").innerHTML= xmlDoc.getElementsByTagName("title")[4].firstChild.nodeValue document.getElementById("description3").innerHTML= xmlDoc.getElementsByTagName("description")[4].firstChild.nodeValue document.getElementById("title4").innerHTML= xmlDoc.getElementsByTagName("title")[5].firstChild.nodeValue document.getElementById("description4").innerHTML= xmlDoc.getElementsByTagName("description")[5].firstChild.nodeValue document.getElementById("title5").innerHTML= xmlDoc.getElementsByTagName("title")[6].firstChild.nodeValue

    XML / XSL javascript html tools xml help

  • How to embaded rss feeds in to html page which will be displayed in mozilla as well as IE browser
    B biswa47

    Hi dear friends, from last few days i am digging my head like anything for loading rss feed(its nothing but a xml file) in to mozilla browser. i am succesfully load that and displayed in IE but unable to load it in mozzlia.here the link for rss feed is-" http://www.ed.gov/rss/edgov.xml[^] plz help me out. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Untitled Page</title> <script type="text/javascript"> if(navigator.appName == "Netscape") { alert("You're using a Netscape browser.") function loadXML() { var xmlDoc = document.implementation.createDocument("", "", null) xmlDoc.load("http://www.ed.gov/rss/edgov.xml"); xmlDoc.onload = readXML; alert("hi") document.getElementById("title").innerHTML= xmlDoc.getElementsByTagName("title")[2].firstChild.nodeValue document.getElementById("description").innerHTML= xmlDoc.getElementsByTagName("description")[2].firstChild.nodeValue document.getElementById("title1").innerHTML= xmlDoc.getElementsByTagName("title")[3].firstChild.nodeValue document.getElementById("description1").innerHTML= xmlDoc.getElementsByTagName("description")[3].firstChild.nodeValue document.getElementById("title2").innerHTML= xmlDoc.getElementsByTagName("title")[4].firstChild.nodeValue document.getElementById("description2").innerHTML= xmlDoc.getElementsByTagName("description")[4].firstChild.nodeValue document.getElementById("title3").innerHTML= xmlDoc.getElementsByTagName("title")[4].firstChild.nodeValue document.getElementById("description3").innerHTML= xmlDoc.getElementsByTagName("description")[4].firstChild.nodeValue document.getElementById("title4").innerHTML= xmlDoc.getElementsByTagName("title")[5].firstChild.nodeValue document.getElementById("description4").innerHTML= xmlDoc.getElementsByTagName("description")[5].firstChild.nodeValue document.getElementById("title5").innerHTML= x

    C# javascript html tools xml help

  • How to open only 1 node of treeview and expand the node by clicking on the node labels along with the exsisting method.??
    B biswa47

    i am not geeting u.what will i do with u "Div" tag. can just briefly expalin or give me d code.

    ASP.NET csharp asp-net visual-studio help tutorial

  • How to open only 1 node of treeview and expand the node by clicking on the node labels along with the exsisting method.??
    B biswa47

    i have a treeview control in which the data is populated from the databse in 3 levels. the structure is like this. Lable1 : : sublabel1 : : child1 child2 Lable2 : : sublabel2 : : child1 child2 Lable3 : : sublabel3 : : child1 child2 . I am able 2 populte data from the databse but my problem is that i want to open only one node at a time.it meanms if initally "sublabel1"(of label1) node is opend and after dat i have clicke don label3 node then the previous node must be close before it open the new node means 1st it close the "sublabel1"(of label1) then open label3 and secondly the node is being expaned only when i clicked on the "+"sign which is connected to the left side of each node but when i clicked on the lable1 then the page is postback but return to the same page again. but i need to open the subnode(if exsist) when i clicked on the any node. here i am developing my application with visual studio -2005. n my applcation is developed with asp.net along with c#.net can yu tell me what i wil do or what wil b the code for this..

    ASP.NET csharp asp-net visual-studio help tutorial

  • Date
    B biswa47

    Ofcourse its possible, use substring() in sql. bofore dispaly data in the grid use substring in db

    ASP.NET css database wpf wcf question

  • How to close a webform while opening another webform??
    B biswa47

    i am devlopping a asp.net application in (VS 2005). wheren in my default.aspx page there is a provision for login and that login control is resides with in "frame". Now when i login sucessfully it redirects to a new default2.aspx page. My problem is that after login 2pages are there in the window . i want to close the "default1.aspx " when default2.aspx is loaded in the window. how can i do in the server side. to open a new defaul2.aspx page in a new window i have written the follwing code. System.Text.StringBuilder sb = new System.Text.StringBuilder(); sb.Append("<script language='javascript'>"); sb.Append("window.open('Boundry/ScrUserHome.aspx', 'PopUp',"); sb.Append("'top=0, left=0, width='+screen.availwidth+', height='+screen.availheight+', menubar=no,scrollbar=yes,toolbar=no,resizable=yes,addressbar=no');<"); sb.Append("/script>"); Type t = this.GetType(); if (!ClientScript.IsClientScriptBlockRegistered(t, "PopupScript")) ClientScript.RegisterClientScriptBlock(t, "PopupScript", sb.ToString()); now how to close default1.aspx page in the server side????

    ASP.NET question csharp javascript asp-net visual-studio

  • How to dipsly a webform [modified]
    B biswa47

    hai this is my code about whome ur atalking about.. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title>Untitled Page</title> <script type="text/javascript" language="JavaScript" src="news/news_eng.js"></script> <link rel="stylesheet" href="scripts/rwsstyle.css" type="text/css" /> <script type="text/javascript" language="javascript"> var swidth=323; var sheight=115; var sspeed=1; var wholemessage="<ul>"; for(i=0; i<theSummaries.length; i++) { if(i==theSummaries.length-1) { wholemessage=wholemessage+"<li><a class='ver10pxblack' href='outerwin.htm?id="+theSiteLinks[i] +"' target='_blank'>"+theSummaries[i]+"</a></li>"; } else { wholemessage=wholemessage+"<li><a class='ver10pxblack' href='outerwin.htm?id="+theSiteLinks[i] +"' target='_blank'>"+theSummaries[i]+"</a><br><br></li>"; } } wholemessage = wholemessage+"</ul>"; </script> <style type="text/css"> .ver10pxblack { FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: Verdana } A:link { TEXT-DECORATION: none } A:visited { TEXT-DECORATION: none } A:hover { TEXT-DECORATION: underline } A:active { TEXT-DECORATION: none } </style> </head> <body> <form id="form1" runat="server"> <div> <table style="width:720px;height:494px;" cellpadding="0" cellspacing="0" border="0" > <tr> <td style="height:494px;width:480px;" align="left" bgcolor="#d9dadc" valign="top"> <p class="left"><img src="images/e03.gif" alt="" width="14" height="16" border="0" align="absmiddle" />&nbsp;&nbsp; <strong>NEWS &amp; EVENTS</strong></p> &nbsp; <script type="text/javascript" language="JavaScript"> if (document.all) { document.writeln('<marquee id="ieslider" scrollAmount=1 width=100% height=60% direction=up style="border:0;">'); document.writeln(wholemessage);

    ASP.NET csharp html help tutorial

  • How to dipsly a webform [modified]
    B biswa47

    Thing is that i am developing an asp.net application. in which i have desiging with certain imagebutton control. like Objective.Aboout us. I want when i clicked on objective image button it shold display the obj.htm webpage in the browser. i have tried this with postbackurl property but it shows the error. "The HTTP verb POST used to access path '/rwssMIS/obj.htm' is not allowed." so how to display that htmlpage???

    ASP.NET csharp html help tutorial

  • How to dipsly a webform [modified]
    B biswa47

    HOw to display a html web page with the help of image button control.like which event do we use.. can tell me in details...I am using visula studio-2005 with C# as backend

    modified on Thursday, April 3, 2008 2:30 AM

    ASP.NET csharp html help tutorial

  • How to display IFRAME in the proper place in different resolution?
    B biswa47

    hai i have designed a web form in visual studio2005. everything in that aspx page desigend with in a table of fixedsize(990*560). with in that table i have included a <iframe> whose coding i am giveing below "<td style="width:744px;height:516px" valign="top"> <iframe id="frame1" name="frame1" style="width:744px;height:516px; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; position:absolute; top:108px; font-family:Arial; font-size:8pt; left: 25%;" scrolling="yes" runat="server"></iframe> </td>" its work fine in 1024*768 resolution but wheni have changed the resolution to 1280*768 . all the designed comes in size except the ifrmae. can solve my problem that why the iframe is not coming in the appropriate place,while changing the screeen resolution. Below i am giving u the complete page source code.. Plz help me out.. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default5.aspx.cs" Inherits="Default5" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title>RWSS</title> <style type="text/css"> body { font-family:Verdana; font-size:8pt; margin-left:0; margin-right:0; margin-top:0; top:1; left:0; right:0; background-image:url('images/pattern.gif'); } </style> </head> <body> <form id="form1" runat="server"> <div> <table cellpadding="0" cellspacing="0" width="994px" align="center" bgColor="#ffffff" border="0" > <tbody> <tr> <td valign="top" style="width:994px;height:106px;"> <table style="height:106px;width:994px;background-color:#ffffff;border-width:0;background-image: url(images/top.GIF);" cellspacing="0" cellpadding="0" align="center"> <tr> <td valign="bottom" style="height: 34px"> <div id="ddcolortabs" > <ul> <li ><a title="Home" href="Default.aspx" target="_parent"><span>Home</span><

    Web Development help csharp html css sysadmin

  • how to poulate data from database in treeview??
    B biswa47

    Hai frinedz,i want to populate data from Database in hirachary manner. i have done up to 2level. but i dont know how to add one subchild in the child node...can u plz do this with my existing code... or tell me where should i add the code to a sub child under the child node. here the parent node is -modulename child node - componentname & subchild node- function name. in the sqlcommand you can put any sql....for ur conviennet .later on iwill change it according to my requirment. plz do this favour on me. i am using asp.net along with c# 2005 as front end and backend as sqlserver2005 as db below i am giving u my code also.. ====================================== protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { PopulateRootLevel(); } } void PopulateRootLevel() { SqlConnection SqlCon = new SqlConnection("Data Source=biswa;Initial Catalog=rwsNew;User ID=sa;Password=biswa007"); // SqlConnection SqlCon = new SqlConnection("Data Source=;Initial Catalog=rwsNew;User ID=;Password="); SqlCon.Open(); SqlCommand SqlCmd = new SqlCommand("SELECT modulename,moduleid FROM module_master WHERE delflag='ACTIVE' ORDER BY modulename ", SqlCon); SqlDataReader Sdr = SqlCmd.ExecuteReader(); SqlCmd.Dispose(); string[,] ParentNode = new string[100, 2]; int count = 0; while (Sdr.Read()) { ParentNode[count, 0] = Sdr.GetValue(Sdr.GetOrdinal("moduleid")).ToString(); ParentNode[count++, 1] = Sdr.GetValue(Sdr.GetOrdinal("modulename")).ToString(); } Sdr.Close(); for (int loop = 0; loop < count; loop++) { TreeNode root = new TreeNode(); root.Text = ParentNode[loop, 1]; root.Target = "_blank"; //root.NavigateUrl = "Default.aspx"; SqlCommand Module_SqlCmd = new SqlCommand("SELECT compid,componentname FROM module_component WHERE (moduleid = '" + ParentNode[loop, 0] + "') ", SqlCon); SqlDataReader Module_Sdr = Module_SqlCmd.ExecuteReader(); while (Module_Sdr.Read()) { TreeNode child = new TreeNode(); child.Text = Module_Sdr.GetValue(Module_Sdr.GetOrdinal("componentname")).ToString(); child.Target = "_blank"; //child.NavigateUrl = "Default.aspx"; root.ChildNodes.Add(child); } Module_Sdr.Close(); Tv

    ASP.NET database csharp asp-net tutorial question

  • Problem related to treeview control in asp.net2.0 [modified]
    B biswa47

    i have a tree view . where i want to populate data in three level from the sql server 2005 database. suppose the root level node populte date from "root" table .and in the 2nd level the corresponding child of that parent should be populate from "child" table. where the parent and child table retlated by parentid coloumn. and in 3rd level the data should populate from "subchild" table .where the child and parent table are related by childidid. and the last task is to give hyperlink in the 3rd level(where subchildname are shown.) to their corresponding .aspx form. My table structure is as follows Parent table ============ parent_id int parent_name varchar(50) Child table ============ parent_id int Child_id int child_name varchar(50) subhild table ============ parent_id int Child_id int subchild_name varchar(50) ............................. where i am ssqlserver2005 and asp.net along with c# (visual studio 2005) thaks in advance

    modified on Monday, February 25, 2008 6:28 AM

    ASP.NET csharp database asp-net sql-server visual-studio

  • Problem related to getting date
    B biswa47

    Hi friends I want to select two date from sys. 1st date is 1-April-2007 where Day 1st= is fixed Month April is also fixed But Year 2007 is the current year-1 and the 2nd date is 31-Dec-2007 where day 31st/30th/28th/29th is the last day of the previous month.means current month -1 and Year 2007=Current year-1 for the month of January and for the other months its fixed that is 2008 menas the current year. well i am using SQL SERVER 2005.pLZ help me out.

    Database help database sql-server sysadmin

  • how to get recordno??
    B biswa47

    i have table named emp where the coloumns are A AND B. The date in my table emp are A B ---------- 12 0 13 0 0 17 9 0 0 11 0 8 76 0 NOW I want to count the total no of records IN THE TABLE ,no of records (where A !=0 AND B=0 it means value of coloumn A not equal to '0' and value of cpoloumn B equal to zero) AND NO OF RECORDS (where A =0 AND B!=0) thanks in advance

    Database tutorial question

  • how to retrive data from dataset
    B biswa47

    hello frndz. i am using a dataset. and i want to retrivw value from that. for that i am using Textbox1.Text = dsAppData.Tables[0].Columns[0].ToString(); Textbox2..Text = dsAppData.Tables[0].Columns[1].ToString(); where "dsAppData" is the name of my dataset ... well through this i am getting the value. but here the problem is. if there are 20values neeed to be retrived from dataset. the each time when i retrive the value i must use dataset. so here i think it reduces the perfermance of the application as it hits the database each time i populate the data from it. so is ther any other way to retrive data from dataset only using once means for the first time when we use the dataset we will keep all the requiered value from it. plz i need ur suggestion

    ASP.NET database help tutorial

  • problem related to linkbuuton
    B biswa47

    hi frndz... i have a very small problem .. plz help me out.. last time i aske did qns but no body answered me.. hope dis time get the soln. i have link button and panel. i want to display the panel while click on the link button first time and while clicking on the same link button another time dat panel should be disable. i am only able enable the panel on the first click on the link button. but how to disble it on 2nd click. like wise if i clicked on the 3rd time the panel will be enable and if i clicked it 4 4th time d panel will again disable.. plz help me out.i am developing my project n c#.net

    ASP.NET csharp help tutorial

  • problem related to gridview
    B biswa47

    hi to all i am having some problem ..so need ur help again. there is a gridview where i am showing the employeedetails where empcode is the primary key in the a table. emp table is having empcode,name ,age,sex,. these values are getting from the frontend of the respective field. i ma able to dispaly the record in the gridview after saving it. there is an select option for each row of the gridview. my problem starts here" when i want to select any particular row of the gridview.based up on the empcode of the respective row the data shuld be dispaly in the corresponding field in the form so that i can update it. my objective is 1st i catch the empcode of the selected row and then based up on that empcode other values willbe displayed in the corresponding field of the form. i am using asp.net along with c#.net(2005) and sqlserver2005 as database.

    ASP.NET csharp help asp-net database announcement

  • how to check the value simaltanously from 2 table
    B biswa47

    there is 2 table named table 1 and table 2 in the db where both table have a comman coloumn named employee_code. let table1 conatain emplyee_code-1,2,6,8,9 and table2 contain employye_coce-2,4,6,7,8 now i want a sql statement which will give me the out put as follows i want to check(let say employee code1) wather a particular employee_code present in table 1 and not present in table2 .if it run succesfully it should give massage emplyee code exists else doesn't exists. means if i select emp_code 1 then the message would be "emplyee code exists" i select emp_code 2 then the message would be "emplyee code doesnt exists"

    Database database tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups