9,869,883 members (29,462 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
55 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 2
Page Size:
10
·
25
·
50
Author filtered by: LebneizTech
[x]
Autocomplete combobox in windows c# : Filter from any location
by
LebneizTech
Question
8 May 2013
license:
CPOL
I have bound the combobox using Autocomplete.But I want all lists after typing words compared from any place either from begening or middleEx. If list : [Aman ,Raja, Ramn,Pankaj,Amar,Balram]If I type 'am', it should filter [Aman , Ramn,Amar,Balram] compare from begening or...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Windows
How to Filter List in ComboBoxColumn in DataGridView
by
LebneizTech
Question
6 May 2013
license:
CPOL
Hi !I required Widows Based Solution.In web I solved by using Webservices(Ajax/AutocompleteExtender).I have bind data in a comboboxcolunn in DataGridView. I want to filter the list according to words typed.It may be automatically by setting the property. If not possible it may be by...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP
SQL
Between 2 DatesQuery Problem of DataSet with MS Access DataBase
by
LebneizTech
Answer
30 Apr 2013
license:
CPOL
Sorry I got Solution.By using Parametrized Query it shows output.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Access
database
Between 2 DatesQuery Problem of DataSet with MS Access DataBase
by
LebneizTech
Question
30 Apr 2013
license:
CPOL
In SQL it shows correct Result, but in MS Access 2003 no Data Shows through DataSet. But same query shows result through SQL View in MS Access.Code is :string str = "select checktime from CHECKINOUT where UserId=2 and checktime between 04/11/2013 and 04/12/2013";private DataSet DSet(string...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Access
database
How do I write Connection String for MS Access
by
LebneizTech
Question
23 Apr 2013
license:
CPOL
Dear Sir,I required connection string for MS Access. Please help.For MS SQL I used to write the string for connection :"Server=.;Database=krishna;User Id=sa;Password=sa;"For Excel :string excelConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0; Data...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How to convert div content into PDF or MS Word
by
LebneizTech
Question
21 Apr 2013
license:
CPOL
Dear Sir,Presently I use JavaScript to print Report(using div id).But I required to mail the report, means I required to save the report either PDF or Word or any other format so that I can mail it.Please suggest the solution
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Javascript
How to Bind ComboBoxColumn in DataGridView
by
LebneizTech
Answer
17 Apr 2013
license:
CPOL
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Data.SqlClient;namespace WinDemo{ public partial class Form4 : Form { SqlConnection con...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to Redirect one Form to another Form in Windows
by
LebneizTech
Question
17 Apr 2013
license:
CPOL
In web it is easy to use linkButton/PostbackURL/Responce.RedirectBut I do not got any one to open another Windows Form.Please hints.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to Fire Event of ComboBoxColumn in DataGridView
by
LebneizTech
Question
15 Apr 2013
license:
CPOL
We fire Event of ComboBox in window Based :private void cmbItems_SelectedIndexChanged(object sender, EventArgs e){}Similarly I want to fire Event of ComboBox in DataGridViewPlease help.As the Event below used, do not work properly.private void...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to Bind ComboBoxColumn in DataGridView
by
LebneizTech
Question
12 Apr 2013
license:
CPOL
I want to Bind ComboBoxColumn in DataGridView, not to Add it into DataGridView, means I have a ComboBox in DataGridView. Only I have to display data in it.In Web I used FindControl, but in Windows how can I Get ComboBox ControlAlso how do I Fire Event in ComboBox of DataGridView.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to Bind Combo Box from DataBase
by
LebneizTech
Question
10 Apr 2013
license:
CPOL
I am using the code below, but not bind the Data in Combo Box. Please correct it.str = "select ItemCode,it_name from Items"; com = new SqlCommand(str, con); ad = new SqlDataAdapter(com); ds = new DataSet(); ad.Fill(ds, "Items"); ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to Work on DataGridView in RunTime
by
LebneizTech
Question
10 Apr 2013
license:
CPOL
Dear Sir I require to Create a New Row in DataGridView with a DropDownList of Items.After selecting a Item Rate should be filled from Item Master .After that when I input the Quantity , Amount should be calculated automatically.Also a new row should be generated automatically or by Button...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to Work on DataGridView
by
LebneizTech
Question
8 Apr 2013
license:
CPOL
Hi !I can Work on GridView (Insert/Edit/Update/Delete)in Web Based with ASP.NET,C#.But I do not know similar solution in Windows Based Application How to Work on DataGridView (Insert/Edit/Udate/Delete) in Windows BasedPlease suggest.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP
.NET
How to get 1st Week Date from Week No of the Current Year
by
LebneizTech
Question
14 Dec 2012
license:
CPOL
Hi !I am able to get Week No. of the Current Date (Code):DateTime dt1 = Convert.ToDateTime(DateTime.Now.ToString("MM/dd/yyyy"));int yyyy = dt1.Year; int MM = dt1.Month; int dd = dt1.Day; System.Globalization.CultureInfo ci =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
How to get Week No of the Current Date
by
LebneizTech
Question
7 Dec 2012
license:
CPOL
Dear Sir,I want to get Week No of the current date.Ex. Presently it is wk49 & Ist week of JAN will be wk1.Also I want to get Date Range of particular Week No.
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
How to pass Parameter in ifram tag
by
LebneizTech
Question
27 May 2012
license:
CPOL
I am using U Tube to run Videos.One of them is below.I want to change src (URL) for different Video to RUN on Click Event on the same Page.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
HTML
How to Play VLC Media File
by
LebneizTech
Question
25 May 2012
license:
CPOL
Hi !I want to Play VLC Media File [.VOB,.IFO etc] in .html/.aspx Page.Please provide code to Run these file.
General Programming
»
Uncategorised Quick Answers
»
General
C#
HTML
media
How do I Bind Menu from DataBase
by
LebneizTech
Question
14 May 2012
license:
CPOL
Hi !I want to Bind a Menu like a DropDoenList from DataBase.It does not support.Menu1.DataSource = dt(DataTable); Menu1.DataBind();Please correct the Code.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How to Fetch Code from a Table by comparing two Columns(DataType:datetime) with respect to a given Date
by
LebneizTech
Question
7 May 2012
license:
CPOL
Hi !I have a Table[FYear] of Financial Year.Code D1 D21011 4/1/2010 3/31/20111112 4/1/2011 3/31/20121213 4/1/2012 3/31/2013I want to fetch Code with respect to a Date.Like Date:5/2/2011(2 May 2011).Output should be : 1112Please write/Correct the Query.select Code from...
General Programming
»
Uncategorised Quick Answers
»
General
SQL
How do I Convert A part of .aspx Page into PDF File
by
LebneizTech
Question
1 May 2012
license:
CPOL
Hi !I want to Convert a part of .aspx page into PDF File from a Button.Please give the solution.Sir, I am using a JavaScript Function to Print a Part of Page from a Button. Similarly I want to Convert same thing into PDF instead of Print from another Button either from JavaScript...
General Programming
»
Uncategorised Quick Answers
»
General
HTML
JScript.NET
How I will Run .flv File from Link Button
by
LebneizTech
Question
21 Apr 2012
license:
CPOL
Hi !I have 10 .flv Files. I want to Run it on Click Event one by one.Presently I can Run by making 10 .aspx File. But it is lenthy.So I want to Run it through Link Buttons From Same Page.Presently I am using to Run One .flv file from .aspx Page as
General Programming
»
Uncategorised Quick Answers
»
General
.NET
How to Execute a Java Script Function for TextBox Control
by
LebneizTech
Question
9 Apr 2012
license:
CPOL
Hi !I want to Execute a Java Script Function for a TextBox Control from Client Side (.aspx Page) during Text Change. What is Name of Event. Like - onchange
General Programming
»
Uncategorised Quick Answers
»
General
.NET
How to get Value of Lable control in Client Side of .aspx Page
by
LebneizTech
Question
2 Apr 2012
license:
CPOL
Dear SirI am using to get Value of TextBox, it is working fine ...var ID=document.getElementById("").value;But for Lable it is not working, Please modify it.Also is it possible to get Value in Visible="False" condition ?
General Programming
»
Uncategorised Quick Answers
»
General
.NET
How to generate a auto Column(Serial No) in SQL Query
by
LebneizTech
Question
10 Mar 2012
license:
CPOL
Hi !I require a Auto Serial No from SQL Query.Like (SQL Query)select empName,Address from EmployeesOut Put 1 Ram New Delhi2 Shyam UP3 Sohan HR.............................means 1,2,3 should auto generate depends on No of SQL Rows
General Programming
»
Uncategorised Quick Answers
»
General
SQL2000
SQL-Server
Correct the Syntex for : Backup Locally and then Copy to the Network Share
by
LebneizTech
Question
10 Nov 2011
license:
CPOL
Sir,I have Syntax to Backup SQL DataBase Locally and then Copy to the Network Share.My Local Path is D:\db and Share Path C:\Data and backupfile : dbP.bakDataBase Name : hospitaAPlease correct the Syntax to use it.The Syntax : SET LocalFolder=C:\Program Files\Microsoft SQL...
General Programming
»
Uncategorised Quick Answers
»
General
SQL
How to Update SQL DataBase from 1 Server to another Server of Same DataBase
by
LebneizTech
Question
28 Oct 2011
license:
CPOL
I am using a SQL on Server(S1),it is updated through User.There is other Server(S2) of same SQL which is not used by user(means it does not update directly) I want to Update SQL on Server S2 with same updated SQL on S1'For this I think we can use Database Syncronyzation / Mirroring.But I...
General Programming
»
Uncategorised Quick Answers
»
General
SQL
.NET
How it is possible to assign path without Browsing in FileUpload
by
LebneizTech
Question
21 Oct 2011
license:
CPOL
I want to assign Path value to FileUpload on Page Load. Like : [C:\PP\Test.txt]As When I Browse then it fill it [C:\PP\Test.txt],How it is possible to assign path without Browsing.Control is :
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
How to backup data in Network PC.
by
LebneizTech
Question
18 Oct 2011
license:
CPOL
I want to backup data in Network PC.For Local PC it is working : BACKUP DATABASE HospitalA TO DISK = 'D:\dbP'what is path like : '\\ABC\D\dbP' or '\\192.168.1.10\D\dbP'
General Programming
»
Uncategorised Quick Answers
»
General
SQL
I want to delete a File/Folder of Hard Drive from Client Side
by
LebneizTech
Question
18 Oct 2011
license:
CPOL
I want to delete a File/Folder of Hard Drive from .aspx/Client Side.What is coding in .cs File
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
How to Find Days from Diffrence between 2 Dates in SQL
by
LebneizTech
Question
14 Sep 2011
license:
CPOL
Sir I want to find diffrence of Days between 2 Dates.I am using in .NET/in .aspx Page like ...DateTime dtTime = Convert.ToDateTime(DateTime.Now.ToString("MM/dd/yyyy"));DateTime DtExp = Convert.ToDateTime("9/12/2011");TimeSpan ttsD = dtTime.Subtract(DtExp); int Days =...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2000
SQL2005
SQL-Server
How to show Time(hh:mm AM/PM) in Label from Table of DateTime DataType
by
LebneizTech
Question
12 Sep 2011
license:
CPOL
Dear Sir,I want to show Time(hh:mm AM/PM) only from Table Data (DataType:DateTime),it is like '2011-08-30 00:00:00.000'it shows correct in GridView : using DataFormatString="{0:hh:mm}"Similarly I want to...
General Programming
»
Uncategorised Quick Answers
»
General
.NET
How to get only Time from GetDate()
by
LebneizTech
Question
9 Sep 2011
license:
CPOL
How to get only Time from GetDate(). Format is hh:mm PM/AM.Finally my requirement is to get Random Time between 10.00 AM to 8.30 PM.
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
How to get .SelectedIndex of DropDownList in .aspx Page
by
LebneizTech
Question
2 Sep 2011
license:
CPOL
Hi !I want to get .SelectedIndex of DropDownList in .aspx Page.I will use like below but not working.if(document.getElementById("").value==-1) { alert("Select the Doctor"); ...
General Programming
»
Uncategorised Quick Answers
»
General
.NET
How to make Random selection from an SQL table
by
LebneizTech
Question
25 Aug 2011
license:
CPOL
Hi!I want to select(Name) Randomly from Table. What is simple code.
General Programming
»
Uncategorised Quick Answers
»
General
SQL2000
C#
SQL-Server
How to Convert DateTime format(dd/MM/yyyy) in .aspx Page
by
LebneizTech
Question
23 Aug 2011
license:
CPOL
Hi!As the data(one of the column is TDate:DateTime/DataType) is stored in Table. I want to display the TDate in the Format(dd/MM/yyyy).As I am trying Text=''.Could anyone please show me the required format?
General Programming
»
Uncategorised Quick Answers
»
General
.NET
How to Generate Registration Key (for Security)
by
LebneizTech
Question
17 Aug 2011
license:
CPOL
Dear Sir, I want to Generate a Registration Key on the Basis ofProcessor ID.I require code to generate any string corresponding to Processor ID:BFEBFBFF0001067A
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
How to get ProcessorId of PC(Computer)
by
LebneizTech
Question
16 Aug 2011
license:
CPOL
I want to get ProcessorId .Please suggest te function/method
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
How to Return a value from Stored Procedure
by
LebneizTech
Question
11 Aug 2011
license:
CPOL
Please give a very simple example.Also I can I retreve the value from .cs page
General Programming
»
Uncategorised Quick Answers
»
General
SQL2000
C#
.NET
SQL-Server
How to Convert a String into Barcode
by
LebneizTech
Question
9 Aug 2011
license:
CPOL
I want Convert/View a String into Barcode.Ex. A.128, B.121/2011 etcIs there Barcode Font ? or any other Coding ?
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
I am Using Loop in Stored Procedure,but not working [I am sending SP with table design & Quiry]
by
LebneizTech
Question
8 Aug 2011
license:
CPOL
--YUOU CAN CREATE TABLE AND STORED PROCEDURE AND EXECUTE 1 BY 1 ROWSexec sp_Ins_Up_TestIF '907',2,'28/06/2011','8/1/2011 12:00:00 AM','4','b600e996-bfd7-4632-88d6-89e6275ba404','a66a75d5-6653-4214-881b-3c924f2a086c'update Pl_Material_Stock_Closing_Daily set QtyS='1'exec sp_Ins_Up_TestIF...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
SQL
How to Update more than 1 Row of the Table Through Storedprocedure
by
LebneizTech
Answer
2 Jul 2011
license:
CPOL
Dear Sir, I have tryed your modified Code,I also Edit according to my Requrement,but it is not working.I think procedure is correct,it is Inside the LOOP,but where Condition is not satisfied,so output is : (0 row(s) affected).As I try to UPDATE the Rows which is > E_date of that MSLId (Rows may...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
SqlServer
How to Update more than 1 Row of the Table Through Storedprocedure
by
LebneizTech
Question
2 Jul 2011
license:
CPOL
I am using For LOOP to Update Multipal Rows with Refrence of Code stored in DataTable,Like ...for (int i = 0; i
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
SqlServer
how to create stored procedure(Simple) in sql with rollback
by
LebneizTech
Question
28 Apr 2011
license:
CPOL
Hi !I want check error in Stored Procedure.How it can be created ? Please give very simple example.
General Programming
»
Uncategorised Quick Answers
»
General
SQL
Auto Number Descending Order + GridView
by
LebneizTech
Question
15 Mar 2011
license:
CPOL
How to show Auto Number in Descending Order?
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
How to fire OnKeyUp events in code behind side
by
LebneizTech
Question
25 Nov 2010
license:
CPOL
I am using Searching Option : for this I want to use OnKeyUp Event for filter.If other option is better please suggest.Pankaj
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to use ComboBox in ASP .NET
by
LebneizTech
Question
21 Sep 2010
license:
CPOL
I want alphabeticla Sorting during typing in Combo(TextBox)& result shows in Dropdownbox from Database.
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How to Pass Parameter for Connection String
by
LebneizTech
Answer
27 Aug 2010
license:
CPOL
Sir,I am using but not Work ---string _FileName = FileImageC.PostedFile.FileName;//Physical Path Return :C:\Documents and Settings\PP_2\My Documents\Details.xlsstring excelConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=@_FileName;Extended Properties=""Excel...
General Programming
»
Uncategorised Quick Answers
»
General
.NET
How to Pass Parameter for Connection String
by
LebneizTech
Question
27 Aug 2010
license:
CPOL
Hi ! I have to use Excel from Diffrent Location not Fix Location.Like C:\Details.xls.string excelConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\Details.xls;Extended Properties=""Excel 8.0;HDR=YES;""";I am trying but not work ---string FPath =...
General Programming
»
Uncategorised Quick Answers
»
General
.NET
Require Full Path from FileUpload
by
LebneizTech
Question
25 Aug 2010
license:
CPOL
After browsing a file from Local Hard Disk, it shows a full path of file Location. I require the full path, not only File Name (FileUpload1.FileName).i.e. "C:/Details.doc" I can use this line also to get the full...
General Programming
»
Uncategorised Quick Answers
»
General
.NET
How To Insert Data into SQL Table from Excel File
by
LebneizTech
Question
25 Aug 2010
license:
CPOL
As the Column of Table is Similar to the Column of Excel Sheet. I have to Browse the Excel from web page (for Path) and upload the data (all the Rows in Excel) into the specified Table.Please give the approprate Code.Thank you I got Solution 40%.I Have to Insert One Additional Column...
General Programming
»
Uncategorised Quick Answers
»
General
SQL
.NET
Page 1 of 2
1
2
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web01 | 2.6.130513.1 | Last Updated 15 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid