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
J

jayarajmrj

@jayarajmrj
About
Posts
40
Topics
36
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Urgent datagrid
    J jayarajmrj

    I have one scenario , that I have datagrid with Add , edit and delete. Suppose I click the add button One popup is open and we have to enter the values in the corresponding textboxes . once we click the save the button , the values in the textbox will be populate in datagrid and same as edit.

    ASP.NET

  • javascript in listbox
    J jayarajmrj

    The below is my javascript code to move one listbox to another. It works fine. But i want move only two items from the source listbox and also once i moved the items , the source list will be unselect(ie., back to original position) pls give the solution ASAP. function fnMoveItems(lstbxFrom,lstbxTo) { var listboxlength = document.getElementById(lstbxFrom).length; var boxLength = document.getElementById(lstbxTo).length; var count; var lenListSelected=0; var Check= document.getElementById(lstbxFrom).selectedIndex; if(Check!=-1) { for(count=0; count 2 ) { alert(document.getElementById(lstbxTo).length); var count; for(count=0;count

    ASP.NET javascript

  • Doubt in Dataview filter options
    J jayarajmrj

    I have two dataset. Each datasets contain one table . Dataset1.Tables[0]; ---------------------------- Id Description 100 Raja 101 Jayaraj 102 Ramesh 103 Mani 104 kavitha Dataset2.Tables[0] ----------------------------- Id UpdatedWhen 100 05/06/07 104 01/09/00 How can i filter the above datasets columns by using DataView? The result should be like this Id Description 101 Jayaraj 102 Ramesh 103 Mani The result going to bind in DropDownList , like this Jayaraj Ramesh Mani Pls give the code ASAP

    ASP.NET question

  • Unmatched records from DataTables
    J jayarajmrj

    By using DataRelation , we can able to fetch the matched records of two datatables. How can i get the unmatched records of the two datatables in code behind? Note : Note in MS-SQL Query. For example Datatable 1 ---------------- Id --- 100 101 102 103 104 Datatable 2 ---------------- Id ---- 100 102 My Expecting result is Id ---- 101 103 104

    ASP.NET database question tutorial

  • Unmatched records from DataTables
    J jayarajmrj

    I have two resultset comes from two datatable For example Datatable1 ---------- Id description -- ----------- 100 Home 101 Office 102 Practice 103 Training Centre Datatable2 ---------- Id description -- ----------- 100 Home 102 Practice I want to compare the above datatables and bind the unmatched records in the GridView The result should be Id description -- ----------- 101 Office 103 Training Centre how can i get the above result? My code -------- DataSet dsFetchAddress = null; DataSet dsFetchAddressType = null; DataTable dtFetchAddress; dsFetchAddress = m_Profile.FetchFacultyAddress(m_factultyKey); dsFetchAddressType = m_Profile.FetchAddress(); dtFetchAddress = dsFetchAddressType.Tables[0].Select("Id! ='dsFetchAddress.Tables[0].Select("Id")'"); I don't the exact syntax. pls give the solution.

    ASP.NET question tutorial

  • javascript in listbox
    J jayarajmrj

    function fnMoveItems(lstbxFrom,lstbxTo) { var varFromBox = document.all(lstbxFrom); var varToBox = document.all(lstbxTo); if ((varFromBox != null) && (varToBox != null)) { if(varFromBox.length < 1) { alert('There are no items in the source ListBox'); return false; } if(varFromBox.options.selectedIndex == -1) { alert('Please select an Item to move'); return false; } while ( varFromBox.options.selectedIndex >= 0 ) { var newOption = new Option(); newOption.text = varFromBox.options[varFromBox.options.selectedIndex].text; newOption.value = varFromBox.options[varFromBox.options.selectedIndex].value; varToBox.options[varToBox.length] = newOption; varFromBox.remove(varFromBox.options.selectedIndex); } } return false; } The above is my javascript code to move the values from one listbox to another. Once it move the values , the selected values are deleted from the sourceListbox(ie., left side listbox). Actually my task is , it never deletes the selected value . pls give the alternate code for it.

    ASP.NET javascript

  • Urgent listbox values in Server side.
    J jayarajmrj

    I have moved the values from one listbox to another listbox by using Javascript. How can I reterive the values from the second listbox in server side ie., code behind? Because i will store the selected values in DB. Assume that the First listbox ------------- Raja Jayaraj Meena Rupa Kannan Radha I Moved the Meena , Kannan to Second Listbox Second Listbox ------------- Meena Kannan In Add_Click I have to assign the values in a string in comma separation For example string m_Names; m_Names=Meena,Kannan;

    ASP.NET question javascript database sysadmin tutorial

  • Urgent listbox values in Server side.
    J jayarajmrj

    I have moved the values from one listbox to another listbox by using Javascript. How can I reterive the values from the second listbox in server side ie., code behind? Because i will store the selected values in DB.

    ASP.NET question javascript database sysadmin

  • Urgent Listbox to listbox by using javascript
    J jayarajmrj

    how can i store the values in the 'lstdestination' listbox. Suppose i select the three values from the lstsource. How can i reterive the three values in server side ie., Code behind.

    ASP.NET javascript database

  • Urgent Listbox to listbox by using javascript
    J jayarajmrj

    I have two listboxes ,one of the listbox data is populate in database. And I have two buttons Add and Remove. Once I click the add the button , the selected items is populated in another list box by using Javascript. Similarly Remove also. Give the javascript code or suitable link for the above scenrio

    ASP.NET javascript database

  • Doubt in DropDownList
    J jayarajmrj

    I have the two table ,faculty table and degree table . The faculty table contains firstname,lastname and degree. The degree table contains the degree like BA,BCom,BSC etc., The firstname and lastname is bind in corresponding textboxes. All the degree is populated in DropDownlist and the corresponding faculty degree is selected. For example First Name : Monisha LastName : Saravanan Degree BA BCom BSc MCA MBA Here BSC is selected , when the page is load Give the solution

    ASP.NET tutorial

  • style sheet not working in safari and firefox browsers
    J jayarajmrj

    I have faced one issue. I tested one web application in IE 6.0, it working fine. But the style sheet(CSS) doesn’t work in Safari and Firefox. Give the solution ASAP.

    ASP.NET css help

  • ASP.NET "Overlay"
    J jayarajmrj

    I have created one aspx page which contain some controls like textbox,label,dropdownlist etc.,. The aspx page contain one button called "Overlay". Once i click the button , a new overlay page open with in the aspx page. Pls give the code for this ASAP Thanks in Advance

    ASP.NET csharp asp-net

  • urgent framework
    J jayarajmrj

    In .net 2.0 when we use compiler , we have to use "csc /?" in command prompt for display all the list. Similarly what is the command for .Net 3.0? Note: I have install only .Net 3.0 Framework only.

    .NET (Core and Framework) question csharp

  • Framework 3.0
    J jayarajmrj

    How do we compiler in 3.0 which the C# code written in 2.0? Give the step by step process.

    .NET (Core and Framework) csharp tutorial question

  • How to build .Net 3.0 from .Net 2.0
    J jayarajmrj

    Now I am working in .Net 2.0. I want to Build my application in .Net 3.0. I downloaded 3.0. How can I build 3.0? pls give step by step process.

    .NET (Core and Framework) tutorial question csharp

  • Urgent WebService
    J jayarajmrj

    Below are my codes. I have created one webservice method to Upload the file. I access this webservice in my aspx file. It compile's fine. But it always return the result "2" What is wrong in my code? byte[] fileContent = null; FileStream fStream = null; string strPath = @"D:\XML Tutorial(Basics).doc"; string strFileName = Path.GetFileName(strPath); int uploadStatus; fStream = new FileStream(strPath, FileMode.Open, FileAccess.Read); fileContent = new byte[fStream.Length]; fStream.Read(binFile, 0, (int)fStream.Length); uploadStatus = spService1.UploadAndApproveContent(strFileName, fileContent, 1); if (uploadStatus == 0) Response.Write("File has been UpLoaded"); else if (uploadStatus == 2) Response.Write("File doesn't Contain anything"); else Response.Write("File doesn't uploaded"); [WebMethod] public int UploadAndApproveContent(string fileName, byte[] fileContents ,int approvalStatus) { if (fileContents == null) { return 2; } try { fileName = "Tmp_" + fileName; SPWeb site = new SPSite(srcUrl).OpenWeb(); SPFile spFile = site.GetFile(srcUrl + "/" + fileName); SPFolder folder = site.GetFolder(srcUrl); if (isFileExists(fileName)) { spFile.CheckOut(); spFile.CheckedOutBy.LoginName.ToString(); } else { folder.Files.Add(fileName, fileContents, true); SPModerationInformation spModerationInformation = spFile.Item.ModerationInformation; switch (approvalStatus) { case 1: spModerationInformation.Status = SPModerationStatusType.Pending; spModerationInformation.Comment = "Its pending"; spFile.Item.Update(); return 0; case 2: spModerationInformation.Status = SPModerationStatusType.Approved; spModerationInformation.Comment = "Got the Approval"; spFile.Item.Update(); return 0; case 3: spModerationInformation.Status = SPModerationStatusType.Denied;

    ASP.NET question xml tutorial announcement

  • Byte[] in webservice
    J jayarajmrj

    How to test wheather the content is null or not? byte[] filecontent if(filecontent==null) is it right? pls give ASAP

    C# tutorial question

  • "LastIndexOf" doubt
    J jayarajmrj

    string strPath = @"D:\XML Tutorial(Basics).doc"; string strFileName = strPath.Substring(strPath.LastIndexOf("\\") + 1); Here it works fine to separate the filename. Apart from "LastIndexOf", Is there any method to split the filename from the path. pls give the solution ASAP

    C# xml tutorial

  • WebService Problem
    J jayarajmrj

    I have created one webservice which contains some webmethds . It will compile successfully. Once I modify the Default.asmx.cs file , for example add a new WebMethods,Update the WebMethods , the WSDL doesn't generate the new one. It will show the old one. Pls give the solution ASAP. Advance Thanks jayaraj.r

    ASP.NET wcf help tutorial announcement
  • Login

  • Don't have an account? Register

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