15,993,735 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 SumitChandra (Top 24 by date)
SumitChandra
26-Dec-14 6:44am
View
SystemInformation.VirtualScreen.Width
SystemInformation.VirtualScreen.Height
This will return screen width and height. I need browser inner width and height
SumitChandra
26-Dec-14 5:24am
View
So can I write the JScript in cs page? will be ok then?
SumitChandra
26-Dec-14 4:19am
View
In my project i cannot use any other js, css and cannot edit anymore in aspx file.
i have access only in cs file. So whatever the changes i can make should be in .cs file
SumitChandra
5-Feb-14 5:09am
View
Thanks for all of yours comments.. another thing i need to know with this..
Parent Gridview -> Child Gridview -> Nested Child Gridview...
How to find Nested Child Gridview ID ?
SumitChandra
13-Jan-14 0:48am
View
Yup.... I know... But Thanks for helping me that much.. :)
SumitChandra
13-Jan-14 0:35am
View
Yes everything in perfect but at runtime its not uploading
SumitChandra
11-Jan-14 2:28am
View
try
{
string folder = HttpContext.Current.Server.MapPath("~/Upload/customer/" + txtEmail.Text);
System.IO.Directory.CreateDirectory(folder);
string fileName = Path.GetFileName(fileUploadCustomer1.FileName);
fileUploadCustomer1.SaveAs(Server.MapPath(folder + fileName));
lblUpload.Text = "Upload status: File uploaded!";
}
catch
{
lblUpload.Text = "Upload status: The file could not be uploaded!";
}
NOT WORKING
SumitChandra
11-Jan-14 1:43am
View
string imageFile = HttpContext.Current.Server.MapPath(folder+FileName);
can i use this line instead of
string imageFile = HttpContext.Current.Server.MapPath("~/Upload/customer/1/photo.jpg");
SumitChandra
9-Jan-14 5:06am
View
Width will be fixed at 800px
But the height will change
SumitChandra
7-Jan-14 6:41am
View
Thank you all for your response.... Finally solved it with the help of you all
SumitChandra
6-Jan-14 2:59am
View
Deleted
<asp:GridView ID="gridViewExp" runat="server" AutoGenerateColumns="False" ShowHeaderWhenEmpty="true">
<columns>
<asp:TemplateField HeaderText="Due Date">
<itemtemplate>
<asp:TextBox ID="txtDueDate" runat="server">
<asp:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtDueDate" Format="dd/MM/yyyy">
<asp:TemplateField HeaderText="Description">
<itemtemplate>
<asp:TextBox ID="txtDesc" runat="server" TextMode="MultiLine">
<asp:TemplateField HeaderText="Charge Type">
<itemtemplate>
<asp:TextBox ID="txtChargeType" runat="server">
<asp:TemplateField HeaderText="Amount Due(INR)">
<itemtemplate>
<asp:TextBox ID="txtAmtDue" runat="server">
<asp:TemplateField HeaderText="Tax">
<itemtemplate>
<asp:TextBox ID="txtTax" runat="server">
<asp:TemplateField HeaderText="Amount Received(INR)">
<itemtemplate>
<asp:TextBox ID="txtAmtRecv" runat="server">
<asp:TemplateField HeaderText="Net Payble(INR)">
<itemtemplate>
<asp:TextBox ID="txtNetPayble" runat="server">
<asp:TemplateField>
<itemtemplate>
<asp:Button ID="btnAddNewRow" runat="server" CssClass="button" Text="Add New Row" />
This is My gridview And I want to show it on page load
SumitChandra
30-Dec-13 6:10am
View
solution 1 is the best approach... add another parameter and get/set the value in it for insert/delete or whatever you want to
SumitChandra
30-Dec-13 5:07am
View
Thanks for your reply,
I think you didn't get what i'm trying to say! i'm not looking for the simple join... but for a join two tables with a column (SId) and few column which value will be provided by user at runtime(Name , Address)...
SumitChandra
30-Dec-13 1:57am
View
1st Master Table:Project_Header
[SId] [bigint] IDENTITY(1,1) NOT NULL,
[ProjectName] [varchar](100) NOT NULL,
[ProjectType] [varchar](50) NOT NULL,
[ProjectLocation] [varchar](50) NOT NULL
AND THE 2nd Table Where i want to insert:Money_Receipt
[SId] [bigint] NOT NULL,
[Name] [varchar](50) NOT NULL,
[Address] [varchar](100) NOT NULL
Now Sid will come from Project_Header Table
and Name and Address from user input through a Store Procedure
SumitChandra
24-Dec-13 3:23am
View
Yes.....you'r right....Thanks buddy....for the help :)
SumitChandra
24-Dec-13 3:22am
View
Thanks to you...both are useful
SumitChandra
19-Dec-13 0:06am
View
Thanks for your comment..
SumitChandra
19-Dec-13 0:06am
View
Thanks for your comment... i found it..how to do it via dataset...Thanks a lot
SumitChandra
19-Dec-13 0:04am
View
Thanks for your suggesion.... It works fine
SumitChandra
16-Dec-13 2:43am
View
Thanks Prasaad for your time....
Yes i got your logic, but still have a query... what will be the codes in the cs file for the dropdown_selectedindexchange event?
can you give me some example or any Syntax?
SumitChandra
23-Nov-13 2:05am
View
Syntax error!!
SumitChandra
31-Oct-12 17:57pm
View
Its Sharp develop 4.2 .... Type of VS
SumitChandra
30-Oct-12 16:30pm
View
Thanks for replying ... but now i have a software which can convert those codes ... from VB to ASP / C# ... prob solved.
SumitChandra
16-Sep-12 14:08pm
View
1ST OF ALL THANKS A LOT ALL OF YOU FOR REPLYING ... ACTUALLY IT IS A .m3d file. not ordinary image files like gif,png or jpeg
Show More