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
H

HowRU

@HowRU
About
Posts
23
Topics
19
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Crystal report parameterfield
    H HowRU

    Hi , I am working on crystal report on web form..I am passing parameter to report for that I had a code as follows.... ParameterFields parameterFields = new ParameterFields(); ParameterField parameterField = new ParameterField(); parameterField.ParameterFieldName = "DeliveryDate"; ParameterDiscreteValue dv = new ParameterDiscreteValue(); dv.Value = DateTime.Today; parameterField.CurrentValues.Add(dv); this.parameterFields.Add(parameterField); Proble in this is instead of " parameterField.CurrentValues.Add(dv); " I am not getting the property of parameterfield as CurrentValues instead there comes.... " parameterField.get_CurrentValues; " & it's not working.....so can anybody help me to get the Currentvalues property for the parameterfield. In my project I added the referece as ... using CrystalDecisions.CrystalReports.Engine ; using CrystalDecisions.Shared; using CrystalDecisions.CrystalReports; still it is not giving that property.... plz help me... Thanks..

    ASP.NET help

  • Datagrid's runtime row coloring
    H HowRU

    Hi, Ya correct it working fine....but the main thing on this page is to pass that EmpId to the second page for that purpose onclick of that column I am calling one function... OpenfrmPOnumWindow('<%#DataBinder.Eval(Container.DataItem,"EmpId")%>')" so whenever i am adding this on the asp:Linkbutton's onclick it is giving me the parsing error as newline in compilation...so can you plz add this type of function to your code & run it again.... Thanks...

    ASP.NET help csharp docker

  • Datagrid's runtime row coloring
    H HowRU

    Hi, I am working on web form , my code behind is C#. Problem is that I want to paint my datagrid's row at runtime..Whenever I click on a template column that particular row should be painted... So can anybody help me to paint a particular row onclick of this columns particular cell at runtime. The template column was designed as follows..... asp:TemplateColumn HeaderText="PONumber" ItemTemplate a id="Number" name="Number" style="COLOR: blue; TEXT-DECORATION: underline" onmouseover="this.style.cursor='hand'" onclick="Openwindow('<%#DataBinder.Eval (Container.DataItem,"Id")%>');"> <%#DataBinder.Eval(Container.DataItem,"Number")%> Thanks...

    ASP.NET help csharp docker

  • Dynamically giving color to the datagrid
    H HowRU

    Hi , I want to give the color to the particular row of the datagrid at runtime....when....the template column is clicked....so i want to give the backcolor to the entire row at that time that means runtime.... In datagird I have a one column which is a template column... i have tried like this but this is giving color to the row permanently.....& want to change its color as & when that row's template column clicked....please help me for(int i=0; i < DGPODetailShow.Columns.Count;i++) { DGPODetailShow.Items[0].Cells.[i].BackColor=System.Drawing.ColorTranslator.FromHtml("#EBE5DE"); } Can anybody help me.... Thanks

    C# graphics help

  • To give color to a row of datagrid
    H HowRU

    Hi , I want to paint or we can say give the color to the particular row of the datagrid....when....the template column is clicked....so i want to give the backcolor to the entire row at that time.... In datagird I have a one column which is a template column... Can anybody help me.... Thanks

    C# help

  • To add a style in datagrid
    H HowRU

    Hi , I want to add a style to the particular row's text in datagrid....as my datagrid is directly take the data from store procedure.... datagrid2.datasource=ds; datagrid2.databind(); i want to add the style like whenever my mouse is over on that text i want to change the cursor as a hand. In the css file i created a style for the hand named "hand" ....that's the same i m using in the following code.... datagrid2.Items[i].Cells[1].Style.Add("onmouseover","hand"); plz help me.... Thanks..

    C# css help

  • how to add a style in datagrid
    H HowRU

    Hi , I want to add a style to the paricular row's text in datagrid....as my datagrid is directly take the data from store procedure.... datagrid2.datasource=ds; datagrid2.databind(); i want to add the style like whenever my mouse is over on that text i want to change the cursor as a hand. In the css file i created a style for the hand named "hand" ....that's the same i m using in the following code.... datagrid2.Items[i].Cells[1].Style.Add("onmouseover","hand"); plz help me.... Thanks..

    C# css help tutorial

  • datagrid in C#
    H HowRU

    HI all, On my web form i have a datagrid DGrid.DataSource=ds; DGrid.DataBind(); in this datagrid I want to add a hyperlink at runtime to the existing column....i dont want to add it at design time ...& want to give a backcolor to the first row.... so plz help me... thanks....

    ASP.NET csharp design help

  • comapre date
    H HowRU

    //*** validation function dispError() { setPage(); if(document.all("hdnInvallidVendor").value!='') { alert('Invalid vendor number :' + document.all("hdnInvallidVendor").value); document.all("hdnInvallidVendor").value=''; if( document.all("r3").style.display=="block") { document.all("txtVendor").focus(); document.all("txtVendor").select(); } else { document.all("txtVendor7").focus(); document.all("txtVendor7").select(); } } } function chkNumber(con) { var checkOK = '0123456789.'; var ch; con.value=Trim(con.value); var checkStr = con.value; var allValid = true; for (i = 0; i < checkStr.length; i++) { ch = checkStr.charAt(i); if( checkOK.indexOf(ch) == -1) { allValid=false; break; } } if(allValid==false) { alert('Invalid number.'); con.focus(); con.select(); } else { if(con.value!='') { if(parseFloat(con.value)>0) { con.value=parseFloat(con.value); } else { alert("Please enter value greater then zero!"); con.focus(); con.select(); } } } } function chkOrdNumber(con) { var checkOK = '0123456789'; var ch; con.value=Trim(con.value); var checkStr = con.value; var allValid = true; for (i = 0; i < checkStr.length; i++) { ch = checkStr.charAt(i); if( checkOK.indexOf(ch) == -1) { allValid=false; break; } } if(allValid==false) { alert('Invalid number.'); con.focus(); con.select(); } else { if(con.value!='') con.value=parseInt(con.value); } } function chkNumberRS(con) { var checkOK = '0123456789.'; var ch; con.value=Trim(con.value); var checkStr = con.value; var allValid = isNaN(checkStr); if(allValid==true) { alert('Invalid number.'); con.focus(); con.select(); } else { if(parseInt(checkStr)<0) { alert("Plese Enter Postitive Number!"); con.focus(); con.select() } else { if(con.name=='txtOrderAmnt2') { result= chkGreaterLess(con); if(result==false) { con.focus(); con.select(); } else { if(con.value!='') con.value=parseFloat(con.value); } } else { if(con.value!='') con.value=parseFloat(con.value); } } } }

    ASP.NET

  • comparing dates asp.net
    H HowRU

    Hi all, this is my function which will compare the two dates start & end.....i no that this code was not sufficient to compare bocz...whenever the dates are like start-- 23-6-2004 & end--- 7-6-2004 it compares only the 2 in 23 with 7 & dont gives any message...so plz help me... function compareDate() { var strStartDay; var strStartMonth; var strStartYear; var strEndDay; var strEndMonth; var strEndYear; strStartDay =frm.txtStartDay.value; strStartMonth =frm.txtStartMonth.value; strStartYear =frm.txtStartYear.value; strEndDay =frm.txtEndDay.value; strEndMonth =frm.txtEndMonth.value; strEndYear =frm.txtEndYear.value; if(strStartDay > strEndDay || strStartMonth > strEndMonth || strStartYear > strEndYear ) { alert("End Date should be Greater" + strEndDay + strEndMonth + strEndYear); } Thanks...

    ASP.NET csharp asp-net help

  • display user name
    H HowRU

    Hi Aryadip, I tryed to use your code in the following way but its giving me the blank output...why?...why not the windows user name.. lblUserName.Text=this.User.Identity.Name.ToString(); reply me thanks.

    ASP.NET help

  • comparing dates
    H HowRU

    Hi, Help me please... What I want is to compair the start & end date on the web page...as when the user fills the forms details...like date...when he fills the end date after start date i should prompt him that "end date should be greater than start date" ...so for this i ve to compare the two dates....in javascript....i am working in asp.net(C#)... so please help me... Thanks....

    ASP.NET csharp javascript asp-net help

  • display user name
    H HowRU

    HI, Help me for a very simple thing.. I want to display the name of the windows loggin user on the right top of my web page...that means when ever the user run my application his/her name should be displayed on that page....like "welcome abc" Please help me... Thanks

    ASP.NET help

  • Triggers in SQL
    H HowRU

    Hi, Please help me... I ve 2 tables like one is 'emp' & other is copy of 'empc' Wht i want...whenever i update the emp table the old contents should be moved to the empc table & the new should be overwritten in the emp table... & i want all this should be done through a trigger...may be on update... but...this will overwrite the contains of emp...so wht should i do.... Thanks

    Database database help announcement

  • datareader in asp.net using c#
    H HowRU

    Hi, In the following code the last line.... dread=cmd.ExecuteReader(); //ExecuteReader method on Command Object. while(dread.Read()) { txtEmpID.Text=dread.GetString(0); txtEmpName.Text =dread.GetString(1); txtcity.Text=dread.GetString(2); txtphone.Text=dread.GetInt32(3); //****giving error**** } ....is giving error like ////// {specified cast is not valid} as in sql database Phone field is numeric.....if i change it's datatype to decimal & that line to this.... txtphone.Text=dread.GetDecimal(3).ToString(); then it works.....so plz help me if i ve numeric or int. datatype of fields in the database...then how to read them??....which GetXXXXX() function, we will use for that... please help me... Thanks

    ASP.NET csharp database help asp-net question

  • datareader in asp.net using c#
    H HowRU

    Hi All, Can anybody help me?.... I am using a datareader to read from the database, i have the select query for this & reading the contents of the table ok... I am getting the correct output using a datareader for the datagrid ....as.... DGShow.DataSource=dread; DGShow.DataBind(); ...but i want to put the same contains in the textbox also....but whenever i read the contains i am getting this error message.... Exception Details: System.InvalidOperationException: Invalid attempt to read when no data is present. the code is...... while(dread.Read()) { txtEmpID.Text=dread.GetString(0); txtEmpName.Text =dread.GetString(1); txtcity.Text=dread.GetString(2); txtphone.Text=dread.GetInt32(3); } as i am not sure that i m on right track please help me.. thanks

    C# csharp database help asp-net question

  • datareader in asp.net using c#
    H HowRU

    Hi All, Can anybody help me?.... I am using a datareader to read from the database, i have the select query for this & reading the contents of the table ok... I am getting the correct output using a datareader for the datagrid ....as.... DGShow.DataSource=dread; DGShow.DataBind(); ...but i want to put the same contains in the textbox also....but whenever i read the contains i am getting this error message.... Exception Details: System.InvalidOperationException: Invalid attempt to read when no data is present. the code is...... while(dread.Read()) { txtEmpID.Text=dread.GetString(0); txtEmpName.Text =dread.GetString(1); txtcity.Text=dread.GetString(2); txtphone.Text=dread.GetInt32(3); } as i am not sure that i m on right track please help me.. thanks

    ASP.NET csharp database help asp-net question

  • Calender control in asp.net
    H HowRU

    Hello Aryadip Thanks! that code is working & comparitively it's so simple.

    C# csharp asp-net sysadmin tutorial question

  • Calender control in asp.net
    H HowRU

    Hi all, How to use a textbox control along with a calender control in asp.net codebehind is C#. onclick of the calender's particular date the day/month/year should be put in the 3 textbox respectively?. How to code for this. On server side or client side. because i want that dates comparison also. thanks in advance

    C# csharp asp-net sysadmin tutorial question

  • Calender control in asp.net
    H HowRU

    Hi How to use a textbox control along with a calender control in asp.net codebehind is C#. Onclick of the calender's particular date the day/month/year should be put in the 3 textbox respectively?. How to code for this. On server side or client side. because i want that dates comparison also. thanks in advance

    ASP.NET csharp asp-net sysadmin tutorial question
  • Login

  • Don't have an account? Register

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