15,899,754 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 tranesyasd (Top 45 by date)
tranesyasd
1-Sep-15 3:51am
View
i solved it
thank you
tranesyasd
1-Sep-15 1:41am
View
i passed the value using method and i filled the datatable depending on this value ,the problem when i bind the grid it be null
tranesyasd
31-Aug-15 6:22am
View
i create user control contain aspxgridview
i will use this user control in my page in the code behind of this page i will get the id and pass it to the grid in the user control to fill the data and display it
this i want to do
tranesyasd
31-Aug-15 5:42am
View
also if i only bind the aspxgridview1 it be null also
tranesyasd
31-Aug-15 5:33am
View
when i used debugger every thing ok and dt returned rows
when i reach the line
ASPxGridView1.DataSource = dt;
the ASPxGridView1 is null
i think its null because i access it from another page
tranesyasd
31-Aug-15 5:10am
View
i tried to use my grid using findcontrol method the same error appear
tranesyasd
31-Aug-15 5:09am
View
the datatable return value the problem is when i use the grid in the method it be null i donot know why?
tranesyasd
26-Aug-15 4:06am
View
can any one answer me please ?
tranesyasd
18-Jun-15 4:05am
View
thank you very much
tranesyasd
18-Jun-15 4:04am
View
thank you very much
tranesyasd
17-Jun-15 1:53am
View
come from the difference between the DatTime.Now and the lastReply
if the datetime.now is 17-06-2015 09:00:00 and the lastReply is 15-06-2015 08:00:00
the result be like this (2d 1h)
tranesyasd
16-Jun-15 6:19am
View
thank you very much
but if i need to get the last reply like this (1d 10h) of (1h 15m) instead of the date itself (15-6-2015)
tranesyasd
15-Jun-15 5:41am
View
SELECT distinct dbo.Documents.DocName, COUNT(*) over () AS [numOfReplies],max(dbo.Replies,replyDate) as [lastreply]
FROM dbo.Documents INNER JOIN
dbo.Replies ON dbo.Documents.DocumentID = dbo.Replies.DocumentID INNER JOIN
dbo.Users ON dbo.Documents.SendTo = dbo.Users.UserID
WHERE (dbo.Users.UserID = 1)
GROUP BY dbo.Documents.DocumentID
tranesyasd
7-Jun-15 6:39am
View
thank you very much
it is working
tranesyasd
3-Jun-15 1:19am
View
if you have example or demo to create my own control please tell me
thank you
tranesyasd
2-Jun-15 6:53am
View
please tell me how can i do that ?
thank you
tranesyasd
2-Jun-15 6:37am
View
tokeninput is a plugin control i added it but how can call the function above in this control ?
tranesyasd
2-Jun-15 1:23am
View
like the control in this link :
http://loopj.com/jquery-tokeninput/
tranesyasd
16-Feb-15 15:36pm
View
i did that :)
tranesyasd
16-Feb-15 15:33pm
View
Deleted
i did that :)
tranesyasd
16-Feb-15 15:29pm
View
i added this code in c# :
DataTable tvp = new DataTable();
tvp = dtexcel;
using (cn)
{
SqlCommand cmd = new SqlCommand("dbo.InsertMyDataTable", cn);
cmd.CommandType = CommandType.StoredProcedure;
SqlParameter tvparam = cmd.Parameters.AddWithValue("@dt", tvp);
tvparam.SqlDbType = SqlDbType.Structured;
cn.Open();
cmd.ExecuteNonQuery();
cn.Close();
}
and work correctly without any duplicate
thank you very much zoltan zorgo
tranesyasd
16-Feb-15 15:27pm
View
it's working
thank you very much
tranesyasd
16-Feb-15 15:14pm
View
Must declare the scalar variable "@dt"
tranesyasd
16-Feb-15 15:11pm
View
i create stored procedure like this :
CREATE TYPE dbo.dtExcel -- you can be more speciifc here
AS TABLE
(
nameCustomer NVARCHAR(50),
nameItem NVARCHAR(50)
-- etc etc. The columns you have in your data table.
);
GO
CREATE PROCEDURE dbo.InsertMyDataTable
@dt AS dbo.dtExcel READONLY
AS
BEGIN
SET NOCOUNT ON;
insert into Customers (nameCustomer)
select DISTINCT nameCustomer from @dt where NOT EXISTS (select nameCustomer from Customers where Customers.nameCustomer=@dt.nameCustomer)
END
GO
but there is error
can you help me?
tranesyasd
16-Feb-15 15:00pm
View
how can i use it without duplicate the data
tranesyasd
16-Feb-15 14:56pm
View
how can i use sqlbulkcopy without duplicate the data.
if the data is exist don't insert it just insert the new values as i did in my sql statement
thank you
tranesyasd
16-Feb-15 14:43pm
View
i have datatable (dt) filled from excel sheet, i need to insert the values in this datatable in database in table (Customers) without duplicate the data so i used this sql statement in my c# code but when i run the project there is error (invalid object named dt) so how i can i use it in this statement
tranesyasd
10-Feb-15 0:28am
View
i did this but when i change the style of font in texteditor the font tag appear.
the font style should change without tags
tranesyasd
20-Jul-14 5:11am
View
i use this script
<script>
document.getElementById("asd").addEventListener("ended", function () { alert("all done") }, true);
</script>
this script give me a message after the video finished but i want to prevent the user to watch the video again when he watched it he can't watch it again
tranesyasd
15-Apr-13 14:47pm
View
how can i do it ?
tranesyasd
14-Apr-13 16:11pm
View
Deleted
$client = new soapclient($wsdlUrl);
$params = array('memberId' => 'W1100045',
'thirdName' => 'Ali');
$result = $client->GetMembers($params);
$echoText = '';
if (is_null($result->GetMembersResult))
{
echo "no result";
}
else
{
echo $result->GetMembersResult;
}
?>
tranesyasd
14-Apr-13 16:10pm
View
this php code :
$client = new soapclient($wsdlUrl);
$params = array('memberId' => 'W1100045',
'thirdName' => 'Ali');
$result = $client->GetMembers($params);
$echoText = '';
if (is_null($result->GetMembersResult))
{
echo "no result";
}
else
{
echo $result->GetMembersResult;
}
?>
$client = new soapclient($wsdlUrl);
$params = array('memberId' =?--> 'W1100045',
'thirdName' => 'Ali');
$result = $client->GetMembers($params);
$echoText = '';
if (is_null($result->GetMembersResult))
{
echo "no result";
}
else
{
echo $result->GetMembersResult;
}
?>
and when i run the php code this error appear
Catchable fatal error: Object of class stdClass could not be converted to string in /home/appszone/public_html/wsd.php on line 17
how can i solve it?
tranesyasd
27-Mar-13 3:49am
View
I made these steps but still my web service run on the localhost how can i host it to run the web service from another machine.
tranesyasd
18-Feb-13 4:54am
View
and i have the custID and ProID
but the problem i have multiple proID how can i insert the mutiple proID with one custID in CUST_PRO table
tranesyasd
18-Feb-13 4:52am
View
da.SelectCommand = new SqlCommand("SELECT * FROM products", cn);
dt.Clear();
da.Fill(dt);
combobox1.DataSource = dt;
combobox1.ValueMember = "proID";
combobox1.DisplayMember = "proName";
tranesyasd
26-Jun-12 15:08pm
View
yes
and i don't know what is the problem
tranesyasd
22-Feb-12 1:44am
View
thank you sir for cooperation.
but your links the both speak about web application and my application is desktop.
and these articles speak about remote database and my application will run on stand-alone machine so i need the database and the application run on stand-alone machine without any networks.
tranesyasd
21-Feb-12 12:37pm
View
i need this necessary
tranesyasd
18-Feb-12 8:40am
View
i used prerequisties to add the framework and sql express
but how to add the database files with my application in setup project
tranesyasd
18-Feb-12 6:20am
View
i will run my application at single machine.
So please tell me how can i attach my database files and framework in one setup file
tranesyasd
18-Feb-12 5:10am
View
you mean i install the sql server express and attach my database.
if i want a database attached directly when i install the application its possible or not
thanks
tranesyasd
15-Feb-12 11:48am
View
i used this :
da.SelectCommand = new SqlCommand("SELECT DATEDIFF(day,GETDATE(),enddate) AS dateend FROM Person", cn);
and its worked and give me the dates right.
thank you very much manognya kota.
tranesyasd
15-Feb-12 11:33am
View
i do this :
SELECT DATEDIFF(day,DATETIME.now,[enddate])
FROM person;
but datetime.now not recognized .
tranesyasd
15-Feb-12 11:09am
View
thank you for your cooperation.
Please can you tell me how can i use this? can you give me example ?
tranesyasd
17-Nov-11 14:22pm
View
it worked
thank you very much sir
Show More