hi, assume that u have a button for the login functionality with id as btnLogin and another button for search functionality with id as btnSearch. If u r using vs.net,then it's pretty easy.double click the button in designer mode.The corresponding event handler for the button will be automatically generated and u can very well right ur functionality there.this goes without saying for the search button. Regards Shankar.c
Shankar Balaji
Posts
-
hi to all great people -
How to access a datagrid from a web page in a ...i have a datagrid and a usercontrol in a webpage. i pass the datagrid to the usercontrol and i modify the datasource in usercontrol . but the datasource in the webpage is not modified from the usercontrol. is this possible ? Help me Shankar C
-
How to modify the .....How to modify the location of a dynamically created control in asp.net using c# shankar C
-
Searching a particular node in XMLIn the System.XML namespace , we have a class called XMLDocument. If we create an object for the above said class, we can call the ImportNodes method. It's working correctly. but i need to know the correct usage for importnodes method.
-
Searching a particular node in XMLThanx polis, but can u tell about the ImportNodes method in the XML api?
-
How much is a normal salary for a ..ha ha ha ha !!!:laugh:
-
How to modify the .....How to modify the location of a dynamically created control in a asp.net page using c#?
-
Searching a particular node in XMLprivate void ImportXML(string path) { XmlTextReader reader = null; try { reader = new XmlTextReader(Server.MapPath("../CheckList/"+strFileName)); } catch { Response.Write("File Does'nt exists"); } XmlDocument doc = new XmlDocument(); doc.Load(reader); reader.Close(); XmlDocument docNew = new XmlDocument(); docNew.Load(path); XmlNode oldCd = null; bool Append = false; XmlElement root = doc.DocumentElement; oldCd = root.SelectSingleNode("//answers[@objectid=" + intValue + "]"); if(oldCd == null) Append = true; XmlNode CdNew; XmlElement rootNew = docNew.DocumentElement; CdNew = rootNew.SelectSingleNode("/answers[@objectid=" + intValue + "]"); XmlNode newBook = doc.ImportNode(CdNew, true); XmlNode newNode = doc.DocumentElement.ChildNodes[1]; if(Append) newNode.AppendChild(newBook); else newNode.ReplaceChild(newBook,oldCd); try { doc.Save(Server.MapPath("../CheckList/"+strFileName)); } catch { string strPath = Server.MapPath("../CheckList/") + "TempFile.xml"; ImportXML(strPath); } } can u help me in another way to do this?
-
How much is a normal salary for a ..I am working in Insoft. It's in Adyar,Chennai,Tamil Nadu, India,Asia
-
How much is a normal salary for a ..I am working in Chennai,India
-
How much is a normal salary for a ..How much is the normal salary for a Developer with 1+ year of exp dealing with .Net
-
Searching a particular node in XML... .. .. If , we have to get the node corresponding to the Answers node with id = 1 , how can we do that? Shankar C