15,902,299 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 Member 11014751 (Top 92 by date)
Member 11014751
25-Jan-16 2:30am
View
Please Help...
Member 11014751
25-Jan-16 2:17am
View
Now it is saying FileUpload Has No File.....
Member 11014751
25-Jan-16 0:53am
View
Please Help..
Member 11014751
25-Jan-16 0:11am
View
Error : Error 24 No overload for 'btnUpload_Click' matches delegate 'System.EventHandler'
Member 11014751
3-Jun-15 8:25am
View
Thank you for reply but it does not work
Using ms As New MemoryStream(imageData, 0, imageData.Length)
In this line on ms it give the error below :
ReadTimeout = {"Timeouts are not supported on this stream."}
Member 11014751
28-Nov-14 2:59am
View
i make it INT.
Member 11014751
28-Nov-14 2:49am
View
which Datatype do you Suggest?
Member 11014751
28-Nov-14 2:48am
View
So what Datatype i give?
Member 11014751
17-Nov-14 2:03am
View
Anyone please help........
Member 11014751
15-Nov-14 3:24am
View
it is giving error Input string was not in a correct format.
Member 11014751
15-Nov-14 3:24am
View
("insert into table(Name,HOFImage) values ('" + g1.Cells[0].Text + "','" + Convert.ToByte(g1.Cells[1].Text) + "')", con);
i am doing like this
Member 11014751
14-Nov-14 11:16am
View
Please Make a code for me. for this scenario.
Member 11014751
14-Nov-14 11:00am
View
Please Help by sample code....
Member 11014751
30-Oct-14 6:27am
View
i got all your points but if u can send me any sample code so i can test ..
Member 11014751
23-Oct-14 0:35am
View
giving error "not all code paths return a value"
Member 11014751
22-Oct-14 7:10am
View
Not working
Member 11014751
22-Oct-14 7:10am
View
same error
Member 11014751
22-Oct-14 6:39am
View
Same Error
Member 11014751
21-Oct-14 7:01am
View
problem Still not Solved it is giving error "invalid length for a base-64 char array or string"
Member 11014751
21-Oct-14 7:00am
View
problem Still not Solved it is giving error "invalid length for a base-64 char array or string"
Member 11014751
21-Oct-14 7:00am
View
problem Still not Solved it is giving error "invalid length for a base-64 char array or string"
Member 11014751
17-Oct-14 4:16am
View
please help
Member 11014751
17-Oct-14 3:49am
View
Com.Parameters.AddWithValue("@Password", Decrypt(Login1.Password));
Member 11014751
15-Oct-14 3:24am
View
private void GetChatData()
{
var table = new DataTable();
SqlDataAdapter da = new SqlDataAdapter("SELECT(SELECT Count(IsSubmited) FROM Tb_NewHouseForm WHERE name= '" + lblname.Text + "' AND Submited= 'Yes') As Submited ,(SELECT Count(IsApproved) FROM Tb_NewHouseForm WHERE name= '" + lblname.Text + "' AND IsApproved = 'No') As Approved", sConn);
da.Fill(table);
double[] yValues = { 10, 23.19 };
string[] xValues = { "Submited", "Approved" };
Chart1.Series["Default"].Points.DataBindXY(xValues, yValues);
Chart1.Series["Default"].Points[0].Color = Color.MediumSeaGreen;
Chart1.Series["Default"].Points[1].Color = Color.PaleGreen;
//Chart1.Series["Default"].Points[2].Color = Color.LawnGreen;
Chart1.Series["Default"].ChartType = SeriesChartType.Pie;
Chart1.Series["Default"]["PieLabelStyle"] = "Enable";
Chart1.ChartAreas["ChartArea1"].Area3DStyle.Enable3D = true;
Chart1.Legends[0].Enabled = true;
}
i am getting two values in Select query Submited & Approved how i put that value in double[] yValues = { "", "" };
please help....
Member 11014751
15-Oct-14 3:24am
View
private void GetChatData()
{
var table = new DataTable();
SqlDataAdapter da = new SqlDataAdapter("SELECT(SELECT Count(IsSubmited) FROM Tb_NewHouseForm WHERE name= '" + lblname.Text + "' AND Submited= 'Yes') As Submited ,(SELECT Count(IsApproved) FROM Tb_NewHouseForm WHERE name= '" + lblname.Text + "' AND IsApproved = 'No') As Approved", sConn);
da.Fill(table);
double[] yValues = { 10, 23.19 };
string[] xValues = { "Submited", "Approved" };
Chart1.Series["Default"].Points.DataBindXY(xValues, yValues);
Chart1.Series["Default"].Points[0].Color = Color.MediumSeaGreen;
Chart1.Series["Default"].Points[1].Color = Color.PaleGreen;
//Chart1.Series["Default"].Points[2].Color = Color.LawnGreen;
Chart1.Series["Default"].ChartType = SeriesChartType.Pie;
Chart1.Series["Default"]["PieLabelStyle"] = "Enable";
Chart1.ChartAreas["ChartArea1"].Area3DStyle.Enable3D = true;
Chart1.Legends[0].Enabled = true;
}
i am getting two values in Select query Submited & Approved how i put that value in double[] yValues = { "", "" };
please help....
Member 11014751
15-Oct-14 3:23am
View
private void GetChatData()
{
var table = new DataTable();
SqlDataAdapter da = new SqlDataAdapter("SELECT(SELECT Count(IsSubmited) FROM Tb_NewHouseForm WHERE name= '" + lblname.Text + "' AND Submited= 'Yes') As Submited ,(SELECT Count(IsApproved) FROM Tb_NewHouseForm WHERE name= '" + lblname.Text + "' AND IsApproved = 'No') As Approved", sConn);
da.Fill(table);
double[] yValues = { 10, 23.19 };
string[] xValues = { "Submited", "Approved" };
Chart1.Series["Default"].Points.DataBindXY(xValues, yValues);
Chart1.Series["Default"].Points[0].Color = Color.MediumSeaGreen;
Chart1.Series["Default"].Points[1].Color = Color.PaleGreen;
//Chart1.Series["Default"].Points[2].Color = Color.LawnGreen;
Chart1.Series["Default"].ChartType = SeriesChartType.Pie;
Chart1.Series["Default"]["PieLabelStyle"] = "Enable";
Chart1.ChartAreas["ChartArea1"].Area3DStyle.Enable3D = true;
Chart1.Legends[0].Enabled = true;
}
i am getting two values in Select query Submited & Approved how i put that value in double[] yValues = { "", "" };
please help....
Member 11014751
15-Oct-14 2:25am
View
I have create PIE chart but is only Showing IsApproved value . it is not showing IsRejected & IsPending.....
Member 11014751
15-Oct-14 1:43am
View
I want to show all Three of them but it is taking only one xvalue...
Member 11014751
15-Oct-14 1:36am
View
I have create PIE chart but is only Showing IsApproved value . it is not showing IsRejected & IsPending.....
Member 11014751
15-Oct-14 1:36am
View
I have create PIE chart but is only Showing IsApproved value . it is not showing IsRejected & IsPending.....
Member 11014751
15-Oct-14 1:00am
View
This is not Helping me
Member 11014751
14-Oct-14 1:06am
View
Ohhhh Yes i am making mistake ..... Thank You So much...
Member 11014751
14-Oct-14 1:04am
View
"if (Gridview1.Rows[0].Cells[5].Text.ToString() == textbox1.Text)"
this is also not working
Member 11014751
30-Sep-14 5:25am
View
Please guide me what do i write in replace of this line :
string Path = @"111.11.111.111:111\abc\abc\abc\";
Member 11014751
30-Sep-14 3:24am
View
Folder is on server and i want to access that... and that is a IP address ..
Member 11014751
29-Sep-14 0:18am
View
I want to display binary image from database ... i have multiple images on one username i want to display all images but it is only displaying one image.
Member 11014751
23-Sep-14 3:50am
View
Ok Thanks Let me Check
Member 11014751
23-Sep-14 3:37am
View
I have changed my Logic ... Thank you
Member 11014751
15-Sep-14 5:52am
View
Any One please Help
Member 11014751
15-Sep-14 2:54am
View
Some are saving data some are getting data some are displaying controls on page on runtime .....
Member 11014751
15-Sep-14 2:54am
View
Please give me any other example this is not working .... :(
Member 11014751
12-Sep-14 9:31am
View
I want to load this website on server 2003 and there is IIS6 which is not supporting .net framework greater than 2.0..
Member 11014751
12-Sep-14 9:28am
View
Thank You :)
Member 11014751
12-Sep-14 9:28am
View
Thank You :)
Member 11014751
12-Sep-14 9:28am
View
Thank You :)
Member 11014751
12-Sep-14 9:18am
View
When i am draging control from toolbox to web form it is not working............
Member 11014751
8-Sep-14 4:43am
View
My problem is not Solved :(
Member 11014751
8-Sep-14 4:40am
View
Deleted
<configuration>
<appsettings>
<connectionstrings>
<system.web>
<compilation debug="true">
<authentication mode="Forms">
<forms defaultUrl="~/SurveyFormNew.aspx" loginUrl="~/SurveyLogin.aspx" slidingExpiration="true" timeout="2880"/>
/system.web>
Member 11014751
8-Sep-14 4:38am
View
Deleted
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\vx.x\Config
-->
<configuration>
<appsettings>
<connectionstrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms">
<forms defaultUrl="~/SurveyFormNew.aspx" loginUrl="~/SurveyLogin.aspx" slidingExpiration="true" timeout="2880"/>
<!--
The <customerrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customerrors mode="RemoteOnly" defaultredirect="GenericErrorPage.htm">
<error statuscode="403" redirect="NoAccess.htm">
<error statuscode="404" redirect="FileNotFound.htm">
-->
Member 11014751
8-Sep-14 4:37am
View
i am developing on framework 2.0
Member 11014751
8-Sep-14 4:37am
View
I tried this
http://ajax.net-tutorials.com/controls/updatepanel-control/
but not working in my project
Member 11014751
5-Sep-14 8:41am
View
Not Working
Member 11014751
5-Sep-14 8:22am
View
Any Solution ?
Member 11014751
5-Sep-14 8:20am
View
Deleted
Some One told me to use update panel how can i use that ?
Member 11014751
5-Sep-14 8:13am
View
<asp:Panel ID="Panel5" runat="server">
<asp:GridView ID="GVDOCS" runat="server" AutoGenerateColumns="False" Width="814px" DataKeyNames="ID" DataSourceID="SqlDataSourcedocphotos" Align="Center" DataKeyNames1="ID" OnSelectedIndexChanged="GVDOCS_SelectedIndexChanged">
<columns>
<asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" ReadOnly="True" SortExpression="ID" />
<asp:BoundField DataField="FormNo" HeaderText="FormNo" SortExpression="FormNo" />
<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
<asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" />
<asp:CommandField ShowSelectButton="True" SelectText="Download" ControlStyle-ForeColor="Blue" ShowDeleteButton="True">
<controlstyle forecolor="Blue">
<footerstyle backcolor="#1C5E55" font-bold="True" forecolor="White">
<PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#00FF00" Font-Bold="True" ForeColor="White" />
<editrowstyle backcolor="#7C6F57">
<%--<alternatingrowstyle backcolor="White">--%>
<rowstyle backcolor="White">
<asp:GridView ID="GVPhotos" runat="server" AutoGenerateColumns="False" Width="814px" DataKeyNames="ID" DataSourceID="SqlDataSourcephotos" Align="Center" DataKeyNames1="ID" OnRowCommand="GVPhotos_RowCommand">
<columns>
<asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" ReadOnly="True" SortExpression="ID" />
<asp:BoundField DataField="FormNo" HeaderText="FormNo" SortExpression="FormNo" />
<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
<asp:BoundField DataField="ContentType" HeaderText="ContentType" SortExpression="ContentType" />
<asp:CommandField ShowDeleteButton="True" />
<asp:TemplateField ItemStyle-HorizontalAlign ="Justify">
<itemtemplate>
<asp:LinkButton ID="lnkDownload" runat="server" Text="Download" OnClick="DownloadFile"
CommandArgument='<%# Eval("Id") %>'>
<itemstyle horizontalalign="Justify">
<footerstyle backcolor="#1C5E55" font-bold="True" forecolor="White">
<PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#00FF00" Font-Bold="True" ForeColor="White" />
<editrowstyle backcolor="#7C6F57">
<%--<alternatingrowstyle backcolor="White">--%>
<rowstyle backcolor="White">
<asp:SqlDataSource ID="SqlDataSourcephotos" runat="server" ConnectionString="<%$ ConnectionStrings:HouseSrvyDBCon %>" SelectCommand="SELECT * FROM [abv] WHERE ([FormNo] = @FormNo)" DeleteCommand="DELETE FROM [
Member 11014751
5-Sep-14 8:12am
View
protected void GVPhotos_RowCommand(object sender, GridViewCommandEventArgs e)
{
try
{
switch (e.CommandName)
{
case "view":
string filename = e.CommandArgument.ToString();
String js = "window.open('Picture.aspx?ID=" + filename + "', '_blank');";
ClientScript.RegisterClientScriptBlock(this, this.GetType(), "Welcome", js, true);
break;
}
}
catch (Exception ex)
{
}
}
Member 11014751
5-Sep-14 8:08am
View
Its already There
Member 11014751
5-Sep-14 8:03am
View
Error on Script manager Error:The name 'ScriptManager' does not exist in the current context.
i have loded grid by sqlDatasource
Member 11014751
29-Aug-14 6:41am
View
Thank You So Much.... :)
this link helped me
http://aspsnippets.com/Articles/Simple-User-Login-Form-example-in-ASPNet.aspx[^]
Member 11014751
21-Aug-14 7:38am
View
This Code Not Working
Member 11014751
21-Aug-14 7:10am
View
Please Give me for Alpha, AplhaNumeric & Amount
Member 11014751
21-Aug-14 3:31am
View
Thanks Numeric is Done , How to do for Alpha, AplhaNumeric & Amount
Member 11014751
21-Aug-14 2:51am
View
Thanks but in names and address fields i dont want anyone to write special characters . In name only A-Z-a-z allowed . i want email validation also
Member 11014751
21-Aug-14 1:54am
View
Tell Me for both if possible ,
Now i want for Windows
Member 11014751
19-Aug-14 8:17am
View
Any Changes in this ?
Member 11014751
19-Aug-14 7:55am
View
I have written like this is it ok ?
But there is no form saved in my Project
Private Sub SaveForm()
Dim allForms As String = My.MySettings.Default.Forms
allForms = allForms & ";" & "Forms"
My.MySettings.Default.Forms = allForms
My.MySettings.Default.Save()
For Each formTitle As String In allForms
newform.Text = txtfrmnme.Text
newform.Show()
Next
End Sub
Member 11014751
19-Aug-14 7:44am
View
What to do please guide ...
Member 11014751
19-Aug-14 7:26am
View
i am writing this but it is giving error
Dim allForms As String = My.MySettings.Default.Save
error : Expression does not produce a value.
Member 11014751
19-Aug-14 7:14am
View
i have written like this
Dim allForms As String = My.MySettings.Default.Forms ( IT WORKS)
but there is no form saved in project
Member 11014751
19-Aug-14 7:05am
View
DO i have to import any Namespace ?
Member 11014751
19-Aug-14 7:04am
View
Dim allForms As String = "till here it is OK" but when i start writing Properties there is no such property named properties
Member 11014751
19-Aug-14 6:47am
View
Sorry i didn't understand what to do ? :(
Member 11014751
19-Aug-14 6:40am
View
i am using visualstudio 2012
Member 11014751
19-Aug-14 6:39am
View
Now what do i do ?
Member 11014751
19-Aug-14 6:27am
View
YES
Member 11014751
19-Aug-14 6:21am
View
It is giving error on properties.setting.....
property is not declared. it may be inaccessible due to its protection level
Member 11014751
19-Aug-14 6:01am
View
Hope you understand what i am trying to say ......
Member 11014751
19-Aug-14 5:50am
View
when i run my program it display a form there is a fields Text-box for giving name to new form when i will write the form name on text-box and click on button create-form so it is just showing a new form named textbox.text but it is not saving in my project ...
Member 11014751
19-Aug-14 5:28am
View
Is it possible if i can show u what i am doing on Skype or teamviewer
Member 11014751
19-Aug-14 5:23am
View
Please give me any reference or example to solve this problem
Member 11014751
19-Aug-14 4:27am
View
i am using this
Dim newform As New System.Windows.Forms.Form
newform.Text = txtfrmnme.Text
newform.Show()
in this code this is just creating a form but i want to save in my project also with the name of form i have given in textbox
Member 11014751
19-Aug-14 1:12am
View
Thank You So Much for Your Help ... I have done it . i have replace the line with
lbl(i).Text = chkcolmlst.GetItemText(chkcolmlst.CheckedItems(i))
Member 11014751
18-Aug-14 9:09am
View
in this code it is working like if i select A&C
it makes the two lable named "A" it is now creating second lable with name C
Member 11014751
18-Aug-14 9:07am
View
I want the selected item Text in lable
like there are 3 items in Checkbox A,B,C
i selected A&C now i want to create lable named A&C
Member 11014751
18-Aug-14 9:05am
View
I want the selected item Text in lable
Member 11014751
18-Aug-14 6:31am
View
i have Got stuck in this small Problem Please Help
Member 11014751
18-Aug-14 4:43am
View
Please Anyone?
Member 11014751
18-Aug-14 3:52am
View
so what do i code in replace of this line?
Member 11014751
16-Aug-14 1:12am
View
Its Done :):):):):) Thanks Alot to all
Member 11014751
16-Aug-14 0:59am
View
What do you means by first query?
Member 11014751
15-Aug-14 8:36am
View
Please Help i want to submit my assignment today. :(
Member 11014751
15-Aug-14 8:05am
View
It is giving error
" Database 'System' does not exist. Make sure that the name is entered correctly. "
Show More