16,004,887 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Anisuzzaman
S
umon (Top 150 by date)
Anisuzzaman
S
umon
23-Nov-17 9:22am
View
your IIS_USER has no permission to access C:\\ drive .may be you are debugging through IISExpress so for testing purpose locate pdf from other drives or in web.config use Identity
Anisuzzaman
S
umon
23-Nov-17 9:12am
View
https://stackoverflow.com/questions/25036799/mvc5-view-drop-down-list
Anisuzzaman
S
umon
27-Jul-17 7:19am
View
If you give us at least your tables Create Scripts then it will be easy to solve your problem.Thanks
Anisuzzaman
S
umon
29-Aug-16 0:52am
View
mention not :)
Anisuzzaman
S
umon
26-Aug-16 4:16am
View
Not so clear
Anisuzzaman
S
umon
23-Aug-16 3:12am
View
http://docs.telerik.com/devtools/winforms/gridview/overview
Anisuzzaman
S
umon
23-Aug-16 2:27am
View
As you are trying to do actually not any default control to do so in windows Application..There are many third parties who provides such type of controls.In web App easily you can achieve this using Repeater.
However I like to make a custom solution if you are not interested to use third party.To accomplish this I need to have the table definitions along with some sample data.If possible then provide me I will make a ready tea for you? :)
Anisuzzaman
S
umon
23-Aug-16 1:26am
View
sorry I have missed to see the link before answering .Ok I will improve my solution
Anisuzzaman
S
umon
23-Aug-16 1:23am
View
Would not it be better to show the definitions of those tables to get accurate answer?
Anisuzzaman
S
umon
23-Aug-16 1:20am
View
so up your code so that we can help you.And describe in details
Anisuzzaman
S
umon
22-Aug-16 4:14am
View
As F-ES suggested
Anisuzzaman
S
umon
22-Aug-16 3:04am
View
ok then wait :)
Anisuzzaman
S
umon
22-Aug-16 3:01am
View
Is your product key has constant length ? Give your product key pattern and what character ends with your "PID=ProductKey" .Give some real data of 's' so that we can figure out and help you.
Anisuzzaman
S
umon
19-Aug-16 1:38am
View
will remain same :)
Anisuzzaman
S
umon
18-Aug-16 23:07pm
View
mention not :)
Anisuzzaman
S
umon
17-Aug-16 0:30am
View
Check whether the table created before adding record
Anisuzzaman
S
umon
17-Aug-16 0:27am
View
Show up your code
Anisuzzaman
S
umon
4-Aug-16 4:49am
View
done as you say :) it's your turn
Anisuzzaman
S
umon
4-Aug-16 1:31am
View
You can use
string x = "Anis";
x+="|"+Guid.NewGuid().ToString();
that will return each time different value of x.
Anisuzzaman
S
umon
21-Jul-16 3:36am
View
Deleted
Do you want to make such a pivot table:
Colors Sum_of_row_values
amber 11
green 89
red 0
Anisuzzaman
S
umon
21-Jul-16 3:30am
View
show up your code.Your question is not so clear!
Anisuzzaman
S
umon
20-Jul-16 9:21am
View
I could not understand why did someone give me down vote?
Anisuzzaman
S
umon
13-Jul-16 4:03am
View
Thanks
Anisuzzaman
S
umon
13-Jul-16 2:20am
View
In 'AddCompanyAuditRecords' function I just insert values in a table in mssql server
not more than that.If so then will you please tell me which thread is it executed?
Anisuzzaman
S
umon
12-Jul-16 4:06am
View
https://support.microsoft.com/en-us/kb/318804
look on how to monitor your mouse event
Anisuzzaman
S
umon
2-Jul-16 4:37am
View
please make sense
Anisuzzaman
S
umon
24-Jun-16 1:58am
View
If you've already got your solution please close the thread
Anisuzzaman
S
umon
24-Jun-16 1:56am
View
where the exception occurred?Exactly explain your problem.
Anisuzzaman
S
umon
24-Jun-16 1:49am
View
If your problem has already been solved then please close the thread
Anisuzzaman
S
umon
24-Jun-16 1:43am
View
Actually at first we need to know about the architecture you have used in your application.Tell something about the architecture of your application.Also tell something about the design pattern used.
Anisuzzaman
S
umon
17-Jun-16 5:44am
View
save in database as varchar(20) or nvarchar(20)).
If you need to perform operation there afterward as number then you can parse
into numeric types using either the Decimal.Parse() or Int64.Parse() methods.
Anisuzzaman
S
umon
16-Jun-16 2:19am
View
:)
Anisuzzaman
S
umon
16-Jun-16 2:18am
View
Though the order of execution normally take place where before having clause
but the order of execution determined by the query processor
there may a reason of executing having before where and as the order of having is less than that of the where clause it over looks where after then
and hence the result.
However its interesting .I don't know the actual reason.
Anisuzzaman
S
umon
22-Mar-16 23:47pm
View
Not a well organized question .Improve your question it makes no sense to me
Anisuzzaman
S
umon
21-Mar-16 23:55pm
View
string str = "CREATE TABLE " + textBox1.Text + " (dataid varchar(10), data varchar());"; //here you have missed to give the size of varchar(). use varchar(10) instead of varchar()
Anisuzzaman
S
umon
8-Feb-16 8:32am
View
You most welcome keya. :)
Anisuzzaman
S
umon
6-Feb-16 2:53am
View
Please elaborate your question by adding your need and more code .
Anisuzzaman
S
umon
5-Feb-16 7:38am
View
hey boss why down vote???
Anisuzzaman
S
umon
5-Feb-16 5:57am
View
which access database you are using (*.mdb) or (*.accdb)?
Anisuzzaman
S
umon
5-Feb-16 5:17am
View
Show sample data along with table structure of table named tbl_vehicle_pur_Mast.
Anisuzzaman
S
umon
3-Feb-16 5:09am
View
We cannot see your screen , read your mind so share your code and point out where the exception occcurs
Anisuzzaman
S
umon
3-Feb-16 4:51am
View
Show more code of your View
Anisuzzaman
S
umon
3-Feb-16 4:45am
View
Do you want it to do programmatically or manually?
Anisuzzaman
S
umon
3-Feb-16 4:36am
View
what is your markup(.aspx) code?show up your markup code
Anisuzzaman
S
umon
3-Feb-16 4:11am
View
if everything works fine then upvote :p
Anisuzzaman
S
umon
2-Feb-16 9:40am
View
Please show us your code
Anisuzzaman
S
umon
2-Feb-16 9:34am
View
Thanks Richard Deeming. :)
Anisuzzaman
S
umon
2-Feb-16 8:12am
View
show your code
Anisuzzaman
S
umon
2-Feb-16 8:08am
View
Yes you can like this
[DllImport ("ServerTool")]
private static extern IntPtr GetLoginResult();
Anisuzzaman
S
umon
2-Feb-16 7:58am
View
:) Pravin.Bhosale01
Anisuzzaman
S
umon
2-Feb-16 7:32am
View
as phil.o said use INSERT statement to add new record .If you have specific problem then show your code and eleborate your question if needed.
Anisuzzaman
S
umon
2-Feb-16 7:24am
View
you can set RowHeadersVisible=false and then add a row as you want at the top of other rows.
Anisuzzaman
S
umon
2-Feb-16 7:20am
View
What do you mean by all the other application?? is it all the application running on your OS ,what OS you are using ?
Anisuzzaman
S
umon
2-Feb-16 6:50am
View
Yes as sinisa said show up the code of populating your dropdownlist
Anisuzzaman
S
umon
2-Feb-16 5:15am
View
Are you using ADO.NET or Entityframework to interact with database ???ASP.NET Webform or ASP.NET MVC???
What about your ID is it auto increment?
Anisuzzaman
S
umon
2-Feb-16 5:12am
View
Share some code
Anisuzzaman
S
umon
2-Feb-16 4:50am
View
There is a solution of your problem if you are ready to switch from console application to windows form application. there is a property uiMode set it "none".If you need the full code then ask.
Anisuzzaman
S
umon
2-Feb-16 0:25am
View
Sir check it ,I have used it
https://msdn.microsoft.com/en-us/library/84787k22(v=vs.110).aspx
Anisuzzaman
S
umon
1-Feb-16 3:20am
View
Delete Form1 and add again a form named Form1 and design again.that fix it
Anisuzzaman
S
umon
1-Feb-16 3:12am
View
If it works for you and close the thread by accepting as answer.Happy coding :)
Anisuzzaman
S
umon
1-Feb-16 3:10am
View
Check again
Anisuzzaman
S
umon
31-Jan-16 5:15am
View
Show up your code
Anisuzzaman
S
umon
30-Jan-16 5:09am
View
you most welcome! :)
Anisuzzaman
S
umon
30-Jan-16 5:08am
View
It is not a question rather a pretext
Anisuzzaman
S
umon
24-Jan-16 8:22am
View
Where is your code stack?
Anisuzzaman
S
umon
31-Dec-15 3:28am
View
Please Show your Code
Anisuzzaman
S
umon
31-Dec-15 3:25am
View
Please provide sample note.NoteText value.
Anisuzzaman
S
umon
30-Dec-15 4:19am
View
what have you tried yet?what is your question?
Anisuzzaman
S
umon
28-Dec-15 1:23am
View
What have tried yet?
Anisuzzaman
S
umon
25-Dec-15 12:45pm
View
Please clarify your question.
Anisuzzaman
S
umon
23-Dec-15 7:56am
View
Will you please show me the sample output you want/desire from the xml above?
Anisuzzaman
S
umon
23-Dec-15 1:12am
View
Show your XML file content
Anisuzzaman
S
umon
18-Dec-15 12:52pm
View
what have you tried till now?
Anisuzzaman
S
umon
13-Dec-15 10:07am
View
Share your code
Anisuzzaman
S
umon
11-Dec-15 10:08am
View
Use rich text editor http://asp.richtexteditor.com/
Anisuzzaman
S
umon
11-Dec-15 4:50am
View
just modify it and feel free to ask question
Anisuzzaman
S
umon
11-Dec-15 1:39am
View
What is your column dataType ?
Anisuzzaman
S
umon
11-Dec-15 1:14am
View
where is your code stack?
Anisuzzaman
S
umon
10-Dec-15 13:27pm
View
Deleted
Matt,Would you Please elaborate your need?
Anisuzzaman
S
umon
10-Dec-15 13:22pm
View
If it's type is date then simply
SELECT status,name, dob, category FROM Family_Details WHERE ((DATEDIFF(dd, getdate(), DATEADD(yyyy, DATEDIFF(yyyy, dob, getdate()) + 1, dob))) % 366 <= 10)
order by dob asc
Anisuzzaman
S
umon
10-Dec-15 12:59pm
View
Please show whole Code of your *.aspx page
Anisuzzaman
S
umon
10-Dec-15 12:51pm
View
Show your code stack so far you tried.
Anisuzzaman
S
umon
10-Dec-15 0:09am
View
:D
Anisuzzaman
S
umon
9-Dec-15 11:31am
View
Deleted
Show that part of the code where you retrive values from DB and its patern
Anisuzzaman
S
umon
9-Dec-15 10:08am
View
Please show your code
Anisuzzaman
S
umon
9-Dec-15 9:35am
View
show your code. try something then ask question please.
Anisuzzaman
S
umon
9-Dec-15 6:29am
View
Deleted
ok
Anisuzzaman
S
umon
9-Dec-15 5:19am
View
please elaborate your question by specifying your need.
Anisuzzaman
S
umon
9-Dec-15 4:57am
View
Please mark this as solved
Anisuzzaman
S
umon
9-Dec-15 4:55am
View
Where is your code?
Anisuzzaman
S
umon
9-Dec-15 4:51am
View
Ok I am seeing
Anisuzzaman
S
umon
9-Dec-15 4:29am
View
please show your StoredProcedure defination
Anisuzzaman
S
umon
8-Dec-15 23:35pm
View
Show your code
Anisuzzaman
S
umon
8-Dec-15 6:51am
View
Use custom Validator like this one
protected override ValidationResult IsValid(object value, ValidationContext validationContext)
{
if (value != null)
{
string email = value.ToString();
if (Regex.IsMatch(email, @"[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}", RegexOptions.IgnoreCase))
{
return ValidationResult.Success;
}
else
{
return new ValidationResult("Please Enter a Valid Email.");
}
}
else
{
return new ValidationResult("" + validationContext.DisplayName + " is required");
}
}
Anisuzzaman
S
umon
8-Dec-15 6:45am
View
You may use LINQ instead of
Anisuzzaman
S
umon
8-Dec-15 5:21am
View
show us your code stack . Write exact problem.
Anisuzzaman
S
umon
4-Dec-15 2:36am
View
Please Show some code
Anisuzzaman
S
umon
4-Dec-15 2:28am
View
where is your stack .that is what code have you used so far.
Anisuzzaman
S
umon
2-Dec-15 22:56pm
View
what hve you tried till now.Please show some code.
Anisuzzaman
S
umon
2-Dec-15 7:15am
View
Elaborate you exact need.this is not a good question at all.
Anisuzzaman
S
umon
2-Dec-15 6:10am
View
Please show front-end code from those user control are they in different pages or single?
Anisuzzaman
S
umon
26-Nov-15 0:41am
View
May be Not Possible without jquery
Anisuzzaman
S
umon
25-Nov-15 14:52pm
View
Express broadly
Anisuzzaman
S
umon
21-Nov-15 2:47am
View
Is your CSV file header consists of the following column name userid, password,first_name,last_name,user_group?If yes then it is too easy.Reply and wait for getting complete solution :)
Anisuzzaman
S
umon
12-Nov-15 13:25pm
View
Show some code amd your list sample
Anisuzzaman
S
umon
12-Nov-15 10:11am
View
Show some code. check where you place your .rdlc report.It seems that reportviewer could not find your report.
Anisuzzaman
S
umon
6-Nov-15 10:10am
View
:) :P
Anisuzzaman
S
umon
24-Oct-15 10:02am
View
what code you tried till now.show some code.
Anisuzzaman
S
umon
13-Jul-15 3:33am
View
Thank you so much :)
Anisuzzaman
S
umon
20-May-15 5:15am
View
Please explain "a excel spreadsheet with 3 tables of data" .That is how looks like your excel its format ,is those tables located in single worksheet or different!If you don't make rich your question It is quite impossible to answer.
Anisuzzaman
S
umon
27-Mar-15 10:05am
View
Improve your question
Anisuzzaman
S
umon
27-Mar-15 10:00am
View
Please show some code.
Anisuzzaman
S
umon
12-Mar-15 11:57am
View
Please be open hearted ,show some code so that we can help you.However I guess that you are missing to set attribute value of your control AutoPostBack=true.Say
your your control is ListBox then <asp:ListBox id="ListBox1"
Rows="4"
AutoPostBack="True"
SelectionMode="Single"
runat="server">
<asp:ListItem>Item 1
<asp:ListItem>Item 2
<asp:ListItem>Item 3
<asp:ListItem>Item 4
<asp:ListItem>Item 5
<asp:ListItem>Item 6
developer often forget to set this.If it is not your case then show some of your code
Anisuzzaman
S
umon
9-Mar-15 7:04am
View
Try some code , show your approach then ask specifically your question. this is not a good question.
Anisuzzaman
S
umon
7-Mar-15 3:37am
View
Try to specify your question.We are really not mind-readers! :)
Anisuzzaman
S
umon
7-Mar-15 3:30am
View
Please Update your Question We are looking forward to helping you.I could not understand your question.
Anisuzzaman
S
umon
4-Mar-15 2:02am
View
in My PC everything is going correct here is my code: check the difference
protected void Page_Load(object sender, EventArgs e)
{
var hours = Enumerable.Range(00, 24).Select(i => i.ToString("D2"));
var minutes = Enumerable.Range(00, 60).Select(i => i.ToString("D2"));
drpHour.DataSource = hours;
drpHour.DataBind();
drpMinute.DataSource = minutes;
drpMinute.DataBind();
drpHour.Items.Insert(0, DateTime.Now.Hour.ToString());
drpMinute.Items.Insert(0, DateTime.Now.Minute.ToString());
}
protected void btnShow_Click(object sender, EventArgs e)
{
lblSelectedvalue.Text = drpHour.SelectedItem.Value + " and Minute:" + drpMinute.SelectedItem.Value;
}
------------------------------------------------------
Output:
12 and Minute:58 [as I selected]
Anisuzzaman
S
umon
3-Mar-15 3:06am
View
txt.AutoPostBack = true; change it as txt.AutoPostBack = false;
Anisuzzaman
S
umon
23-Feb-15 5:39am
View
I could not understand from where dataFileName comes ,I think as you are in the foreach loop and data is the iterating variable so you need to use data instead of dataFileName.
Anisuzzaman
S
umon
22-Feb-15 23:06pm
View
Hi Mauro_C now mark bellow solution as answer so that the thread can be marked as resolved!
Anisuzzaman
S
umon
22-Feb-15 7:14am
View
check this line for (var j = 0; j < Customers.lenght; j++) {
here use
'Customers.length' instead of 'Customers.lenght' spelling mistake ,may be all the other code seems ok. :)
Anisuzzaman
S
umon
16-Feb-15 4:09am
View
Is it a question!
Anisuzzaman
S
umon
15-Feb-15 6:25am
View
Show More code or You may use flag in if(!IsPostBack){
flag=true;
}
And then check the flag before executing the code inside Page_UnLoad . like protected void Page_UnLoad(object sender,EventAgrs e){ if(!flag){ //code to be executed on user leaves the page} }
Anisuzzaman
S
umon
13-Feb-15 4:13am
View
You question is not clear
Anisuzzaman
S
umon
13-Feb-15 3:32am
View
Have you insert sample data before tesing!set a break point and tell me what the exception says
Anisuzzaman
S
umon
12-Feb-15 6:31am
View
Its not a question rather a Caprice.Be smart brother at first do some code then show your approaches and specify your problem and then ask.
Anisuzzaman
S
umon
12-Feb-15 6:01am
View
Is it a question! show some code and be liberal
Anisuzzaman
S
umon
12-Feb-15 0:56am
View
We cannot see your PC nor we read your mind .please show contents of Web.config and .Show more code.
Anisuzzaman
S
umon
9-Feb-15 23:23pm
View
Improve your question and show up more code
Anisuzzaman
S
umon
9-Feb-15 23:21pm
View
Yes It also works in my pc as BacchusBeale says use Console.ReadKey() at the bottom of your code inside Main()
Anisuzzaman
S
umon
9-Feb-15 4:45am
View
you can use datagridview
Anisuzzaman
S
umon
7-Feb-15 5:22am
View
visit here http://sqlserver2000.databases.aspfaq.com/can-sql-server-tell-me-which-row-was-inserted-most-recently.html
.Or you can use trigger
Anisuzzaman
S
umon
1-Feb-15 0:00am
View
Show your code with event name. and your question is not clear at all .when you are using ddl.ClearSelection() its reset all the selected value .So you need to track item selected each time and store them in a container like listbox .Or you may use dropdownlist with checkboxlist for mutiple selection try the link below
http://www.codeproject.com/Articles/29663/Multiselect-Dropdown-for-Web-Applications
Anisuzzaman
S
umon
29-Jan-15 2:23am
View
Upvote Plz...
:)
Anisuzzaman
S
umon
27-Jan-15 23:26pm
View
Yes I have understood your problem and it is the solution .May be you don't know about Entity framework however I am giving you a complete solution .You can download it. https://onedrive.live.com/redir?resid=1DCB770DAAE94B27%21222
Anisuzzaman
S
umon
27-Jan-15 2:31am
View
Have you a master page named Site.Master? and have you just copied and pasted is aspx there was some garbase like CDDATA[ etc check now
Anisuzzaman
S
umon
27-Jan-15 0:16am
View
No Mention :)
Anisuzzaman
S
umon
5-Jan-15 23:19pm
View
Use ApplyChanges( userDetails) before db.SaveChanges() to update
Anisuzzaman
S
umon
29-Dec-14 5:43am
View
Start through the book "C# 4.0 The Complete Reference" by Herbert Schildt
Anisuzzaman
S
umon
24-Dec-14 7:01am
View
What do you mean by by value of row?Please make your question clarify
Anisuzzaman
S
umon
23-Dec-14 0:38am
View
This is not a good question however give some part of your code .
Anisuzzaman
S
umon
22-Dec-14 2:24am
View
Show Some Code And then ask specifically
Anisuzzaman
S
umon
20-Dec-14 7:14am
View
:)
Anisuzzaman
S
umon
17-Dec-14 0:01am
View
Your code seems correct but as you are saying datagridview shows newly entered entry and you are filling the datasource from the database query .If the database table not updated how it shows please update your question and make sure you are searching in the same table is which you are inserting
Anisuzzaman
S
umon
15-Dec-14 3:00am
View
You are most welcome :)
Anisuzzaman
S
umon
15-Dec-14 0:47am
View
You are most welcome!
Anisuzzaman
S
umon
14-Dec-14 6:43am
View
yes this is possible,Just try then ask for if needed
Anisuzzaman
S
umon
14-Dec-14 0:24am
View
What language is actually using? Nice question .However what thing you actually want to do and why you do not want to use gridview?
Anisuzzaman
S
umon
12-Dec-14 23:18pm
View
You are right!
Anisuzzaman
S
umon
11-Dec-14 7:09am
View
Surely! Thanks Sinisa
Show More