9,869,444 members (29,225 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*
52 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: musiw
[x]
method to print from server to local printer (thermal printer)
by
musiw
Question
4 May 2013
license:
CPOL
hi all,im here because i dont know where i can find any solution for my problem. i developed ticket fare collections.and it is online (intranet company).i manage to print the ticket through thermal printer.no problem at all.but come the problem is when i test the web page at user's...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
VB
SQL-Server
VB.NET
how to generate sequence number containing date
by
musiw
Question
21 Apr 2013
license:
CPOL
hi all,i want to ask help on this problem.i dont know how to generate sequence number containing date and save to database.Example: TicketId: 130422229000000001130422 - date today (ticket issued)22900 - station id0000001 - sequence numberafter that i want to store to...
General Programming
»
Uncategorised Quick Answers
»
General
SQL
VB
VB.NET
saving data to db at the same time print tickets
by
musiw
Question
16 Apr 2013
license:
CPOL
hi all,im developing an online train ticket. the user will key in all the journey data (e.g: ticket type, journey type, origin and destination).after the key in, all the data will be save in database when only user click print button (we have to make sure customer paid the ticket before...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
VB
SQL-Server
VB.NET
multiple selected rows to be passed to parent window
by
musiw
Question
24 Dec 2012
license:
CPOL
hi all,situation: in a popup window, user will select multiple rows from gridview of items they want to delivery.and then when they click OK the data will be passed to gridview in parent window showing the data that they had selected just now.question: how to get the value of multiple...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
VB
VB.NET
how to update gridview value to textbox and bind it back to gridview
by
musiw
Question
18 Dec 2012
license:
CPOL
hi all, can u help me on this..i already manage to insert textbox values to gridview.but when i want to edit the value of gridview row (pass back to textbox) it didnt work.it always get the 0 row index.please help me..it is urgent.i already try from yesterday but failed. my code...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
VB
VB.NET
Re: i cannot set previous data when i add gridview to 12 rows for first gridview row
by
musiw
Forum Message
10 Dec 2012
i dont know..can u help me? thanks
General Discussions
»
Article "Dynamically Adding And Deleting Rows From Asp.Net Gridview "
i cannot set previous data when i add gridview to 12 rows for first gridview row
by
musiw
Forum Message
3 Dec 2012
hi ashish, please help me.i really really need your help.i follow your code.it works.thanks! but come to a case when user want 12 rows for the first time gridview row load.i manage to add it by us
General Discussions
»
Article "Dynamically Adding And Deleting Rows From Asp.Net Gridview "
how to get the value of checkbox in listview?
by
musiw
Question
3 Dec 2012
license:
CPOL
hi guys,i want to know how to get the value of checkbox in listview and inserting to database. i got error " Object reference not set to an instance of an object." this is my codeDim myConnection As SqlConnection = New SqlConnection(connectionString) myConnection.Open() ...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
VB
VB.NET
how to stop the process looping inserting value to sql if user key in data less than row provided
by
musiw
Question
2 Dec 2012
license:
CPOL
hi all,currently my code is looping until 10 rows then it stop.let say user key in data for only 3rows the looping still run for other empty 7rows..i want the process will be if user key in 3 rows then data in database only has 3rows of value not like 3rows value, 7 rows...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
VB
VB.NET
how to display null value in listview
by
musiw
Question
30 Nov 2012
license:
CPOL
hi guys,i really dont know how to display null value from database (if have) into listview..i only know how to bind it to label text..but listview i dot have idea.please help methanksmusiw
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
VB
VB.NET
how to add 10 rows in gridview on page load
by
musiw
Question
29 Nov 2012
license:
CPOL
hi guys,this is my code for adding row.i only manage load page with 1 row gridview.i want it to load with 10 rows automatically.then after that user can add with 10 more new rows..Private Sub FirstGridViewRow() Dim dt As New DataTable() Dim dr As DataRow = Nothing ...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
VB
VB.NET
how to store multiple values from textbox & dropdown to database
by
musiw
Question
13 Nov 2012
license:
CPOL
hi all,please help me on this.i have a form which let user to add new row (multiple textbox and dropdown in it) if they want to add data.right now, i dont know how to store multiple values from textbox & dropdown to database? is it store into 1 row or multiple rows? how about if i want...
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
how to create serial number in a column table and also want to display serial number in a form
by
musiw
Question
8 Nov 2012
license:
CPOL
hi all,i want to know how to create column which is a serial number..lets say start with 'SA00001' or '00001'........and then in my form, user will insert data in a form which has a serial number stated above.No: SA00001Name:Quantity:Total:please help me on thisthanks...
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
Homework
NoEffort
role in web config is not working
by
musiw
Question
15 Oct 2012
license:
CPOL
Hi all,can someone help me on this problem.it's been a week.i dont know how to solve this..my login page is reach to human resource table (oracle) then i compare (role) to my own table..Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
VB
VB.NET
how to change datetime format in ajax calendar toolkit while sqlserver is stored reverse
by
musiw
Question
24 Sep 2012
license:
CPOL
hi all,i have a question..actually it's been a week i try to solved it.in my web page i use ajax calendar toolkit to get the date entered by user.but the calendar toolkit displayed mm/dd/yyyy..while sqlserver stored it as dd/mm/yyyy (which is great becasue thats the way i want it...
General Programming
»
Uncategorised Quick Answers
»
General
.NET
VB
VB.NET
how to pass values from gridview to popup window (update)
by
musiw
Question
17 Sep 2012
license:
CPOL
hi guys,please help me on this..last 2 weeks i already success to update value from gridview using popup window..but i notice when i edit on aspx page which is to make the gridview fix layout, the process to pass the value to popup window didnt work it.the value isnt displayed...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
.NET
VB
VB.NET
how to wrap text in row of gridview
by
musiw
Question
11 Sep 2012
license:
CPOL
hi,i want to ask how to wrap text for the content in gridview?i tried everything.itemstyle-wrap = "true"/"false" nothing happen,set width="500px" nothing happen.my system is already tested by manager.and he insert a long character(no space in it."aaaaaaaaaaaaaaa" to the infinity)my...
General Programming
»
Uncategorised Quick Answers
»
General
.NET
VB
VB.NET
how to pass value from gridview to popup window
by
musiw
Question
15 Aug 2012
license:
CPOL
hi guys,i have a program where i bind data table of TASK to a gridview.user can easily update the progress of the task day by day(column status from TASK table).but then come a situation where user want to close the task when it is officially completed. so i come out with idea, add a...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
VB
VB.NET
click checkbox in repeater, then display form to update data
by
musiw
Question
13 Aug 2012
license:
CPOL
hi,i have repeater which shows data.then i add 1 column for checkbox in repeater.the purpose is i want user click checkbox according to which data they want in order to update the data.so when user click checkbox, form is display and user can update from that form.currently i only manage...
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
ASP:NET
how to store history of data changes
by
musiw
Question
8 Aug 2012
license:
CPOL
hi,im new to .net..i want to know how to store history of data changes that key in by user.lets say they key in today work progress, then tomorrow they key in again to update status.how to store that history so that their manager can view it laterthanks in advance,musiw.
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
C#
ASP.NET
SQL-Server
how to store other column when select item in listbox
by
musiw
Question
26 Jul 2012
license:
CPOL
hi,i want to insert data nickname when user select name in listbox item.currently i manage to insert emplid and nickname into database.but i dont know how to insert user's nickname whenever user click name from the list.pls help me.this is urgent.i dont had any ideaprotected void...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
how to insert datetime now and select the data that has been inserted on that day
by
musiw
Question
24 Jul 2012
license:
CPOL
hi guys,can you help me on this: i want to insert data into sql database and then i want to bind that latest data into gridview.latest means data that has been inserted in 1 process.not the last row in table.so i come out with the idea insert a datetime.now into table sql database.and...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
how to create login page using roles
by
musiw
Question
22 Jul 2012
license:
CPOL
hi all,i really need help on this.my life for two days are suck!i try to build login page.at first it seems ok.but then my calendar extender not works.and then other problem arises.i have to deliver the project asap.i dont have any idea on this.pls help me with code or maybe useful...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
calendar extender didnt appear after click login page
by
musiw
Question
21 Jul 2012
license:
CPOL
hi,i stuck on this since yesterday.i dont know what i done wrong.everything seems fine.the page is working fine until i add login page.when i insert username and password then the page redirect to home page.but when i want to insert date(using ajax extender) nothing happen.suppose calender...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
how to store multiple item from listbox into database
by
musiw
Question
19 Jul 2012
license:
CPOL
hi guys,i really stuck on this for 4hours.this is my code:listbox that has name of staffforeach (ListItem item in ListBox1.Items){ if (item.Selected) { com2.Parameters["@ListBox1"].Value += item.Text + ","; } //else ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
how to bind data that we just entered into gridview
by
musiw
Question
15 Jul 2012
license:
CPOL
hi all,i have a problem where i want to bind data that just entered by user (for instance from dropdown and textbox) into gridview so that they can review it.then if they want to delete they can delete or if satisfy then can proceed to submit the data.i only thought gridview because i...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
popup window show list that user filled in parent window
by
musiw
Question
12 Jul 2012
license:
CPOL
hi guys,i have form where user select item from dropdown list then fill the quantity of the item.he will select item as many as he want.after finish select the items and fill the quantity of each item, then i want a popup window appear (click button)to see the list that he entered before.if...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
how to display data that has comma from database
by
musiw
Question
11 Jul 2012
license:
CPOL
for instance sql table like this:task pic statusdevelop system wti,zmr 90%donei want to display the data in gridview.currently when i type in textbox wti or zmr no data is display.it should be display whenever i type wti or zmr since the task is developed by two...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
how to auto calculate days when using ajax calendar extender
by
musiw
Question
8 Jul 2012
license:
CPOL
hi all,how to auto calculate days that key in by user.i want it to auto calculate whenever they just select the date from ajax calendar extender.the program is actually allow user key in their task which is given by boss.there are textbox which receive start date, due date. the diff is...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
data display in gridview depend on user key in.how to export it?
by
musiw
Forum Message
12 Jun 2012
i try your code.its fine. but i dont understand because my datagrid is call data from database.select command.so how to display the data.right now you just add value1,value2. my data is depend on what
General Discussions
»
Article "Export Dataset To Multiple Excel Sheets"
how to export multiple gridview to pdf
by
musiw
Question
12 Jun 2012
license:
CPOL
hi guys,is there anyone know how to export multiple gridivew into pdf format.i manage to export only 1 gridview.SqlConnection myConnection = new SqlConnection(connectionString); SqlCommand Command = new SqlCommand(); Command.CommandText = "select origin ,report...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
the document has no page; cannot export to pdf
by
musiw
Question
11 Jun 2012
license:
CPOL
hi all,public override void VerifyRenderingInServerForm(Control control) { /* Verifies that the control is rendered */ } protected void exportPDF_Click(object sender, EventArgs e) {Response.ContentType =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
error: the document has no page when to upload pdf file
by
musiw
Question
10 Jun 2012
license:
CPOL
using iTextSharp.text;using iTextSharp.text.pdf;using iTextSharp.text.html;using iTextSharp.text.html.simpleparser;Response.ContentType = "application/pdf"; Response.AddHeader("content-disposition", "attachment;filename=Report1.pdf"); ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Error executing child request for PageName.aspx.
by
musiw
Question
31 May 2012
license:
CPOL
Hi all,i got problem when access to the home page. at first i use "server.transfer" but then still no works.here the code: Session["username"] = username.Text; if (roles == "administrator,user") { ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Internet Explorer cannot display the webpage after log in
by
musiw
Answer
31 May 2012
license:
CPOL
i manage to solve this problem.yes i did try to clear the cookies.but still appear the error. i try run the page on google chrome.from there i know the error.it says too many redirect. so i just try change to server.transfer("mypage.aspx").it works.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Internet Explorer cannot display the webpage after log in
by
musiw
Question
31 May 2012
license:
CPOL
Hi,anyone please help me.i dont know what happen..when i run and log in the error Internet Explorer cannot display the webpage is come out.i cannot enter the home.aspx. the login page is appear only when the page redirect to home then it stop and error come out. i wonder why it happen...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Object reference not set to an instance of an object.
by
musiw
Question
30 May 2012
license:
CPOL
Source Error: Line 60: protected void btnUpload_Click(object sender, EventArgs e)Line 61: {Line 62: string filePath = FileUpload1.PostedFile.FileName;Line 63: string filename = Path.GetFileName(filePath);Line 64: string ext =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to upload excel file to server and download from server
by
musiw
Question
30 May 2012
license:
CPOL
Hi all,i really blank and found no solution to my problem. i want to create a webpage which has a page that allows user to upload excel file to server.then i want to display the excel file so that other user can view or download the file.i really hope anyone can help me on this.its...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
creating a table progmatically
by
musiw
Question
14 May 2012
license:
CPOL
Hi all,I want to ask a help on this problem.i want to create a table that has multiple rows & columns.I want to display the table exactly like this: EMU HybridAvailable @1500hrs 22 22Available...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to display data from database into textbox
by
musiw
Question
29 Jan 2012
license:
CPOL
hi all,i need help on displaying database into textbox.i dont know how to do it.pls anyone help me.i already try coding from other sources but it return nothing or error.i dont know exactly the way of doing it.then after display, i want to update the data through textbox.p/s: the data is...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to create gridview which has column and row
by
musiw
Question
15 Jan 2012
license:
CPOL
Hi all,im having a problem to build a gridview that has column and row that display data from database .is it possible to build it? i dont know how to do it.the template in visual studio only has the column.not the row.i already tried so may times but it didnt work.please help me on how to...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to bind different ID data from same table into gridview
by
musiw
Question
5 Jan 2012
license:
CPOL
hi,i have a problem.. i don't know how to bind data that has its own ID from same table into a gridview. SqlDataAdapter sqlcom0 = new SqlDataAdapter("select no_of_train from transshipment where id_transshipment =1", myConnection); DataSet ds0 = new DataSet(); ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to create a pagination for page
by
musiw
Question
4 Jan 2012
license:
CPOL
Hi all,i have multiple gridviews(11) in 1 page.if gridview has many data then the user has to scroll down all the page.i dont want it happen like that way.it is not efficient right..then how to make the page can be pagination in order user can click 'next' or '1,2,3' if the page has many...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to pass selected value from dropdown to another dropdown in next page
by
musiw
Answer
17 Dec 2011
license:
CPOL
ok.im using query string.but now the problem is when i have to pass long value it doesnt work it.i try to pass it to Label first.just to see if it pass the value or not..for example the value is "Signals & Communication Failure"..it just appear Signals the rest are gone.help me pls.thanks
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to pass selected value from dropdown to another dropdown in next page
by
musiw
Question
16 Dec 2011
license:
CPOL
Hi,i have a form when user select value from dropdown it can direct them to another page.but in the next page i want the selected value to be pass to another dropdown.for instance: user select country;then go straight to next page where there is a dropdown already selected the country...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to update data in multiple gridviews in 1 page
by
musiw
Question
13 Dec 2011
license:
CPOL
Hi guys,i manage to update data for the 1st gridview.but when i add the 2nd gridview on the page it turn to failed.seems like the code succeed to only 1 gridview..protected void UpdateRecord(object sender, GridViewUpdateEventArgs e) { string connectionString =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
dropdown dissapear after value selected.
by
musiw
Question
12 Dec 2011
license:
CPOL
hi,i have a situation when user select value from 1st dropdownlist then item in 2nd dropdown list appear according to the selected value from the first.lastly the form will appear after value in 2nd dropdown is selected.my problem is whenever user finish select the 2nd dropdown, the 2nd...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to add item in radiobutton progmatically
by
musiw
Question
11 Dec 2011
license:
CPOL
Hi,can anyone help me how to add listitem to radiobutton progmatically. my situation is when user select one of the value from dropdown list then a radiobutton will be visible.the item in radiobutton is depend on what user select from dropdownlist before.is it possible?thanx.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to call connection string that bind the dropdown list item
by
musiw
Question
29 Nov 2011
license:
CPOL
Hi,I have multiple web pages that have dropdown list control on every single page.i want to configure the connection in the webconfig so it will be easier for me to just call the connection to bind the item to dropdown list.i dont have to choose data source for every single page.is it...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
item at index 0 not showing in dropdown list
by
musiw
Question
28 Nov 2011
license:
CPOL
Hi,i have a problem when i bound the datasource to a dropdown list, the item at index 0 (eg: ---Please Select---) not show when running time.but the databound which is from server are showing. please help me or explain to me why is this happen..??blur...thanks.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Page 1 of 2
1
2
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid