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
S

sharad Pyakurel

@sharad Pyakurel
About
Posts
23
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • GSMComm Library Supported Modem.
    S sharad Pyakurel

    I tested some devices in Hyper Terminal using Attention(AT) Commands. These supported some AT Commands but not supported commands for receiving SMS from SIM And Phone Memory, Reading Delivery Status etc. Now i am expecting a GSM Modem which supports All AT Commands.

    ASP.NET help question

  • GSMComm Library Supported Modem.
    S sharad Pyakurel

    Hi, I studied about GsmComm Library and AT Command for sending and receiving SMS through GSM Modem/GSM Mobile. Most devices supported sending SMS successfully but I unable to Receive SMS using any devices. After hundreds of attempts i have expected your help regarding this issue. Please inform me which GSM Modem supports SMSComm Library for sending and receiving SMS? Please help me. Thank you.

    ASP.NET help question

  • Please provide detailed description about delegates
    S sharad Pyakurel

    You don't know about www.google.com

    ASP.NET csharp asp-net question

  • DateFormat Problem in ASP.NET
    S sharad Pyakurel

    This problem is solved after changing Globalization setting in Web.Config File. Previously i had used en_US culture, Now it is changed to en_GB then problem is solved. Thank you all for yours remarkable helps.

    ASP.NET csharp help asp-net database sql-server

  • DateFormat Problem in ASP.NET
    S sharad Pyakurel

    Error when using virtual Directory is: Exception Details: System.FormatException: String was not recognized as a valid DateTime. Source Error: Line 298: if (str.ToString().Trim().Length > 0) Line 299: { Line 300: result = "'" + Convert.ToDateTime(str).ToString("MM/dd/yyyy") + "'"; Line 301: } Line 302: else But it is ok from Visual Studio.

    ASP.NET csharp help asp-net database sql-server

  • DateFormat Problem in ASP.NET
    S sharad Pyakurel

    I have needed to insert and update DateTime Field in MSSQL Database Table. I am using Text Querry. My input Control is TextBox where the format of Date is "dd/MM/yyyy". In Database it should be save as "yyyy-MM-dd". I have used a Function to convert Date Format as: public static string ConvertToDate(string pstr) { string result=string.empty; try { result = "'" + Convert.ToDateTime(str).ToString("yyyy/MM/dd") + "'"; } catch { result = System.Data.SqlTypes.SqlDateTime.Null.ToString(); } } The string Data Returned after conversion is used for insertion. I I execute Application Visual studio by compiling it works well. but when i make virtual Directory of this application and run this through browser it doesn't work. How can i solve this issue.

    ASP.NET csharp help asp-net database sql-server

  • Matrix Report in Crystal Report
    S sharad Pyakurel

    I have some knowledge in Crystal Report. I have needed to create report in crystal report in Matrix form, i.e. table grows horizontally and vertically, But i have no idea how to create such report. Please provide me some ideas to create such reports.

    ASP.NET tutorial

  • Javascript Problem in asp.net in Content page
    S sharad Pyakurel

    Thankyou Castle Rider. It worked. btnSet.Attributed.Add("onClick","setValueInTextBox(document.getElementById('"+txtValue.ClientID+"'))");

    ASP.NET csharp javascript asp-net help

  • Javascript Problem in asp.net in Content page
    S sharad Pyakurel

    I am trying to set value in Label and Dropdown list in Asp.net content page from external javascript file. I did for textbox by passing ClientID of TextBox through parameter as: function setValueInTextBox(ctrVal) { ctrVal.value="strvalue"; } and in cs file: btnSet.Attributed.Add("onClick","setValueInTextBox("+txtValue.ClientID+")"); This works for TextBox. But i unabled to set values in Label and Dropdownlist controls. What should i do, please suggest me.

    ASP.NET csharp javascript asp-net help

  • Stored Procedure OUTPUT Parameter not working.
    S sharad Pyakurel

    Stored Procedure is executed after specifying the size of output parameter. I unable to get output parameters value as: string s=ExecuteScaler(cmd); Parameters value is not retrived in s. But if i cal using com_parameters[strParameter].value it gives value. I mean it gives single row data. How can i get OutPut parameters and other datas in tebular form, Like data returned by Select querry.

    ASP.NET database help

  • Unable To Export Sub-report Data In Excel Format????
    S sharad Pyakurel

    Use ExcelRecord instead in Excel. i.e. ExportFormatType.ExcelRecord for eg: ReportDocument.ExportToHttpResponse(ExportFormatType.ExcelRecord, Response, true, "Report");

    ASP.NET question

  • Stored Procedure OUTPUT Parameter not working.
    S sharad Pyakurel

    For Parameter type Input it works perfectly. But with OUTPUT Parameter Type It Displays following Error in place of ExecuteScaler Method: String[1]: the Size property has an invalid size of 0. (Actually I have a Stored Procedure which takes @Amount as input and converts the input in word, here @word in output Parameter. It should convert input amount in word. Stored Procedure is right. but something wrong with executing from application. What should i do.

    ASP.NET database help

  • Stored Procedure OUTPUT Parameter not working.
    S sharad Pyakurel

    My method adds parameters to stored procedure as: public void AddParameter(string StrName, SqlDbType objType, ParameterDirection objDirection) { SqlParameter l_Param = new SqlParameter(); l_Param.ParameterName = StrName; l_Param.SqlDbType = objType; l_Param.Direction = objDirection; Command.Parameters.Add(l_Param); } public void AddParameter(string strName, SqlDbType objType, ParameterDirection objDirection, object objValue) { AddParameter(strName, objType, objDirection); } I have send parameters to stored procedure using above method and used ExecuteScaler and ExecuteReader both. But it displays error while executing stored procedure.

    ASP.NET database help

  • Which is the best printing in ASP.NET
    S sharad Pyakurel

    Hi, I am developing an application in ASP.NET 2008. In this application i need to print various reports. Some reports need to be printed in customized paper also. For this purpose i am searching for best searching solution of printing reports. I have more idea in printing in Crystal Report. I know some about JavaScript printing also. Here i have found using Crystal Report is easy for me. But i don't know if i use Crystal Report in my application it affects in performance or not. Which is best printing technique for web application. Please reply me with some ideas and source codes. Reply me.

    C# csharp javascript asp-net algorithms performance

  • Conditional X and Y position of a Crystal Reports field
    S sharad Pyakurel

    In CR XI it is possible to adjust the x position conditionally. But is it also possible to adjust the y position conditionally? For my report i need to adjust the position of a field based on it's value. I have needed to conditionally adjust the x and y position of fields. Is this possible? If Yes How? Please reply me.

    C# question

  • Problem in Printing Receipt using Crystal Report using C# code
    S sharad Pyakurel

    I have a Problem in Printing Receipt using EPSION DotMatrix Printer using C# program. The Report has been designed in CrystalReport11-R2. My papers size is Heigth:10 inch Width:9.5 Inch. Printing single page is ok, but when i print morethan one page at once datas are printed in unrequired location. So, I want to ask which paper setting should be done for my paper and how? In short, How can i Print receipt in continuous sheet paper having height 10 inch and Width 9.5 inch using EPSION Dot Matrix Printer using C# code? Please Help Me:

    C# help question csharp

  • Paper Setting Problem in Dot Matrix Printer using Crystal Report.
    S sharad Pyakurel

    Hi, In my application i have to print receipt using Dot Matrix Printer(EPSION LQ-300+II). My receipt have preprinted format, in this format i have to send datas using C# code. My papers size is:Height:10 Inch and Width 9.5 inch. The paper is regular paper. The problem is in first page datas are printed in required location but in next page it is printed in other location. So, How to set paper size in Crystal Report using C# application for this case: I have set like this: Reports.frmCrViewer.PaperSize = PaperSize.Paper10x14; Reports.frmCrViewer.PaperOrientiation = PaperOrientation.DefaultPaperOrientation; this syntax is correct but the paper size Paper10*14 didn't matched my requirement. So, what should i have to do to print in paper having size 10*9.5 inch. Please Help Me

    C# help csharp tutorial

  • Slow in displaying Crystal report
    S sharad Pyakurel

    I have used Oracle10g Database. Yes is retrieved by client side from server. This is windows application. In my report In crystal report oracle Database is not connected. used Dataset and DataTable. my coding pattern is like this. private void btnTestReceipt_Click(object sender, EventArgs e) { ReportDocument rptdmt=new ReportDocument(); DataTable dtr=GetDatas(); string ReportName = Application.StartupPath + "\\Reports\\rptCashReceiptPP.rpt"; rptdmt.Load(ReportName); rptdmt.SetDataSource(dtr); CrystalReportViewer.ReportSource = rptdmt; } private DataTable GetDatas() { StringBuilder sb=new StringBuilder(); sb.Append("SELECT *from TableName WHERE CONDITION"); DataTable dt=_con.ExecuteDataTable(sb.ToString()); DsDataSet.UserDataTable dtrep=new DsDataSet.UserDataTable(); //This is object of DataTable of Typed Dataset named DsDataset. foreach(DataRow dr in dt.Rows) { dtrep.Rows.Add(dr.ItemArray); } dtrep.AcceptChanges(); return dtrep; }

    C# help question

  • Slow in displaying Crystal report
    S sharad Pyakurel

    Hi, I am using CrystalReport XI-R2, in my application. I have used a Types Dataset and DataTables in the report. Data retrieved from querry has been added in the DataTable and in the report the DataSource of the report has been set that DataTable. This report displays values correctly. There are nearly 5 custom querries and 3 Subreports in the report. The problem is that in the display of report it is displayed nearly after 1 minutes which is very slow in my requirement. Please suggest me, what is its solution.

    C# help question

  • How to Export Contents of DataTable and DataGridView in Excel without using Excel object.
    S sharad Pyakurel

    Thank you very much for your reply.

    C# html css 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