15,898,134 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 saeed1364 (Top 72 by date)
saeed1364
23-Feb-15 15:08pm
View
iam need this fileds same table
public int ID_User { set; get; }
public Int16 ID_post { set; get; }
public bool Fbofd { set; get; }
public string FuserName { set; get; }
public bool Foffice { set; get; }
public byte[] FPicaddress { set; get; }
public string FNamePost { set; get; }
saeed1364
23-Feb-15 14:56pm
View
thanks iam edit post .table user and post
saeed1364
23-Feb-15 14:26pm
View
iam need query with all filed user with filed Fnamepost
saeed1364
22-Feb-15 7:05am
View
Error 36 'int' does not contain a definition for 'Value' and no extension method 'Value' accepting a first argument of type 'int' could be found (are you missing a using directive or an assembly reference?)
saeed1364
22-Feb-15 7:05am
View
iam use this link
Error 36 'int' does not contain a definition for 'Value' and no extension method 'Value' accepting a first argument of type 'int' could be found (are you missing a using directive or an assembly reference?)
saeed1364
22-Feb-15 6:52am
View
The not correct answer
db.pollquestions.Where(x=>x.IsCurrent==true).SingleOrDefault();
Line 56: var mainQuery = from p in db.pollOptions where idQuery.Contains(Convert.ToInt32(p.PollID)) select new { p.OptionID, p.PollID, p.QuestionText, vp = int.Parse(p.Votes.ToString()) };
Line 57: var sumvotes = mainQuery.Sum(a => a.vp);
saeed1364
30-Jan-15 0:57am
View
sql 2012
saeed1364
29-Jan-15 0:50am
View
i want
A record that has a maximum repetition
id is auto number
iam wriet this code
SELECT code, COUNT (code)
FROM table GROUP BY code
HAVING COUNT (code)=
(
SELECT MAX (mycount)
FROM (
SELECT code, COUNT (code) mycount
FROM table
GROUP BY code
)tt
)
saeed1364
28-Jan-15 7:55am
View
thanks
saeed1364
25-Jan-15 13:50pm
View
i want how show countgroup
saeed1364
4-Jan-15 8:17am
View
don't work Means dont result (does not show anything.)
saeed1364
28-Dec-14 11:22am
View
how use in @Html.TextBoxFor(m => m.FNamePost , new { id = "Name", @style = "width: 175px;" })
please change up code
saeed1364
22-Nov-14 3:20am
View
please write two query
saeed1364
30-Oct-14 16:19pm
View
please write code
saeed1364
30-Oct-14 15:05pm
View
2^3=8
0 0 0
1 1 1
1 0 0
0 0 1
1 0 1
1 1 0
0 1 0
0 1 1
saeed1364
5-Oct-14 9:26am
View
iam sorry
please help for question thanks
saeed1364
5-Oct-14 9:04am
View
I WNAT SHOW RESULT IN GRIDVIEW
saeed1364
5-Oct-14 9:04am
View
I WNAT SHOW RESULT IN GRIDVIEW
saeed1364
3-Oct-14 7:35am
View
i want result only sum
by group by get multi record in table
saeed1364
9-Sep-14 23:59pm
View
thanks
saeed1364
6-Sep-14 7:08am
View
whats??? please make sure that
iam need filed satge
saeed1364
7-Jan-14 2:12am
View
thanks
when trace this code t bl.Controls.Count is zero
and sloved problem
saeed1364
3-Oct-13 13:37pm
View
Error 4 An object reference is required for the non-static field, method, or property 'System.Web.UI.TemplateControl.Eval(string)'
saeed1364
3-Oct-13 13:35pm
View
when use static dont know Eval("FUserId").ToString());
saeed1364
3-Oct-13 13:23pm
View
this main function
public string SumWage()
{
string str = string.Empty;
int u2 = int.Parse(Eval("FUserId").ToString());
if (ConstList.CheckFormatDate(Ttimef.Text.Trim()) != 0 && Ttimef.Text.Trim() != "")
str += "and [FReqDate] >= " + ConstList.DateStoM(Ttimef.Text.Trim()).Date.ToShortDateString();
if (ConstList.CheckFormatDate(Ttimet.Text.Trim()) != 0 && Ttimet.Text.Trim() != "")
str += " and FReqDate <= " + ConstList.DateStoM(Ttimet.Text.Trim()).Date.ToShortDateString();
return temp.retpricereq(u2, str).ToString();
//return "1";
}
dont use static
saeed1364
3-Oct-13 13:08pm
View
iam dont sorting
saeed1364
10-May-13 2:20am
View
i dont found files in recycle bin
saeed1364
10-May-13 2:10am
View
yes i want restore the files that you deleted
saeed1364
24-Apr-13 5:21am
View
ok
saeed1364
24-Apr-13 3:34am
View
iam dont need radgrid iam need radgridview
saeed1364
7-Apr-13 23:35pm
View
thanks
saeed1364
25-Mar-13 12:14pm
View
whtas:
this is function
saeed1364
25-Mar-13 12:13pm
View
this is function
saeed1364
14-Mar-13 8:04am
View
HOW CHECK ME?
saeed1364
14-Mar-13 7:33am
View
ON TIME ONE PERSON LOGIN IN PAGE ADMIN
saeed1364
9-Mar-13 1:25am
View
updates questions
saeed1364
9-Mar-13 1:25am
View
update questions
saeed1364
11-Nov-12 12:41pm
View
iam check. contorl is not null
saeed1364
7-Nov-12 14:37pm
View
Client side
saeed1364
7-Nov-12 13:01pm
View
dont get serial ram
saeed1364
7-Oct-12 6:19am
View
yes .i want get text from db and then need display
saeed1364
6-Oct-12 10:32am
View
my text store in db iam read from db .
saeed1364
10-Sep-12 13:34pm
View
i know namespace. how to call
saeed1364
10-Sep-12 13:33pm
View
i know namespace. how to call
saeed1364
3-Sep-12 8:32am
View
Facebox is a jQuery-based, Facebook-style lightbox which can display images, divs, or entire remote pages.
saeed1364
27-Aug-12 0:51am
View
PLEASE BETTER Explain .WHAT INPUT
IN EXMPLE Explain .
<asp:TextBox ID="TPassUser" runat="server" Width="250px" CssClass="FormTableTextBox" Height="18px" onkeydown="return (event.keyCode!=13);"
MaxLength="150" AutoPostBack="false" TabIndex="1" TextMode="Password">
saeed1364
8-Jul-12 7:39am
View
please introduced by article pdf or webpage.
saeed1364
21-Apr-12 4:41am
View
is very esay.
you use ImageCSharp .aspx
with imagehandler show pic
//// create ImageCSharp .aspx
///
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
public partial class pageadmin_ImageCSharp : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Request.QueryString["ImageID"] != null)
{
string strQuery = "pleas write query"
String strConnString = System.Configuration.ConfigurationManager
.ConnectionStrings["ConnectionString"].ConnectionString;
SqlCommand cmd = new SqlCommand(strQuery);
cmd.Parameters.Add("@id", SqlDbType.Int).Value
= Convert.ToInt32(Request.QueryString["ImageID"]);
SqlConnection con = new SqlConnection(strConnString);
SqlDataAdapter sda = new SqlDataAdapter();
cmd.CommandType = CommandType.Text;
cmd.Connection = con;
DataTable dt = new DataTable();
try
{
con.Open();
sda.SelectCommand = cmd;
sda.Fill(dt);
}
catch
{
dt = null;
}
finally
{
con.Close();
sda.Dispose();
con.Dispose();
}
if (dt != null)
{
byte[] bytes = (byte[])dt.Rows[0]["FPic"];
Response.Buffer = true;
Response.Charset = "";
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.BinaryWrite(bytes);
Response.Flush();
Response.End();
// }
}
}
}
}
///////////////////////
but read pic from bank
Image1.ImageUrl = "ImageCSharp.aspx?ImageID=" + reader["please write pimary key from bank to show pic"].ToString();
saeed1364
6-Apr-12 1:53am
View
ok improve question
question Is clear
saeed1364
6-Apr-12 0:33am
View
ok.how to change .how to find item then change
saeed1364
5-Apr-12 16:06pm
View
ArrayList items = (ArrayList)Session["mycart"];
CShoppingCartItem item = new CShoppingCartItem();
ImageButton btn = (ImageButton)sender;
string[] CommandArgument = btn.CommandArgument.Split(',');
idbookbuy =Convert.ToInt32(CommandArgument[0]);
txtnamee = CommandArgument[1];
txtName = CommandArgument[2]; Session["mycart"] = arr;
item.ProductName = txtName;
item.ProductNameE = txtnamee;
item.UnitPrice = decimal.Parse(CommandArgument[3]);
item.Quantity = 1;
item.idbook = idbookbuy;
arr.Add(item);
saeed1364
5-Apr-12 14:32pm
View
how ArrayList To change a value
saeed1364
5-Apr-12 5:18am
View
ArrayList items = (ArrayList)Session["mycart"];
use
saeed1364
29-Mar-12 6:55am
View
dont work GridView1.Rows[0].Cells[1].Text
saeed1364
29-Mar-12 0:58am
View
error:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
saeed1364
29-Mar-12 0:50am
View
is shopingcart
arraylist type is session
save value grid to arraylist
if arraylist is null then new arryalist
saeed1364
16-Sep-11 12:44pm
View
my frined pleas send code Handler.ashx
saeed1364
16-Sep-11 4:29am
View
how to convert .i send code
saeed1364
16-Sep-11 1:06am
View
Please give details
saeed1364
16-Sep-11 1:02am
View
With an explanation tell me
saeed1364
15-Sep-11 14:04pm
View
is my problem
saeed1364
15-Sep-11 0:08am
View
dont show gridview
saeed1364
30-Jun-11 0:19am
View
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Amir>ipconfig
Windows IP Configuration
PPP adapter VPN Connection:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 170.16.11.70
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 0.0.0.0
PPP adapter ADSL:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 46.100.110.82
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 0.0.0.0
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::55a2:517a:bdc9:e511%11
Autoconfiguration IPv4 Address. . : 169.254.229.17
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
Tunnel adapter isatap.{708C5B9A-02FC-4C48-9388-B1D227CB8EF8}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter 6TO4 Adapter:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2002:2e64:6e52::2e64:6e52
IPv6 Address. . . . . . . . . . . : 2002:aa10:b46::aa10:b46
Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301
Tunnel adapter isatap.{517F449A-4CAD-4082-A22D-6F75C2025C02}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{63C0F988-22A6-4EA9-98BF-4ABBB571A8D1}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
C:\Users\Amir>netstat -ano
Active Connections
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:7 0.0.0.0:0 LISTENING 2008
TCP 0.0.0.0:9 0.0.0.0:0 LISTENING 2008
TCP 0.0.0.0:13 0.0.0.0:0 LISTENING 2008
TCP 0.0.0.0:17 0.0.0.0:0 LISTENING 2008
TCP 0.0.0.0:19 0.0.0.0:0 LISTENING 2008
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 768
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING 468
TCP 0.0.0.0:1026 0.0.0.0:0 LISTENING 844
TCP 0.0.0.0:1027 0.0.0.0:0 LISTENING 940
TCP 0.0.0.0:1028 0.0.0.0:0 LISTENING 568
TCP 0.0.0.0:1029 0.0.0.0:0 LISTENING 2040
TCP 0.0.0.0:1031 0.0.0.0:0 LISTENING 516
TCP 0.0.0.0:1032 0.0.0.0:0 LISTENING 2920
TCP 46.100.110.82:1236 109.200.24.103:1723 ESTABLISHED 4
TCP 169.254.229.17:139 0.0.0.0:0 LISTENING 4
TCP 170.16.11.70:139 0.0.0.0:0 LISTENING 4
TCP 170.16.11.70:1491 76.13.62.84:80 CLOSE_WAIT 4452
TCP 170.16.11.70:1500 67.195.182.28:80 CLOSE_WAIT 4452
TCP 170.16.11.70:1506 77.238.167.75:80 ESTABLISHED 4452
TCP 170.16.11.70:1670 74.125.39.164:80 CLOSE_WAIT 4884
TCP 170.16.11.70:1671 74.125.39.164:80 CLOSE_WAIT 4884
TCP 170.16.11.70:1759 209.85.149.147:80 CLOSE_WAIT 4884
TCP 170.16.11.70:1760 209.85.149.147:80 CLOSE_WAIT 4884
TCP 170.16.11.70:1808 80.252.91.41:80 ESTABLISHED 4452
TCP 170.16.11.70:1823 81.22.38.99:80 CLOSE_WAIT 4884
TCP 170.16.11.70:1824 81.22.38.99:80 CLOSE_WAIT 4884
TCP 170.16.11.70:2016 66.196.66.157:80 CLOSE_WAIT 4452
TCP 170.16.11.70:2062 209.85.149.106:80 CLOSE_WAIT
saeed1364
30-Jun-11 0:17am
View
im test with netstat and ipconfig but isnt port 8080
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Amir>ipconfig
Windows IP Configuration
PPP adapter VPN Connection:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 170.16.11.70
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 0.0.0.0
PPP adapter ADSL:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 46.100.110.82
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 0.0.0.0
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::55a2:517a:bdc9:e511%11
Autoconfiguration IPv4 Address. . : 169.254.229.17
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
Tunnel adapter isatap.{708C5B9A-02FC-4C48-9388-B1D227CB8EF8}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter 6TO4 Adapter:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2002:2e64:6e52::2e64:6e52
IPv6 Address. . . . . . . . . . . : 2002:aa10:b46::aa10:b46
Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301
Tunnel adapter isatap.{517F449A-4CAD-4082-A22D-6F75C2025C02}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{63C0F988-22A6-4EA9-98BF-4ABBB571A8D1}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
ant netstat:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Amir>ipconfig
Windows IP Configuration
PPP adapter VPN Connection:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 170.16.11.70
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 0.0.0.0
PPP adapter ADSL:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 46.100.110.82
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 0.0.0.0
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::55a2:517a:bdc9:e511%11
Autoconfiguration IPv4 Address. . : 169.254.229.17
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
Tunnel adapter isatap.{708C5B9A-02FC-4C48-9388-B1D227CB8EF8}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter 6TO4 Adapter:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2002:2e64:6e52::2e64:6e52
IPv6 Address. . . . . . . . . . . : 2002:aa10:b46::aa10:b46
Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301
Tunnel adapter isatap.{517F449A-4CAD-4082-A22D-6F75C2025C02}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{63C0F988-22A6-4EA9-98BF-4ABBB571A8D1}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
C:\Users\Amir>netstat -ano
Active Connections
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:7 0.0.0.0:0 LISTENING 2008
TCP 0.0.0.0:9 0.0.0.0:0 LISTENING 2008
TCP 0.0.0.0:13 0.0.0.0:0 LISTENING 2008
TCP 0.0.0.0:17 0.0.0.0:0 LISTENING 2008
TCP 0.0.0.0:19 0.0.0.0:0 LISTENING 2008
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 768
TCP 0.0.0.0:445
saeed1364
29-Jun-11 7:48am
View
how doing test
saeed1364
31-May-11 5:02am
View
no Solution.
not allow null store
saeed1364
12-Apr-11 15:06pm
View
please example better tell.
saeed1364
12-Apr-11 4:27am
View
My good friend's first item goes to the record
i want last item .
thanks
saeed1364
12-Apr-11 0:09am
View
You just answered, but not perfect. Thank you from the time did you spend
error ms
saeed1364
10-Apr-11 8:38am
View
thank you my friend .ok solution very good solution
saeed1364
10-Apr-11 1:03am
View
byte[] pic=pic1.picbox(dataGridView1.CurrentRow.Cells[1].Value.ToString());picure.image=???;
class is......
public Byte[] picbox(string p) { // byte[] binaryData = null; byte[] binaryData =new byte[0]; connection.Open(); command.CommandText = "select * From adduser where (bakernum=@bakernum)"; command.Parameters.AddWithValue("@bakernum", p); SqlDataReader reader = command.ExecuteReader(); reader.Read(); if (reader.HasRows) binaryData = (byte[])reader.GetValue(14); return binaryData ; }
saeed1364
10-Apr-11 1:01am
View
No. is wrong solution
i want show pic or image to picurebox.
""""""""""""
byte[] pic=pic1.picbox(dataGridView1.CurrentRow.Cells[1].Value.ToString());
class is......
public Byte[] picbox(string p)
{
// byte[] binaryData = null;
byte[] binaryData =new byte[0];
connection.Open();
command.CommandText = "select * From adduser where (bakernum=@bakernum)";
command.Parameters.AddWithValue("@bakernum", p);
SqlDataReader reader = command.ExecuteReader();
reader.Read();
if (reader.HasRows)
binaryData = (byte[])reader.GetValue(14);
return binaryData ;
}
Show More