16,012,468 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 Member 11573837 (Top 80 by date)
Member 11573837
10-Apr-22 15:25pm
View
Thank you for replaying me, i want to extacte Json noed to put it into string variable because it used in lot of place in application and th json data is more than 2000 line.
I try you solution befor but it's not accepted by my supplier because it used in lot of place like i say :/ so the solution is to extacte node
Member 11573837
22-Mar-17 14:27pm
View
Deleted
Thank you Karthik Bangalore it help (y)
Member 11573837
22-Mar-17 8:56am
View
thank you Karthik Bangalore for answering me,
it help me, i have just one qst, how can i get the info from my session, i should make cast or what ??
Member 11573837
2-Jun-16 9:21am
View
but the CompareAsync methode it was async methode, i have change the CompareAsync to sync methode and still don't return data
public async Task<List<tracking>> CompareAsync(string prevEnv, string curEnv)
{
var extensionToFind = ".svc";
IEnumerable<value> listOFSvc = await TfsHelper.GetCurrentValuesFromExtensionAsync(_defaultCollectionUrl, _userName, _token, _scopePath, extensionToFind, _apiVersion);
foreach (var svc in listOFSvc)
{
ICompareResult result = InternalCompare(svc, prevEnv, curEnv);
if (result is SucceededCompare)
{
_rsltList.Add(new Tracking()
{
Name = svc.path,
DiffGram = (result as SucceededCompare).DiffGram,
Status = CompareStatus.Success,
HasChanged = !(result as SucceededCompare).IsIdentical
});
}
else
{
_rsltList.Add(new Tracking()
{
Name = svc.path,
DiffGram = "",
Status = CompareStatus.Fail,
ErrorMessage = (result as FailedCompare).Message
});
}
}
return _rsltList;
}
Member 11573837
2-Jun-16 6:19am
View
hi John,
thank you for answering me i have added task.Wait() and i have this exception (An asynchronous operation cannot be started at this time. Asynchronous operations may only be started within an asynchronous handler or module or during certain events in the Page lifecycle. If this exception occurred while executing a Page, ensure that the Page is marked <%@ Page Async="true" %>. This exception may also indicate an attempt to call an "async void" method, which is generally unsupported within ASP.NET request processing. Instead, the asynchronous method should return a Task, and the caller should await it.)
and for the second solution are you proposing to me can you explain more plz
this is my code view
<script src="~/Scripts/jquery.dataTables.js"></script>
<script>
$(document).ready(function () {
$('#myTable').DataTable({
//"serverside":true,
"ajax": {
"url": "/DiffChecker/loaddata",
"type": "GET",
"datatype": "json"
//,
//"timeout": 10000
},
"columns": [
{ "data": "Name", "autoWidth": true },
{ "data": "HasChanged", "autoWidth": true },
{ "data": "ErrorMessage", "autoWidth": true },
{ "data": "DiffGram", "autoWidth": true }
]
});
});
</script>
<table class="table" id="myTable">
<thead>
<tr>
<th>Name</th>
<th>Etat</th>
<th>Error Message</th>
<th>DiffGram</th>
</tr>
</thead>
</table>
Member 11573837
30-May-16 9:20am
View
hi CPallini,
thank you for answering me, my issue is to display my xml file is exist in my project
just display it in notepade for example
Member 11573837
12-Feb-16 9:39am
View
Hi Richard Deeming,
thank you for answering me i have use the OpenXml SDK and i have another issue is the DNX Core 5.0 do not support DocumentFormat.OpenXml whene i add nuget
Member 11573837
11-Feb-16 10:19am
View
hi Richard Deeming,
thank you for anwering me.Do you have any idea how can i read data from excel file with asp.net5 mvc 6, because i have make it in asp.net it work nice but in asp5 didn't want because using system.data
Member 11573837
27-Jan-16 7:24am
View
Hi F-ES Sitecore,
thank you for answering me, i think i get the solution i'm going to test of the ranges using this
Excel.Worksheet excelSheet = workbook.ActiveSheet;
Excel.Range rng = (Excel.Range)excelSheet.Cells[10, 10];
i hope this work
Member 11573837
26-Jan-16 10:47am
View
Thank you F-ES Sitecore,
i want to make it in asp.net MVC 5 ( i'm new in mvc5) is the same or can you give me exemple
Member 11573837
21-Nov-15 11:41am
View
thank you Suvendu Shekhar Giri for answering me
Member 11573837
21-Nov-15 11:40am
View
thank you KrunalRohit for answering me
Member 11573837
29-Jul-15 9:54am
View
hi Kornfeld Eliyahu Peter,
thank you a lot
Member 11573837
22-Jul-15 6:32am
View
done ;)
Member 11573837
22-Jul-15 6:18am
View
hello Anil Vaghasiya,
now it works thank you
Member 11573837
22-Jul-15 5:40am
View
whene i execute i have empty page
Member 11573837
22-Jul-15 5:15am
View
But why i do the same example in visual studio 2010 and it works
and i have do another example wich i bind reportocuemnt with dt and no changing this's my code
protected void Page_Load(object sender, EventArgs e)
{
ReportDocument rptdoc;
DataSet1 ds = new DataSet1();
DataTable dt = ds.Equipement;
DataRow row;
List<equipement> equip = new List<equipement>();
using (QTEL_Entities qtl = new QTEL_Entities())
{
var equi = from eq in qtl.EQUIPEMENTs
select eq;
equip = equi.ToList();
}
foreach (var item in equip)
{
row = dt.NewRow();
row[0] = item.ID_EQUIPEMENT;
row[1] = item.LIBELE_EQUIPEMENT;
dt.Rows.Add(row);
}
rptdoc = new crpt_equi();
rptdoc.SetDataSource(dt);
CrystalReportViewer1.ReportSource = rptdoc;
CrystalReportViewer1.DataBind();
}
whene i make break point the datatable it contains data
Member 11573837
22-Jul-15 4:40am
View
Framwork 4.5
Member 11573837
21-Jul-15 12:05pm
View
hii have instale (v.13.0.14.1720) and i still have same anomaly
http://scn.sap.com/docs/DOC-7824
Member 11573837
21-Jul-15 10:16am
View
hi Anil Vaghasiya,
whene i do the same exemple in visual studio 2010 it works
Member 11573837
21-Jul-15 10:06am
View
hi Anil Vaghasiya,
do you have any idea !!!
Member 11573837
21-Jul-15 9:52am
View
helle,
this's same pic will show you my exemple i have use assisantate mode and this's my code in load
ReportDocument reportdocument = new ReportDocument();
reportdocument.Load(Server.MapPath("CrystalReport1.rpt"));
CrystalReportViewer1.ReportSource = reportdocument;
CrystalReportViewer1.DataBind();
http://www.mediafire.com/view/6whfhmxug36ck6u/etats1.JPG
http://www.mediafire.com/view/287w7547muoy7bk/etat2.JPG
http://www.mediafire.com/view/ynihgslrcj79cn2/etat3.JPG
sorry for being late
Member 11573837
21-Jul-15 9:23am
View
hi Anil Vaghasiya,
thank you for answering me but me i didn't use dataset i'm using "OLE DB (ADO) new connexion" how can i solve it because i have seen exemple and i do like them and don't work for me
Member 11573837
21-Jul-15 7:30am
View
hi Sajith Dilhan,
thank you for answering me i have add crpview.Databind(); and no change
Member 11573837
21-Jul-15 4:55am
View
okey sir
Member 11573837
20-Jul-15 9:12am
View
hi Uzzal Kanti Barua,
thank you it works now
Member 11573837
20-Jul-15 9:11am
View
hi Sanket Saxena,
thank you for answering me i chose the first solution
Member 11573837
20-Jul-15 7:11am
View
hi Uzzal Kanti Barua,
thank you for answering me but it dosen't work
Member 11573837
12-Jul-15 10:34am
View
hi Sem.Shekhovtsov,
i have put the panel out of grid and it work now and i have add link button in footer (add new pm) whene i click i set visible of my panel to true and it works nice thank you
Member 11573837
11-Jul-15 18:01pm
View
hi F-ES Sitecore,
thank you it work now i change id of my grid view because in my webform i have 2 grid and i bind the first one now it works thanks o lot
Member 11573837
11-Jul-15 17:42pm
View
hi F-ES Sitecore,
sorry fo being late to replay this is my gridview
<asp:GridView ID="gv_alerte" runat="server">
<columns>
<asp:TemplateField HeaderText="Libele" HeaderStyle-HorizontalAlign="Left" HeaderStyle-Font-Size="13px">
<itemtemplate>
<asp:Label ID="libel" runat="server" Text='<%# Bind("libel") %>'>
<asp:TemplateField HeaderText="Niveau d'alerte" HeaderStyle-HorizontalAlign="Left" HeaderStyle-Font-Size="13px">
<itemtemplate>
<asp:Label ID="na" runat="server" Text='<%# Bind("na") %>'>
<asp:TemplateField HeaderText="Seuil d'alerte" HeaderStyle-HorizontalAlign="Left" HeaderStyle-Font-Size="13px">
<itemtemplate>
<asp:Label ID="seul" runat="server" Text='<%# Bind("seul") %>'>
Member 11573837
11-Jul-15 11:16am
View
hi F-ES Sitecore
thank you for answering me
this's the error
DataBinding : '<>f__AnonymousType6`3[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Nullable`1[[System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]'does not include a property called ' ID_PM ' .
Member 11573837
10-Jul-15 9:52am
View
hi manognya kota,
thank you for answering me i have add to my gridview (parent) DataKeyNames="id" but the me i have in the gridview child link button and i want to get datakeynames whene i clic to the last one
Member 11573837
9-Jul-15 11:08am
View
hi Richard Deeming,
whene i want to get the selected value i always get the first value if i use
if(!IsPostBack)
{
fillcountry();
}
in DataBound the dropdownlist never be bind
plz what's the solution
Member 11573837
9-Jul-15 11:00am
View
hi Richard Deeming,
thank you for answering me it works
Member 11573837
7-Jul-15 12:18pm
View
thank you Richard Deeming,
i solve my problem
var rslt = (from q in qtl.STATIONs
select new
{
id=q.ID_STATION,
lib=q.LIBELE_STATION,
typ=q.TYPE_STATION,
dsm=q.DATE_MS
}).ToList().Select(x => new
{
id=x.id,
lib=x.lib,
typ=x.typ,
dsm=string.Format("{0:yyyy-MM-dd}", x.dsm),
});
Member 11573837
7-Jul-15 12:15pm
View
Tahnk you looooooot Animesh Datta :D it works now
Member 11573837
7-Jul-15 11:58am
View
hi Animesh Datta,
plz check my pic plzz
http://www.mediafire.com/view/x6w10dpob92r94v/code2e.png
Member 11573837
7-Jul-15 11:41am
View
hi Animesh Datta,
thank you for answering me i try you solution and i get this error
(LINQ to Entities does not recognize the method 'System.String Format(System.String, System.Object)' method, and this method cannot be translated into a store expression.)
Member 11573837
7-Jul-15 11:39am
View
http://www.mediafire.com/view/3w2hu9jmi784smp/img_code.png
Member 11573837
7-Jul-15 11:19am
View
hi, Richard Deeming
plz how can i do can you give me example plz
Member 11573837
7-Jul-15 11:18am
View
hi Dave Kreskowiak,
i have use your solution but it dosen't work for mee i i swear
Member 11573837
7-Jul-15 9:18am
View
hi Anil Vaghasiya, i try it and it dosen't work
Member 11573837
7-Jul-15 9:11am
View
hi Suvendu Shekhar Giri,
you solution not work i have red underling
(no overloading for methde tostring)
Member 11573837
7-Jul-15 9:08am
View
hi Kornfeld Eliyahu Peter,
thank you to answering me i have exception (LINQ to Entities does not recognize the method 'System.String ToShortDateString()' method, and this method cannot be translated into a store expression.)
Member 11573837
22-Jun-15 7:23am
View
but whene the user want to export pdf o excel using mozila firefox don't apear extention like me
Member 11573837
22-Jun-15 7:00am
View
hi F-ES Sitecore,
thank you for answering me, whene i clic to exporting pdf using google chrom i havi file lif WebQ-Tel-Data.pdf or WebQ-Tel-Data.xls but when i user mozila firefox ia have file like WebQ-Tel-Data and WebQ-Tel-Data without extension
Member 11573837
28-May-15 16:50pm
View
Deleted
hi VJ04,
sorry for my late reply because i have lot of to do it
this is my email mustafa.essoufi@gmail.com to contact me or make teamviwer because i can't know where's the problem where i try it in new webform it work but whene i try to add the code in my webform don't work the last webform i have like i have telle you before updatepanel and scriptmanager(ajaxtoolkit) and thank you for spending you time with me :D
Member 11573837
28-May-15 4:30am
View
hi VJ04,
it work whene i have add i new page but whene i want to add in my page wich i word i have same error in my page i work with scriptmanager and update manager i think this's the problème
Member 11573837
27-May-15 15:42pm
View
hi VJ04,
i have try your solution but i get same error
Member 11573837
25-May-15 11:00am
View
thank you Sergey Alexandrovich Kryukov,
i have solve my self i have add
#map-canvas:-webkit-full-screen { width: 100%; height: 100%; }
#map-canvas:-moz-full-screen { width: 100% ; height: 100%;}
#map-canvas:-ms-full-screen { width: 100% ; height: 100%;}
#map-canvas:-o-full-screen { width: 100% ; height: 100%;}
and it work
Member 11573837
25-May-15 9:15am
View
hi Vijay G. Yadav,
thank you for answering me, can you give me example to understand you more !!!
Member 11573837
20-May-15 9:16am
View
it work now thank you i have add
EnableSortingAndPagingCallbacks="false"
and
GridView1.PageIndex = e.NewPageIndex;
GridView1.DataBind();
in event PageIndexChanging
Member 11573837
20-May-15 9:12am
View
and for page.aspx
<asp:ScriptManager ID="ScriptManager1" runat="server">
<asp:UpdatePanel ID="UpdatePanel4" runat="server">
<contenttemplate>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" PageSize="19" EnableSortingAndPagingCallbacks="false" OnPageIndexChanging="GridView1_PageIndexChanging">
Member 11573837
20-May-15 9:11am
View
hello everybody,
i'm sorry for my bad paste
whene i want to move to another page don't work, like i clicking on 2 doesn't take me to the second page
the code wich i bind the gridview is
Module.DS.Clear();
Module.Connecter();
string req = "select time_tag as ' ',[ain_sebou|Niveau],[ain_sebou|Pluie1Hr],[azzaba|Niveau]from QTSW_DATA1 where time_tag between ('20/12/2014 12:06:43') AND ('20/05/2015 12:06:43')";
SqlDataAdapter da = new SqlDataAdapter(req, con);
da.Fill(Module.DS, "DDDD");
Module.Deconnecter();
GridView1.DataSource = Module.DS.Tables["DDDD"];
GridView1.DataBind();
Member 11573837
28-Apr-15 4:20am
View
hi
this's my code
<asp:UpdatePanel ID="UpdatePanel3" runat="server">
<contenttemplate>
<div id="mapcanva" runat="server">
</div>
for hidden and visible the div it works but the map don't apear i have add
border: 2px solid #326195; to my div to check if it work but like i say the (map google mape ) don't apear
Member 11573837
27-Apr-15 10:09am
View
thank you KARTHIK Bangalore
Member 11573837
27-Apr-15 10:08am
View
thank you Sergey Alexandrovich Kryukov,
Member 11573837
27-Apr-15 8:10am
View
hi Sergey Alexandrovich Kryukov,
thank you for answering me
my instruction is
RadHtmlChart1.PlotArea.YAxis.LabelsAppearance.DataFormatString = "{0:N}";
whene it execut it apear like this 12.00 i want to displal 012.00
Member 11573837
27-Apr-15 8:02am
View
hi KARTHIK Bangalore,
thank you for answering me
i want to put it lik this "{0:N}" if there's any way sir
Member 11573837
27-Apr-15 4:20am
View
hi Gideon van Dyk,
thank you for answering me, i update my code but the div wich have map don't apear i think same thing whit UpdatePanel and javascript
i'm waiting for you :D
Member 11573837
19-Apr-15 10:20am
View
hi Rana Waqas,
it work thank you a lot
Member 11573837
19-Apr-15 10:17am
View
Deleted
hi Rana Waqas,
i add script manager but the function i have add dosen't work !!!
can you try it to see
Member 11573837
19-Apr-15 9:12am
View
hi,
thank you Rana Waqas for answering me
i have try your solution and i have an other eroor
Unable to find appropriate resources for the specified culture or the neutral culture . Make sure " AjaxControlToolkit.Properties.Resources.NET4.resources " was correctly embedded or linked in the assembly " AjaxControlToolkit " at compile time , or that all assemblies required are loadable and fully satellites signed.
Member 11573837
18-Apr-15 10:31am
View
or you can check this link i have uplode files you need
https://www.mediafire.com/folder/8g8bqza2swiee/GridView
Member 11573837
18-Apr-15 10:26am
View
hi Arkadeep De,
i'm happy to see your answer
this is my code
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test_Fixed_Head.aspx.cs" Inherits="web_Qtel_Test.Test_Fixed_Head" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<script src="Template/Scripts/jquery-1.4.1.min.js"></script>
<script src="Template/Scripts/ScrollableGridPlugin.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#<%=GridView1.ClientID %>').Scrollable({
ScrollHeight: 500
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="TextBox1" runat="server">
<asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="TextBox1">
<asp:GridView ID="GridView1" runat="server">
</div>
</form>
</body>
</html>
for the tow file of js you can downlod it from the link you have been give it to me in Solution
Member 11573837
17-Apr-15 12:38pm
View
hi Andy Lanng,
i didn't understanding you because of my bad english can you explain again and sorry
Member 11573837
17-Apr-15 10:58am
View
hi Arkadeep De,
when i use in new webform it's fine but when i used in my form i have the error message in my form i use control of AjaxToolKIt is this can make any problem !!!!
Member 11573837
17-Apr-15 10:23am
View
hi Arkadeep De,
thank you for answer me but when i try code o have this erro which is display in pic
plz help me
http://www.mediafire.com/view/tf52bx9699dbz5l/error.JPG
[
^
]
this is the error message in english
(The Controls collection can not be modified because the control contains code blocks (ie ie <% ...% > ) .)
Member 11573837
15-Apr-15 9:56am
View
can you test it in your machine plz !!
Member 11573837
15-Apr-15 9:37am
View
hi,
it dosen't work
and i put a stop point in protected void TextBox2_TextChanged(object sender, EventArgs e) and it dosen't execute
Member 11573837
14-Apr-15 7:31am
View
Big Thanks
Member 11573837
14-Apr-15 7:09am
View
hi,
i don't have liste declared like this
List<string[]> sta = new List<string[]>();
i have
List<string> lst_Station = new List<string>();
and (station1|debit) it one string the pipe is juste deminateur
Member 11573837
13-Apr-15 13:08pm
View
if you want give me your email to send you my project
Member 11573837
13-Apr-15 10:31am
View
it work ( when i clik full sceen) but when i quit full screen the div has 100% in width en height where i will put element.style.width = "520px"; and element.style.height = "1100px"; in your function toggleFullScreen and thank you for help me
Member 11573837
13-Apr-15 10:03am
View
Deleted
<script>
function changeWidth() {
var e1 = document.getElementById("map-canvas");
e1.style.width = "100%";
e1.style.height = "100%";
}
//foction plein ecran
var element, fullscreenbtn;
function intializePlayer() {
element = document.getElementById('map-canvas');
fullscreenbtn = document.getElementById('fullscreenbtn');
// Add event listeners
fullscreenbtn.addEventListener('click', toggleFullScreen, false);
}
window.onload = intializePlayer;
function toggleFullScreen() {
if (element.requestFullScreen) {
element.requestFullScreen();
} else if (element.webkitRequestFullScreen) {
element.webkitRequestFullScreen();
} else if (element.mozRequestFullScreen) {
element.mozRequestFullScreen();
}else if (element.mozCancelFullScreen()) {
element.style.width = "520px";
element.style.height = "1100px";
}
}
</script>
a href="#" id="fullscreenbtn" style="z-index: 10;">plein ecran
Member 11573837
13-Apr-15 9:49am
View
sorry doesn't work how can i do it plz
Member 11573837
13-Apr-15 9:47am
View
like this
if(element.CancelFullScreen())
{
element.style.width = "520px";
element.style.height = "1100px";
}
Member 11573837
13-Apr-15 9:38am
View
hi,
thank you, but i didn't understand you,
i have div which have height:520px and width:1100px; when i click full screen i set height and width to 100% when i quit full screen i want have height:520px and width:1100px and thank you one more time
Member 11573837
2-Apr-15 11:00am
View
thank's to all who help me the eroor dosen't apear i did not do any think and now i connect to DB with out eroor
Show More