Click here to Skip to main content
Page 1 of 3
Page Size: 10 · 25 · 50


Author filtered by: deepakdynamite [x]
print notepad from batch file? by deepakdynamite
Answer 13 May 2013   license: CPOL
http://www.robvanderwoude.com/printfiles.php[^]
C#
Answer 13 May 2013   license: CPOL
Please see below links...
Answer 13 May 2013   license: CPOL
select CAST(DATEDIFF(dd,'2013-04-16 05:00:00' , '2013-04-19 20:00:10') as varchar) +':'+convert(char(5), dateadd(ss, DATEDIFF(ss,'2013-04-16 05:00:00' , '2013-04-16 20:00:10'), cast(0 as DateTime)) , 108)
Question 12 May 2013   license: CPOL
Following Query returns me Number difference in format of "HH:MM:SS"select convert(char(8), dateadd(ss, DATEDIFF(ss,'2013-04-16 05:00:00' , '2013-04-16 20:00:10'), cast(0 as DateTime)) , 108)output of above query is " 15:00:10 " which is correct but if i change query as below...
Export to excel from Grid by deepakdynamite
Question 1 Apr 2013   license: CPOL
Hello everyone,I am using following code to export data to excel.table.RenderControl(htw);// render the htmlwriter into the responseResponse.Write("");Response.Write("");Response.Write("
Question 28 Mar 2013   license: CPOL
Hello Everyone,I am using following query to export output of query to an excel file.insert into OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\Projects\Book1.xls;', 'select * from [sheet1$]') SELECT N_APP_DESCRIPTION FROM N_APP_APPLICATIONHere i am trying to...
Question 22 Mar 2013   license: CPOL
Why its highly recommended to dispose all objects/Datasets/Datatables in finally block when .net have its own Garbage collector which handles memory deallocation automatically and runs after specific interval.Thanks in advance.
setting subreport as Landscape by deepakdynamite
Question 4 Feb 2013   license: CPOL
Hello Everyone,I have a main report which loads in Portrait having one subreport. My requirement is to load subreport as landscape in main report which is Portrait. Any idea ?Thanks,
Question 29 Jan 2013   license: CPOL
I have this table in procedureDECLARE @tbl_copy TABLE ( BasicObsEntered NVARCHAR(20), BasicObsEnteredDate NVARCHAR(100), [STATUS] nvarchar(10), CategoryOne nvarchar(30), NAME nvarchar(125), ItemName nvarchar(125), [Value] nvarchar(60), UnitOfMeasure...
My vote of 5 by deepakdynamite
Forum Message 24 Dec 2012  
Nice explanations with examples
Answer 23 Dec 2012   license: CPOL
try this $("element").cursor("pointer")
Answer 23 Dec 2012   license: CPOL
HelloCheck this out http://forums.asp.net/p/933817/1101287.aspx[^]
Answer 23 Dec 2012   license: CPOL
Hello,You can use IF NOT EXISTS AS WELL....
Need code for marquee by deepakdynamite
Answer 23 Dec 2012   license: CPOL
Check this out...http://www.quackit.com/html/codes/stop_marquee.cfm[^]Go though various examples available in this.Here is your solution :Go on... press the button!
Answer 23 Dec 2012   license: CPOL
Hello,Check this out. I hope this will help youhttp://forums.asp.net/t/1384485.aspx[^]You will have to pass reference of textbox to external js file's function
Sorting in sql server by deepakdynamite
Question 18 Dec 2012   license: CPOL
Hello Everyone,I want to sort few records which actually contains Duration but they are in nvarchar datatype.. For eg. Select '33:14:14' as 'Duration'UNIONSelect '1:16:36' as 'Duration'UNIONSelect '0:3' as 'Duration'UNIONSelect '0:29' as 'Duration'UNIONSelect '02:12:39'...
two colors in td as background by deepakdynamite
Question 18 Dec 2012   license: CPOL
I want to create square shaped table cell which will have grey color in lower triangle and blue in upper triangle.
Answer 18 Dec 2012   license: CPOL
Check this out [^]URL Rewriting in ASP.NET 2.0[^]
Answer 18 Dec 2012   license: CPOL
Please go through thisHow to print particular record using crystal report in visual studio 2005[^]
Answer 9 Nov 2012   license: CPOL
Use Javascript , check this out http://www.codingforums.com/archive/index.php/t-87591.html[^]
Answer 9 Nov 2012   license: CPOL
Check this out http://stackoverflow.com/questions/3265316/how-to-split-and-insert-csv-data-into-a-new-table-in-single-statement[^]
combobox coding in C# by deepakdynamite
Answer 9 Nov 2012   license: CPOL
Check this out :http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.selectedindexchanged.aspx[^]http://stackoverflow.com/questions/3263240/how-to-stop-a-comboboxs-selectedindexchanged-event-from-firing-when-the-form-lo[^]
find empty excel file in c# by deepakdynamite
Answer 9 Nov 2012   license: CPOL
Whenever we create any blank excel file, File is created with default size. say 24kb or something like that... track that figure and compare your file size against that figure. I guess this will help you to know if file is empty or not
Answer 9 Nov 2012   license: CPOL
Check this out :http://stackoverflow.com/questions/9270125/sending-email-with-attachment-that-accepts-particular-file-type-in-asp-net-c-sha[^]
Answer 9 Nov 2012   license: CPOL
Check this out :http://forums.asp.net/t/1058011.aspx/1/10[^]http://blog.oscarscode.com/dot-net/redirect-to-another-page-with-javascript-in-asp-net/[^]Apart from this, Create a linkbutton with Text = "" and write post-back (click event) method for that link button. In the postback...
Pass Array element as Array by deepakdynamite
Answer 9 Nov 2012   license: CPOL
It's not exactly solution Instead, Can you try to assign it like shown below :byte[4][] channelArr = new byte[4][];channelArr[0]= ch11;channelArr[1]= ch12;channelArr[2]= ch13;
Answer 9 Nov 2012   license: CPOL
Check this out JavaScript - How to Set values to Session in Javascript[^]you can assign null instead of values
Answer 8 Nov 2012   license: CPOL
you will have to explicitly redirect it to log out page. and make sure you have cleared all sessions before redirecting it to log out page
Answer 8 Nov 2012   license: CPOL
Check this out http://stackoverflow.com/questions/690465/which-are-more-performant-cte-or-temporary-tables[^]http://stackoverflow.com/questions/1531835/sql-2005-cte-vs-temp-table-performance-when-used-in-joins-of-other-tables[^]
Message box in asp.net by deepakdynamite
Answer 6 Nov 2012   license: CPOL
Check this out how to display messages in asp.net using C# language?[^]
Question 4 Oct 2012   license: CPOL
Hello Everyone,We have created REST services using web API and successfully deployed on our Testing Servers. When check those services using POSTER (tool comes as addon in Mozilla and used for testing services), we get perfect output. But when we do Jquery Ajax call, we face error of "...
Question 3 Sep 2012   license: CPOL
i need to change our c# code that reads the datatable in the web service and have it read the odata and convert directly or use as a datatable. i need a datatable provider that uses odata
Answer 31 Aug 2012   license: CPOL
Hello,Chec...
C#
Question 31 Aug 2012   license: CPOL
Hello,I am trying to hide textbox on click of Server control. But seems like its not working
odata conversion to data table by deepakdynamite
Question 31 Aug 2012   license: CPOL
Hello,Is it possible to convert Odata into DataTable and Vice-Versa ?Thanks
create zip file in asp.net by deepakdynamite
Answer 30 Aug 2012   license: CPOL
Hello,Have a look at this , I hope this will help you outSimple Application to Zip and UnZip files in C# using J#[^]
Creating Rest Services by deepakdynamite
Question 30 Aug 2012   license: CPOL
Hello,I am completely new for creating REST Services, after looking at some links i got basic idea about it. But still i don't know how to return UserDefined Datatypes for Eg : How can i return List (i,e. List of User Class) or DataTable using Rest Services.Please suggest.
My vote of 1 by deepakdynamite
Forum Message 23 Aug 2012  
asda
Question 21 Aug 2012   license: CPOL
1. Here is the table structureEmployeeID EmployeeName Rank1 Deepak First2 Kaushal Second3 Pankaj First4 Rahul Third5 Riyaz Fourth6 vimal Five6 Suresh FourthI want to display it in ascending order as shown below...
Question 20 Aug 2012   license: CPOL
If a class is implementing two interfaces and both the interfaces is having a method with the same name. Then Is it possible? If yes, then how that class will implement both of those methods?
Question 13 Aug 2012   license: CPOL
I have a textbox where customer will enter their credit card number . I want to show it like XXXXXXXX5615 in text box.Any idea ?
Question 27 Jul 2012   license: CPOL
Hello Everyone,I don't know how to use SSIS package, After looking at some links i came to know how to use that but still i am not able to do that for transferring data from Mysql to sql server. I would appreciate if someone could help me to find out steps for creating SSIS package for...
Question 24 Jul 2012   license: CPOL
What are the factors which decides which server to use i.e IIS or Apache .And which one of them serves better when application is on .net technologies.Thanks,Deepak
Deployment and Setup by deepakdynamite
Answer 13 Jul 2012   license: CPOL
Hello ,You need to install Crystal reports before you run your setup. When i was using 2008 , i use to setup CRRedist2008_x86.msi first and then use to install my exe.Same must be available for 2012 also.
How to convert int to Datetime by deepakdynamite
Answer 13 Jul 2012   license: CPOL
Hello,use this constructor to create object of DateTime Class and pass values accordingly.http://msdn.microsoft.com/en-us/library/xcfzdy4x.aspx[^]Once you get this , Go through this link which will guide you how to use find DateDifference...
Pdf to word Conversion by deepakdynamite
Question 13 Jul 2012   license: CPOL
Hello,Is there any free 3rd party dll like Itext is available for converting PDF into Word ?Thanks,Deepak
Question 29 Jun 2012   license: CPOL
Hello,I am sending email with an attachment of 22 MB and code ends up with an error i,e " The operation was time-out". This code works fine with files of 1 MB.Here is the code used by ME :try{ mail = new MailMessage(); ...
Question 18 Jun 2012   license: CPOL
Hello Everyone,I have page which generated dynamic control and also apply RequiredField Validation at runtime. Everything works fine but when i click on dropdown and page postbacks, Validations in javascripts always return true even though data isn't available in required Fields. But when i...
File corrupted after download by deepakdynamite
Question 7 Jun 2012   license: CPOL
Hello everyone,I am using this code to download file which is working fine in whole application.I am trying to download Excel file using this code . After download when i try to open excel file, it pop up's a warning that file is corrupted and some data will be removed or lost. After...
Question 27 Apr 2012   license: CPOL
Hello Everyone,I have page with a div control , i want to generate pdf from that div control without using third party tool like ItextSharp or any other.Thanks

Page 1 of 3
1 2 3


Advertise | Privacy | Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid