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
M

Member 4659001

@Member 4659001
About
Posts
56
Topics
30
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Need a message Engine (MSMQ +WCF)
    M Member 4659001

    I need to make message engine which uses MSMQ in WCF and uses Data binding binding="netMsmqBinding" so i need some urgent help . Actully i have tried lots of things but nothing worked for me. i got this error Message Server Error in '/' Application. -------------------------------------------------------------------------------- The protocol 'net.msmq' is not supported. by the way my config file loks like <system.serviceModel> <services> <service name="WcfService3.Service1" behaviorConfiguration="serviceBehavior"> <host> <baseAddresses> <add baseAddress="http://localhost:8000/Service1"/> </baseAddresses> </host> <endpoint address="net.msmq://localhost/private/MessagingServiceQueue" contract="WcfService3.IService1" binding="netMsmqBinding" bindingConfiguration="netMsmq"/> <endpoint contract="IMetadataExchange" binding="mexHttpBinding" address="mex" /> </service> </services> <behaviors> <serviceBehaviors> <behavior name="serviceBehavior"> <serviceMetadata httpGetEnabled="true"/> </behavior> </serviceBehaviors> </behaviors> <bindings> <netMsmqBinding> <binding name="netMsmq"> <security mode="None" /> </binding> </netMsmqBinding> </bindings> </system.serviceModel>

    Raghvendra

    WCF and WF wcf help csharp wpf sysadmin

  • How to add scroll Horigental scroll bar in the call of DataGridView in window .net
    M Member 4659001

    How to add scroll Horigental scroll bar in the call of DataGridView Now each X seconds, the datagrid is updated with data from the database. So the datagridview is refreshed. I also want to maintains the position of scroll bar even after datagridview is refreshed. When a user is working on row X, and column Y, and the datagrid is refreshed all the scrollbars get back at position 0. So the horizontal scrollbar is put back to the left side of the screen, and the vertical scrollbar is put back on the top of the screen.

    Raghvendra

    C# csharp database tutorial

  • highlight the selected row in the the Nested gridview.
    M Member 4659001

    OK Next time i will take care , but i request u to ans my problem if no one else

    Raghvendra

    ASP.NET javascript css tutorial question

  • highlight the selected row in the the Nested gridview.
    M Member 4659001

    I took advantage of some code I found on these forums and have created a form that has a nested gridview. The first gridview is bound using the SqlDataSource and on the OnRowBound event, bind data to the nested gridview. Then using JavaScript i hide the nested gridview until the user clicks on an image. The code I found for the javascript nested grid view is here. I then added code to highlight the selected row in the the first gridview. What i need to know is how would I go about adding code to make it so that I can do the same for the nested gridview? Sample code protected void Page_PreRenderComplete(object sender, System.EventArgs e) { //GridView nestedGrid = (GridView)GridView1.FindControl("GridView2"); foreach (GridViewRow y in GridView1.Rows) { y.Attributes.Add("onclick", "setSelected(this);"); } } function setSelected(selRow) { // alert(selRow.rowIndex); var tbl = document.getElementById("GridView1"); for(var i = 1; i < tbl.rows.length; i++) { if(selRow.rowIndex == i) { selRow.style.fontWeight = "Bold"; selRow.style.backgroundColor = "Yellow"; } } } But once i moved to child grid that time Click event of parent Grid cell does not fired so all highlited row of parent grid gone. so how to solve it Raghvendra

    Raghvendra

    ASP.NET javascript css tutorial question

  • Please Its Urgent (highlight the selected row in nested gridview? [modified])
    M Member 4659001

    I took advantage of some code I found on these forums and have created a form that has a nested gridview. The first gridview is bound using the SqlDataSource and on the OnRowBound event, bind data to the nested gridview. Then using JavaScript i hide the nested gridview until the user clicks on an image. The code I found for the javascript nested grid view is here. I then added code to highlight the selected row in the the first gridview. What i need to know is how would I go about adding code to make it so that I can do the same for the nested gridview? Sample code protected void Page_PreRenderComplete(object sender, System.EventArgs e) { //GridView nestedGrid = (GridView)GridView1.FindControl("GridView2"); foreach (GridViewRow y in GridView1.Rows) { y.Attributes.Add("onclick", "setSelected(this);"); } } function setSelected(selRow) { // alert(selRow.rowIndex); var tbl = document.getElementById("GridView1"); for(var i = 1; i < tbl.rows.length; i++) { if(selRow.rowIndex == i) { selRow.style.fontWeight = "Bold"; selRow.style.backgroundColor = "Yellow"; } } } But once i moved to child grid that time Click event of parent Grid cell does not fired so all highlited row of parent grid gone. so how to solve it

    Raghvendra

    modified on Tuesday, June 30, 2009 12:06 PM

    ASP.NET javascript css tutorial question

  • Align a paragraph in rich text box
    M Member 4659001

    I m working on window application in vb.net. where i need to Align a paragraph in rich text box. dont know how to do it as RichTextBox control provides three alignments, Left Right & Centre. I need to align a paragraph in RichTextBox to Justify(strech each line to fit in text area), as it is in Microsoft Word application. This is an urgent requirement. I would be greatful for immediate response

    Raghvendra

    ASP.NET csharp tutorial

  • I am in need of generate the XML file using XML schema with VB.net.
    M Member 4659001

    I am in need of generate the XML file using XML schema with VB.net. (how to fill the valves from database to this schema and finally how to generate Xml file form sample.xsd file I mean My sample.xsd file looks like this <?xml version="1.0" encoding="utf-8" ?> <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="ProcessResults"> xs:complexType xs:sequence <xs:element name="KASAAcctID"> xs:complexType xs:sequence </xs:sequence> </xs:complexType> </xs:element> <!--starts Results Tags--> <xs:element name="Results"> xs:complexType <xs:sequence > <!--starts Candidate Tag Tags--> <xs:element name="Candidate"> xs:complexType xs:sequence <xs:element name="FirstName" type="xs:string" /> <xs:element name="LastName" type="xs:int" /> <xs:element name="Uid" type="xs:int" /> <!--starts Demorgraphics Tag Tags--> <xs:element name="Demorgraphics"> xs:complexType xs:sequence <xs:element name="Race" type="xs:string" /> <xs:element name="Gender" type="xs:int" /> <xs:element name="BirthMonth" type="xs:int" /> <xs:element name="BirthDay" type="xs:int" /> <xs:element name="BirthYear" type="xs:int" /> </xs:sequence> </xs:complexType> </xs:element> <!--Ends Demorgraphics Tag Tags--> <xs:element name="DollarGeneralLocation" type="xs:int" /> <!--starts Responses Tag Tags--> <xs:element name="Responses"> xs:complexType xs:sequence <xs:element name="Response" type="xs:int" /> </xs:sequence> </xs:complexType> </xs:element> <!--Ends Responses Tag Tags--> </xs:sequence> </xs:complexType> </xs:element> <!--Ends Candiadte Tag Tags--> </xs:sequence> </xs:complexType> </xs:element> <!--Ends Result Tag Tags--> </xs:sequence> </xs:complexTy

    ASP.NET database xml csharp tutorial

  • Whe service which takes Filestream as parameter
    M Member 4659001

    I have a windows form application that creates a filestream object and > then > calls my webservice passing the filestream object. > > I got an error message can't convert windows application filestream to > type > webservice filestream. > > They are both the same type Please help meeee

    Raghvendra

    ASP.NET help

  • web service message queue (can some one please Help me)
    M Member 4659001

    In my project i need to make a web service that uses massage queuing. for it i need "web service message queue(wsmq)" So can any body give me some useful Link about it Thanks in advance

    Raghvendra

    ASP.NET data-structures help

  • Error When Updating the content of Excel File From Code
    M Member 4659001

    i updating the content (column F2) of exel sheet with this code this is working fine In My Company LAn. Like i access this code from server And from client Pc I can Update It Using Code Given Below but when i wrote this code at Client server ,And Trying to do the same , it gives the error : Operation Must use an update able Query Code Is given below Protected Sub Call1() Dim connectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\OrderHeader.xls;Extended Properties=""Excel 8.0;HDR=YES;""" Dim factory As DbProviderFactory = DbProviderFactories.GetFactory("System.Data.OleDb") Using connection As DbConnection = factory.CreateConnection() connection.ConnectionString = connectionString Using command As DbCommand = connection.CreateCommand() command.CommandText = "Update [OrderHeader$] set F2= 'Used'" connection.Open() command.ExecuteNonQuery() End Using End Using End Sub i need it on urgent basis. Plz ..........

    Raghvendra

    ASP.NET

  • How to update Content of Exel sheet [modified]
    M Member 4659001

    In One of my page i need to read the data from Exel Sheet , and After reading the content form it I need to delete the content of Exel Sheet (means i need to delete all rows it contain I have done till how to read data from exel , Now i need to blank it so Plz Guide me how to Blank Exel sheet Well for deleting i used a function private void call1() { string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\\OrderHeader.xls;Extended Properties=""Excel 8.0;HDR=YES;"""; DbProviderFactory factory = DbProviderFactories.GetFactory("System.Data.OleDb"); using (DbConnection connection = factory.CreateConnection()) { connection.ConnectionString = connectionString; using (DbCommand command = connection.CreateCommand()) { command.CommandText = "Delete from [OrderHeader$]"; connection.Open(); command.ExecuteNonQuery(); } } } But it is giving error msg Deleting data in a linked table is not supported by this ISAM.

    Raghvendra

    modified on Wednesday, March 4, 2009 9:29 AM

    ASP.NET tutorial help announcement

  • Import data from Excel sheet to sql Database-asp.net 2.0
    M Member 4659001

    Thanks For Reply, I did the same as u instructed , But Still Having Same Error

    Raghvendra

    ASP.NET database csharp asp-net help

  • Import data from Excel sheet to sql Database-asp.net 2.0
    M Member 4659001

    Currently I need to write a code To Import data from Excel sheet to sql Database-asp.net 2.0 I Have Written A function For It Function Is Given Below ; But as i execute it it gives Error Meaasge "The Microsoft Jet database engine cannot open the file 'D:\'. It is already opened exclusively by another user, or you need permission to view its data." I Have Order.xls File In D Drive protected void btnUpload_Click1(object sender, EventArgs e) { string PathtoTextFile = ("D:\\"); Response.Write(PathtoTextFile); System.Data.OleDb.OleDbConnection oCon = new System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\\;Extended Properties= \"Excel 8.0;HDR=no;IMEX=1 \""); System.Data.OleDb.OleDbDataAdapter oCmd = new System.Data.OleDb.OleDbDataAdapter("select * from Order.xls", oCon); DataSet myDS = new DataSet(); oCmd.Fill(myDS); oCon.Close(); }

    Raghvendra

    ASP.NET database csharp asp-net help

  • throws an error that the cursor already exists: How to sholve this problem
    M Member 4659001

    Sir If u can Give me some help regarding i would be thankful to u bcos i nedd it urgent i m facing same prob since last 2 days

    Raghvendra

    ASP.NET help tutorial

  • throws an error that the cursor already exists: How to sholve this problem
    M Member 4659001

    I m eagerly waiting urs response sir

    Raghvendra

    ASP.NET help tutorial

  • throws an error that the cursor already exists: How to sholve this problem
    M Member 4659001

    Yors given link navigate to to some page url of it is http://www.codeproject.com/script/Forums/View.aspx?fid=12076&select=2775545&tid=1278599 which shows nothing to me sir Please give me some hint bcose it is really urgent to me

    Raghvendra

    ASP.NET help tutorial

  • throws an error that the cursor already exists: How to sholve this problem
    M Member 4659001

    alter proc CopyObject (@ObjectId int, @NewParentId int) as declare @NewId int, @NewName varchar select @NewId = max(Id) + 1 from Object select @NewName = [Name] + 'copy' from [Object] where Id = @ObjectId -- copy object INSERT INTO [Object] ([Id] ,[Name] ,[ParentId] select @NewId, @NewName, @NewParentId from [Object] where Id = @ObjectId -- copy children and set their parent to the newly created object declare c cursor fast_forward for select Id from [Object] where ParentId = @ObjectId declare @ChildId int open c fetch next from c into @ChildId while @@fetch_status = 0 begin exec CopyObject @ObjectID = @ChildId, @NewParentId = @NewId fetch next from c into @ChildId end close c deallocate c But htis throws an error that the cursor already exists:

    Raghvendra

    ASP.NET help tutorial

  • Cursor of n leavel
    M Member 4659001

    Currently i m working on a table which have n level structure (it has Process name and Parentprocess Name in it) So his way i defined n level of it now thrugh cursor i want to fetch and i only do have 0'th level Process Name thrugh cursor i only do get one level Sub process (i need sthin like while loop ) how to do it

    ASP.NET tutorial

  • how this Request.send work (XMLHttpRequest )
    M Member 4659001

    i had a lots og googling abt how internally it works but could not get it at each palce i got abt how and where to call it but internally everything was hidden

    Raghvendra

    ASP.NET database

  • how this Request.send work (XMLHttpRequest )
    M Member 4659001

    in one of my project at one palce XMLHttpRequest object is been mase Request.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); var obj = this; Request.onreadystatechange = function() { obj.OnReadyState(Request); }; Request.send(PostParams); i objerved this send method executes the request but how it does work how it executes query i could not got it so i need guidence on it

    Raghvendra

    ASP.NET database
  • Login

  • Don't have an account? Register

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