15,892,059 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 Python 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 sashkhdr (Top 57 by date)
sashkhdr
26-Mar-15 3:04am
View
in control i used ViewBag.StudentNotOrdered = studentNotOrdered
.Take(pageSize).ToList().ToPagedList(page ?? 1,20);
sashkhdr
26-Mar-15 3:03am
View
i want to do paging...that's why i want convert list to pagelist
sashkhdr
26-Mar-15 2:26am
View
i want only date
sashkhdr
26-Mar-15 2:25am
View
ok
sashkhdr
26-Mar-15 2:25am
View
by using dd/mm/yyyy you can convert
sashkhdr
26-Mar-15 2:16am
View
dd/mm/yyyy
sashkhdr
26-Mar-15 2:13am
View
i want to conver this to pagekist
sashkhdr
11-Mar-15 2:08am
View
ur skypeid
sashkhdr
11-Mar-15 1:46am
View
i want url like http://localhost:45791/Default2.aspx/statename/cityname like this......when i select in dropdown list
sashkhdr
11-Mar-15 1:32am
View
not working
sashkhdr
11-Mar-15 1:31am
View
ok
sashkhdr
11-Mar-15 1:20am
View
protected void ddlState_SelectedIndexChanged(object sender, EventArgs e)
{
Response.Redirect(Request.Url.AbsolutePath + "?Statename=" + ddlState.SelectedItem.Text.ToString());
}
sashkhdr
10-Mar-15 22:49pm
View
not home work...please answer
sashkhdr
26-Nov-14 3:07am
View
i'm posting here
using (Stream s1 = request.GetResponse().GetResponseStream())
{
using (StreamReader sr = new StreamReader(s1))
{
string jsonResponse = sr.ReadToEnd();
}
sashkhdr
26-Nov-14 3:07am
View
error is coming;The remote server returned an error: (422) Unprocessable ,
not posting the data to webapi
sashkhdr
31-Oct-14 7:34am
View
this question was asked in accenture
sashkhdr
31-Oct-14 7:19am
View
ok tell yes or no
we can store generics in viewstate
sashkhdr
29-Oct-14 5:26am
View
This Is Not a Way To Submit Your Question..Its Annoying ...Not Understansding...
sashkhdr
28-Oct-14 8:44am
View
explain clearly
sashkhdr
27-Oct-14 12:00pm
View
okay ......
sashkhdr
27-Oct-14 11:53am
View
what is the mistake in this code....it will work..check and comment okay
sashkhdr
27-Oct-14 11:49am
View
this code will work.....
sashkhdr
27-Oct-14 10:51am
View
yes
sashkhdr
27-Oct-14 10:38am
View
okay..thanx for ur advice
sashkhdr
27-Oct-14 5:14am
View
by using regular expression we can do that one..
http://www.regexr.com/
you can get wat u want
sashkhdr
27-Oct-14 4:35am
View
by using joins am i right OrginalGriff
sashkhdr
27-Oct-14 4:34am
View
i didn't understand question
sashkhdr
27-Oct-14 2:21am
View
multiple id's
sashkhdr
27-Oct-14 2:20am
View
home/index/1/1
in this way we can pass in browser url in mvc
sashkhdr
26-Oct-14 11:33am
View
but the output is different with this simple code
sashkhdr
26-Oct-14 11:15am
View
nice code
sashkhdr
26-Oct-14 10:26am
View
yes yours right ....thanx for answer
sashkhdr
26-Oct-14 10:26am
View
if i keep k>==1
the 1 is printing 2 times
sashkhdr
26-Oct-14 10:20am
View
im not geeting last 1 number in last
sashkhdr
26-Oct-14 10:20am
View
im not geeting last 1 number in last
sashkhdr
26-Oct-14 8:51am
View
in this program i have one error
near -res-local variable in else statement
string res;
for (int i = 1; i <= 4; i++)
{
if (i == 1) res = "1";
else
res = "" + i + res + i;
Console.WriteLine(res);
sashkhdr
26-Oct-14 6:25am
View
yes..its great...and also thank you for your Help
sashkhdr
26-Oct-14 6:07am
View
I want to be your friend
sashkhdr
26-Oct-14 5:59am
View
I Got The Answer Finally..... The Code Is
static void Main(string[] args)
{
for (int i = 1; i <= 5; i++)
{
for (int j = i; j > 1; j--)
{
Console.Write(j+" ");
}
for (int k = 1; k <= i; k++)
{
Console.Write(k+" ");
}
Console.WriteLine();
}
}
i got it
sashkhdr
26-Oct-14 5:37am
View
I did It....By Using Five If Conditions......
static void Main(string[] args)
{
for (int i = 1; i <= 5; i++)
{
if(i==1)
{
Console.WriteLine(" ");
}
if(i==2)
for (int k = 2; k > 1; k--)
{
Console.Write(k + " ");
}
if (i == 3)
for (int k = 3; k > 1; k--)
{
Console.Write(k + " ");
}
if(i==4)
for (int k = 4; k > 1; k--)
{
Console.Write(k + " ");
}
if (i == 5)
for (int k = 5; k > 1; k--)
{
Console.Write(k + " ");
}
for (int j = 1; j <= i; j++)
{
Console.Write(j+" ");
}
Console.WriteLine();
}
}
how to avoid Five if Conditions..
sashkhdr
26-Oct-14 5:28am
View
static void Main(string[] args)
{
for (int i = 1; i <= 5; i++)
{
for (int k = 5; k > 1; k--)
{
Console.Write(k + " ");
}
for (int j = 1; j <= i; j++)
{
Console.Write(j+" ");
}
Console.WriteLine();
}
sashkhdr
26-Oct-14 5:20am
View
okay...
sashkhdr
26-Oct-14 5:08am
View
This Code Is Littlebit Working..But Not Same As that
static void Main(string[] args)
{
for (int i = 1; i <= 5; i++)
{
for (int k = 4; k > 1; k--)
{
Console.Write(k + " ");
}
for (int j = 1; j <= i; j++)
{
Console.Write(j+" ");
}
Console.WriteLine();
}
}
sashkhdr
26-Oct-14 4:59am
View
sorry....i didn't get the Answer... i did like this But It Came Wrong
.........................
static void Main(string[] args)
{
for (int i = 1; i <= 5; i++)
{
for (int j = 1; j <= i; j++)
{
Console.Write(j+" ");
}
for (int k = 5; k > 1; k--)
{
Console.Write(k+" ");
}
Console.WriteLine();
}
}
}
sashkhdr
26-Oct-14 4:41am
View
how to start with 543212345....
i want to take -5....i didnt getting the answer please give answer fot this please sir
sashkhdr
26-Oct-14 4:05am
View
static void Main(string[] args)
{
for (int i = 1; i <= 5; i++)
{
for (int j = 1; j <= i; j++)
{
Console.Write(j+" ");
}
Console.WriteLine();
}
....................................
after this What i have to do...plz help..or give some clue
sashkhdr
26-Oct-14 3:44am
View
I tried by using jagged array....
static void Main(string[] args)
{
int[][] arr = new int[4][] ;
arr[0] = new int[] { 1 };
arr[1] = new int[] {2, 1, 2 };
arr[2] = new int[] {3,2, 1, 2, 3 };
arr[3] = new int[] {4,3,2, 1, 2, 3,4};
for (int i = 0; i < arr.Length; i++)
{
int[] num = arr[i];
for (int j = 0; j < num.Length; j++)
{
Console.Write(num[j]+" ");
}
Console.WriteLine();
}
is it correct..i cont solve by using for loop by taking num in loop
sashkhdr
26-Oct-14 3:19am
View
for(int i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
console.write(j+" ");
}
Console.Writeline();
}
.....................
After that im not getting plz help
sashkhdr
17-Oct-14 10:21am
View
okay....IMHO means
sashkhdr
15-Oct-14 3:53am
View
yes
sashkhdr
15-Oct-14 3:12am
View
thank you ,Problem Solved
sashkhdr
15-Oct-14 3:06am
View
i'm getting error in the staic method dept1
ERROR:
Error 1 Inconsistent accessibility: parameter type 'ClassLibrary1.demp.del' is less accessible than method 'ClassLibrary1.demp.deptl(System.Collections.Generic.List<classlibrary1.dept>, ClassLibrary1.demp.del)'
sashkhdr
13-Oct-14 22:53pm
View
i want to bind gridview from outside of the textboxes not insidw of griview textbox
sashkhdr
13-Oct-14 3:47am
View
i have a gridview control ....i have four textboxes and one submit button...
when i insert values in textbox and i click submit button the data should be added in gridview....but the problem is......when i insert textbox and i click submit button the data i recently added in textbox was added To The gridview ..and the First insertion data will be deleted in Gridview .But My Requirement is ..the data first added to be save in gridview and second i was added to also show in grid view...
sashkhdr
13-Oct-14 3:03am
View
its also same code....when i enter next first was deleting and adding gridview secon time i enterd textbox values...not saving the first time i enterd in textbox values
sashkhdr
13-Oct-14 3:02am
View
its also not working....
sashkhdr
5-Oct-14 2:22am
View
backup from within SQL Management Studio
Show More