15,896,201 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 Abid Shk (Top 10 by date)
Abid Shk
1-Dec-14 2:28am
View
if u dont want to use server.transfer then use postbackUrl on button property
my code also work with postback url
otherwise use response.redirect
Abid Shk
25-Nov-14 8:03am
View
u write max if no data in table then it will return NULL just change a query little bit use
max(coalesce(Product_code,0)) it will work perfectly
Abid Shk
25-Nov-14 7:41am
View
show me your ds = l2.nov(); nov funcion code here
Abid Shk
21-Nov-14 0:05am
View
http://www.aspdotnet-suresh.com/2014/11/export-data-to-excel-from-datatable-gridview-aspnet-csharp.html
goto this link it will help u
Abid Shk
20-Nov-14 5:04am
View
first u want to show no of rows in grid based on selection date difference then want to fetch data from db if no of rows in grid and ur db data row not match.
Suppose if 2 entries in same date then how will u display it
Abid Shk
20-Nov-14 1:31am
View
Assign one class to every textbox then just change a code little bit
$(".clasname").keypress(function (e) {
Abid Shk
20-Nov-14 1:04am
View
write your control ID in place of textbox
Abid Shk
19-Nov-14 1:20am
View
do You want take data from Backend based on Session value or You have already data in gridview and you want to filter it based on Session just clear it
Abid Shk
20-Feb-14 6:59am
View
Use Ajax Update panel to ptrevent postback
Abid Shk
28-Oct-13 2:58am
View
i knew the things you provided in the link.
i want to upload on other web server from local machine.
I search a lot on google but didn't get the coorect answer if u feel it simple so put your answer.
just shut your mouth if u dont know the answer.
try
{
string path = @"\ipaddress\site2\Styles\";
int nFileLen = FileUpload1.PostedFile.ContentLength;
byte[] myData = new byte[nFileLen];
HttpPostedFile myFile = FileUpload1.PostedFile;
myFile.InputStream.Read(myData, 0, nFileLen);
FileStream newFile = new FileStream(path, FileMode.Create);
// Write data to the file
newFile.Write(myData, 0, myData.Length);
// Close file
newFile.Close();
}
catch(Exception ex)
{
}
Show More