15,895,084 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 Afzal Shaikh (Top 40 by date)
Afzal Shaikh
13-May-20 12:23pm
View
Neither on emulator nor on the actual device. I am working on to design layout that time can't see the UI controls while dragging and dropping.
Afzal Shaikh
23-Nov-18 5:24am
View
square brackets not working :(
Afzal Shaikh
23-Nov-18 5:23am
View
[db2inst1@IBM-BPM-DB2-DEV ~]$ db2 "CREATE PROCEDURE TEST_PROCEDURE() BEGIN AS SELECT DECLINECODE FROM [DASUSR1].[DECLINECODE]; END"
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0104N An unexpected token "AS" was found following "ST_PROCEDURE() BEGIN".
Expected tokens may include: "<psm_for>". LINE NUMBER=1. SQLSTATE=42601
Afzal Shaikh
31-Dec-16 7:28am
View
child repeater is null when execute the code.
Afzal Shaikh
31-Dec-16 3:00am
View
Deleted
how can i find the control MenuchildItemLnk of repeater rptChildMenu?
Afzal Shaikh
25-Nov-16 8:08am
View
Yes i want u to please explain how to install library.
now new error is:
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\PythonLDA\stop_words\MyFirstPythonProgram.py", line 4, in <module>
from gensim import corpora, models
File "C:\Users\Administrator\Desktop\PythonLDA\stop_words\gensim\__init__.py", line 6, in <module>
from gensim import parsing, matutils, interfaces, corpora, models, similarities, summarization
File "C:\Users\Administrator\Desktop\PythonLDA\stop_words\gensim\parsing\__init__.py", line 7, in <module>
from .preprocessing import *
File "C:\Users\Administrator\Desktop\PythonLDA\stop_words\gensim\parsing\preprocessing.py", line 10, in <module>
from gensim import utils
File "C:\Users\Administrator\Desktop\PythonLDA\stop_words\gensim\utils.py", line 39, in <module>
import numpy
File "C:\Users\Administrator\Desktop\PythonLDA\stop_words\numpy\__init__.py", line 131, in <module>
raise ImportError(msg)
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
Afzal Shaikh
25-Nov-16 7:47am
View
thanks , it's working :)
Now another error:
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\PythonLDA\stop_words\MyFirstPythonProgram.py", line 4, in <module>
from gensim import corpora, models
File "C:\Users\Administrator\Desktop\PythonLDA\stop_words\gensim\__init__.py", line 6, in <module>
from gensim import parsing, matutils, interfaces, corpora, models, similarities, summarization
File "C:\Users\Administrator\Desktop\PythonLDA\stop_words\gensim\parsing\__init__.py", line 7, in <module>
from .preprocessing import *
File "C:\Users\Administrator\Desktop\PythonLDA\stop_words\gensim\parsing\preprocessing.py", line 10, in <module>
from gensim import utils
File "C:\Users\Administrator\Desktop\PythonLDA\stop_words\gensim\utils.py", line 39, in <module>
import numpy
File "C:\Users\Administrator\Desktop\PythonLDA\stop_words\numpy\__init__.py", line 131, in <module>
raise ImportError(msg)
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
Afzal Shaikh
25-Nov-16 7:38am
View
i am new , i do not know how to install using command line.
can you please explain step by step
Afzal Shaikh
8-Jul-15 3:39am
View
Thank you , It works :)
Afzal Shaikh
1-Oct-13 2:18am
View
With naming container It gives index of child row and with Parent.Parent ,it too gives child rowindex.
I mean to say When i change text from 2nd row of child gridview inside 1st row of Parent , it returns child 2=rowindex
instead of 1=rowindex
Afzal Shaikh
1-Oct-13 1:23am
View
see added the aspx page
Afzal Shaikh
1-Oct-13 1:20am
View
Deleted
<asp:GridView runat="server" ID="dgvCartItems" AutoGenerateColumns="false"
CssClass="AccountBillinggrid" Visible="true"
onrowcommand="dgvCartItems_RowCommand"
onrowdeleting="dgvCartItems_RowDeleting"
onrowdatabound="dgvCartItems_RowDataBound">
<emptydatatemplate>
No Items In Shopping Cart
<columns>
<asp:BoundField HeaderText="Order ProductID" DataField="CartOrderProductID"/>
<asp:TemplateField HeaderText="Item" >
<itemtemplate>
<asp:Label runat="server" ID="lblproductTitleDisplay" Visible="false">
<asp:ImageButton CommandName="ColExp" CommandArgument='<%# Container.DataItemIndex %>' runat="server" ID="productCaseGroupIcon" ImageUrl="/images/icons/inline/expand.jpg" Visible="false" OnClick="productCaseGroupIcon_Click" style="width:auto" />
<asp:Label runat="server" ID="lblCaseNumber" Visible="false">
<asp:ImageButton CommandName="NavigateToSummary" CommandArgument='<%# Container.DataItemIndex %>' runat="server" ID="ImgSummaryDetails" ImageUrl="/images/icons/inline/view.png" Visible="false" style="width:auto" />
<br />
<asp:Label runat="server" ID="lblPlaintiffandDefendant" Visible="false">
<br />
<asp:Label runat="server" ID="lblClientCode" Visible="false" Text="Client Code/Notes:">
<asp:TextBox runat="server" ID="txtNotesGroup" Visible="false" style="font-size:10px">
<asp:GridView runat="server" ID="dgvChildDocuments" AutoGenerateColumns="false" Visible="false" CssClass="AccountBillinggrid">
<columns>
<asp:TemplateField>
<itemtemplate>
<asp:ImageButton runat="server" ID="pdfDocumentsIcon" ImageUrl="/images/icons/inline/pdf.gif" />
<asp:Label runat="server" ID="lblPDFDocuments">
<asp:BoundField DataField="productOrderPrice" DataFormatString="${0}" />
<asp:TemplateField>
<itemtemplate>
<asp:TextBox runat="server" ID="txtChildQty" AutoPostBack="true" Text='<%# Eval("productQTY") %>' OnTextChanged="txtChildQty_textChanged">
<asp:ImageButton CommandName="DeleteChildItem" CommandArgument='<%# Container.DataItemIndex %>' runat="server" ID="imgChildDelete" ImageUrl="/images/icons/inline/cross.png" OnClick="imgChildDelete_Click" style="vertical-align:middle;" />
<asp:BoundField DataField="productOrderPrice" DataFormatString="${0}"/>
<asp:TemplateField>
<itemtemplate>
<asp:HiddenField runat="server" ID="hdnCaseDocumentID"/>
<asp:BoundField HeaderText="Unit Price" DataField="productOrderPrice" DataFormatString="${0}" />
<asp:TemplateField HeaderText="Qty" ControlStyle-Width="30">
<itemtemplate>
<asp:TextBox runat="server" ID="txtQty" AutoPostBack="true" OnTextChanged="txtQty_textChanged" Width="25px" Visible="false">
<asp:ImageButton CommandName="Delete" CommandArgument='<%# Container.DataItemIndex %>' runat="server" ID="imgDelete" ImageUr
Afzal Shaikh
12-Sep-13 8:40am
View
Thanks for giving tips for good programming practice :)
Afzal Shaikh
11-Sep-13 3:17am
View
Code for repeater in asp.net
<asp:Repeater runat="server" ID="rptSubscriptions"
onitemcreated="rptSubscriptions_ItemCreated"
onitemdatabound="rptSubscriptions_ItemDataBound" >
<HeaderTemplate>
<table width="100%" class="standard" cellspacing="0" cellpadding="4">
<tr style="background-color:#E1E1E1;">
<th align="center">
Subscription Type
</th>
<th align="center">
Date Started
</th>
<th align="center">
Date Expired
</th>
<th align="center">
Cost
</th>
<th align="center">
Payment Method
</th>
<th align="center">
Options
</th>
</tr>
</HeaderTemplate>
<itemtemplate>
<tr>
<td align="left" runat="server" id="tdList">
<ul visible="false" runat="server" id="lst1"><li>Lawsuit Report™ (Sunrise Only)</li><li>One Lawsuit Alarm</li></ul>
<ul visible="false" runat="server" id="lst2"><li>Lawsuit Report™</li><li>Three Lawsuit Alarms</li><li>One Weekly Lawsuit Tracker™</li><li>Advanced Search</li></ul>
<ul visible="false" runat="server" id="lst3"><li>Lawsuit Report™</li><li>Five Lawsuit Alarms</li><li>Three Daily Lawsuit Trackers™</li><li>Advanced Search</li></ul>
<img runat="server" id="imgInfoBox" src="/images/icons/inline/information.png"
alt="Information" style="cursor:pointer; vertical-align:top;" />
</td>
<td align="center" valign="top"><%# Eval("dateStarted")%></td>
<td align="center" valign="top">
<asp:Label runat="server" id="lblDateExpire">
</td>
<td align="center" valign="top"><%# Eval("AuthSubscriptionAmount")%></td>
<td align="center" valign="top">
<asp:Label runat="server" id="lblPaymentProfileCCending">
</td>
<td align="right" valign="top" id="tdPaymenMethod" >
<asp:Label runat="server" id="lblPaymenMethod" >
Change Payment Method
Cancel
</td>
</tr>
<footertemplate>
</table>
Afzal Shaikh
11-Sep-13 3:17am
View
this is the method which is binding repeater
public void GetUserSubscription()
{
ma = new MyAccount();
try { ma.UserID = Convert.ToInt32(Session["UserID"]); }
catch { Response.Redirect("/Login.aspx"); }
ds = ma.GetUserSubscription();
if (ds.Tables[0].Rows.Count > 0)
{
rptSubscriptions.DataSource = ds.Tables[0];
rptSubscriptions.DataBind();
}
}
Afzal Shaikh
11-Sep-13 3:16am
View
thanks Malherbe ,
Now repeater contain the controls and its returning true.Now can u plz tell me how to change value row by row for each control?
When i use this it made same value for all rows
e.item.FindControl("lst1").Visible
and when i use this it is throwing error of out of index (actually this is looking for item index but i need to work for item row by row)
rptSubscriptions.Items[i].FindControl("lst1").Visible
Afzal Shaikh
11-Sep-13 3:12am
View
i can see there are 12 rows are there.
Afzal Shaikh
11-Sep-13 2:29am
View
Malhebe , I checked the type and Its returning false?
Afzal Shaikh
2-May-13 5:21am
View
unable to find this property , can you put more on step 1 how to cater this?
Afzal Shaikh
22-Oct-12 1:31am
View
for temporaily help you can get Intellisence window by pressing Ctrl+Enter
Afzal Shaikh
16-Oct-12 2:08am
View
order by is not working in with union all so better is solution 1
Afzal Shaikh
16-Oct-12 2:04am
View
It works :)
Afzal Shaikh
16-Oct-12 1:42am
View
No , Both are different transaction tables.
Yes ,there is CompanyID in Both tables which is not unique and primary key.
Afzal Shaikh
14-Oct-12 6:32am
View
no need to generate loop , just use this below code to generate columns in grid view
GridView_Name.Columns.Add(Days); // it ll add columns to grid view ,Days is the number of columns
it will automatically add the number of columns you provide in Add Function , in this case days.
Afzal Shaikh
12-Oct-12 2:10am
View
Deleted
1. Create events of combobox , you will find it to properties of combobox by pressing F4
2. in code behind file of this
Afzal Shaikh
26-Sep-12 4:37am
View
whats wrong in it?
please provide valid reason if anyone going to be devoted the solution of anyone.
Thanks,
Afzal Shaikh
18-Sep-12 0:54am
View
thank you Raje :)
Afzal Shaikh
18-Sep-12 0:36am
View
can you please exactly paste the code here how you are doing that?
Afzal Shaikh
18-Sep-12 0:35am
View
ok
Afzal Shaikh
11-Sep-12 1:03am
View
also please share server error code like 404,505 etc to us.
Thanks
Afzal Shaikh
10-Sep-12 1:53am
View
create another method(pass aurgument selectedvalue to the method) and call it from selectedindex event and also provide commandname to gridview control and in editcommand event get the findcontrol :)
Afzal Shaikh
18-Jul-12 5:19am
View
I wrote it my self and get .js tricker file from
http://www.jugbit.com/jquery-vticker-vertical-news-ticker/
I didn't find any error in chrome debugger (checked from inspect elements)
Thanks
Afzal Shaikh
16-Jul-12 6:41am
View
i am using windows 7
Afzal Shaikh
24-May-12 4:22am
View
Thanks Sandeep,I am posting another question for extension issue so others can see as well
Thanks,
Afzal Shaikh
24-May-12 3:33am
View
Yes , Got it... I had to change in the applicationHost.config file...
it is working now but new error has been generated which is
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
It is possible that a handler mapping is missing. By default, the static file handler processes all content.
The feature you are trying to use may not be installed.
The appropriate MIME map is not enabled for the Web site or application. (Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or .config files.)
If ASP.NET is not installed.
Afzal Shaikh
24-May-12 3:22am
View
1. Handlers line does not exist in web.config file.
2. There is no IIS Admin here , i am running this on localhost...
Read that article provided by you but no luck :(
Afzal Shaikh
20-May-12 2:30am
View
Thansk , it works!!!!!!!
Afzal Shaikh
17-May-12 8:41am
View
Page1 code:
protected void GrdvwSuccessful_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName.Equals("Btn"))
{
GridViewRow gvr = (GridViewRow)(((Button)e.CommandSource).NamingContainer);
int RowIndex = gvr.RowIndex;
//Afzal
object obj = objAgentHandler.GetALLordersSuccssful(Convert.ToInt32(StateHelper.currentLogin);
Session["grd"] = GrdvwSuccessful;
Response.Redirect("InfoPage_Remarks.aspx?ID=" + RowIndex);
}
}
Page2 Code:
public void GetVisaInfo_Remarks()
{
k = Convert.ToInt32(Request.QueryString["ID"]);
List<visaordertinfo> info = (List<visaordertinfo>)new VisaOrder_Handler().GetUserInfo_Neworder(k);
if (info.Count >= 0)
{
//GridViewRow dr = new GridViewRow();
GridView dr = new GridView();
dr = (GridView)Session["grd"];
LbName.Text = dr.Rows[0].Cells[0].ToString();
}
}
Afzal Shaikh
17-May-12 8:13am
View
I tried this one , it is giving me below error in another page
Unable to cast object of type 'System.Web.UI.WebControls.GridViewRow' to type 'System.Web.UI.WebControls.GridView'.
if u know please ?
Afzal Shaikh
15-May-12 7:55am
View
you welcome!!!
Show More