16,021,125 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 Visual Basic questions
View Javascript 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 Sejal Rabari (Top 20 by date)
Sejal Rabari
18-Jun-13 2:55am
View
you answered somewhere like:
if (c is CheckBox)
{
var chkval = "";
if (Request[c.UniqueID] != null)
{
chkval = Request[c.UniqueID];
}
}
then what is c here?how to define it?
Sejal Rabari
18-Jun-13 2:51am
View
can you suggest me if i want to access textbox on button click,which is generated dynamically,for which id is tab_4 how to do this using
string = Request["tab_4"];
this is showing me errors. Would you please guide me some more?
Sejal Rabari
18-Jun-13 2:30am
View
If i will try to access controls at page_load,then what when there are no controls generated? The criteria is,after generating controls i want to enter values of this dynamic controls into database.How to implementthis in page_load and button click?
Sejal Rabari
14-Jun-13 4:52am
View
still doesnt worked. Can you suggest me any other way except gridview. I want to enter just 5 dates and 5 values for that dates.
Sejal Rabari
14-Jun-13 3:42am
View
I kindly request you for the resolution as its very important for me.Waiting for your reply at the earliest.Thanks.
Sejal Rabari
14-Jun-13 3:10am
View
Thank you prasad for your response,the solution is good. I came across the link you provided for textbox problem but i have for loop in which i am assigning the values(dates in header)
for (DateTime date1 = fromdate_; date1 <= todate_; date1 = date1.AddDays(1))
{
DataColumn dc = new DataColumn();
dc.ColumnName = ChangeFormat(Convert.ToDateTime(date1), "dd-MM-yyyy");//this line
dtab.Columns.Add(dc);
}
how to integrate that code in this one,i have tried alot since one and half day and i am getting no result.
Sejal Rabari
13-Jun-13 7:50am
View
i removed all the templatefields and i am getting output,but without textbox,now issue is for only textbox
refer this link for latest output
http://s20.postimg.org/afhrcjzel/latest.png
in that single row i aimed to have textbox....
Sejal Rabari
13-Jun-13 7:21am
View
<asp:GridView ID="timegrid" runat="server" OnRowDataBound="timegrid_RowDataBound"
AutoGenerateColumns="false">
<columns> <asp:TemplateField HeaderText="ID" SortExpression="ID">
<HeaderTemplate>
<asp:Label ID="lbl1" runat="server" Style="text-align: right;" Width="80px" />
</HeaderTemplate>
<itemtemplate>
<asp:TextBox ID="hour1" runat="server" Text="">
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Enter Number Only"
ControlToValidate="hour1" ValidationExpression="^[0-9]\d*(\.\d+)?$">Enter Numbers Only
<asp:TemplateField HeaderText="Redirect">
<HeaderTemplate>
<asp:Label ID="lbl1" runat="server" Style="text-align: right;" Width="80px" />
</HeaderTemplate>
<itemtemplate>
<asp:TextBox ID="hour2" runat="server" Text="">
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Enter Number Only"
ControlToValidate="hour2" ValidationExpression="^[0-9]\d*(\.\d+)?$">Enter Numbers Only
<asp:TemplateField HeaderText="Quantity">
<HeaderTemplate>
<asp:Label ID="lbl1" runat="server" Style="text-align: right;" Width="80px" />
</HeaderTemplate>
<itemtemplate>
<asp:TextBox ID="hour3" runat="server" Text="">
<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ErrorMessage="Enter Number Only"
ControlToValidate="hour3" ValidationExpression="^[0-9]\d*(\.\d+)?$">Enter Numbers Only
<asp:TemplateField HeaderText="Cost Each">
<HeaderTemplate>
<asp:Label ID="lbl1" runat="server" Style="text-align: right;" Width="80px" />
</HeaderTemplate>
<itemtemplate>
<asp:TextBox ID="hour4" runat="server" Text="">
<asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ErrorMessage="Enter Number Only"
ControlToValidate="hour4" ValidationExpression="^[0-9]\d*(\.\d+)?$">Enter Numbers Only
<asp:TemplateField HeaderText="Amount">
<HeaderTemplate>
<asp:Label ID="lbl1" runat="server" Style="text-align: right;" Width="80px" />
Sejal Rabari
13-Jun-13 7:19am
View
yes
Sejal Rabari
13-Jun-13 6:44am
View
Good one the 5 rows issue has gone,but i am not getting dates in header,please have a look at this image
snapshot
Sejal Rabari
13-Jun-13 6:26am
View
if i remove the for loop it wont add 5 dates...uhhh... :(
Sejal Rabari
5-Jun-13 4:56am
View
Please have a look at this link
Rotator
.set scroll duration=10,frame duration=50. And think of digits instead of images there.
Sejal Rabari
5-Jun-13 4:44am
View
I want to generate random numbers.and display them in a gridview. Till now,when i start the software and start generating numbers,it displays randomly selected 100 numbers directly,thats fine.But now,i want something like counter(like we can see in casino),that everyone can see random numbers are going on.There will be one button also below this visual counter,so suppose i click the button then the number in the counter at the time i pressed the button also get selected.
Sejal Rabari
5-Jun-13 4:44am
View
Deleted
I want to generate random numbers.and display them in a gridview. Till now,when i start the software and start generating numbers,it displays randomly selected 100 numbers directly,thats fine.But now,i want something like counter(like we can see in casino),that everyone can see random numbers are going on.There will be one button also below this visual counter,so suppose i click the button then the number in the counter at the time i pressed the button also get selected.
Sejal Rabari
5-Jun-13 3:21am
View
I appreciate this one..!
Sejal Rabari
22-May-13 5:08am
View
Great explanation.My need is,at some time i want the program that resides in this folder should not be run,that is one will get error to reinstall the program. If we neglect to delete the folder,what would be the better choice?
Sejal Rabari
20-May-13 7:28am
View
Scenario is,When we install application,it will be installed in the directory i have mentioned in the question. Now,at each time the application starts,i am trying to check some condition,if condition matched,i want to delete the folder,thats it.I have tried using the above code but it is not working as expected,that is its not deleting the folder.
Sejal Rabari
20-May-13 6:30am
View
I implemented the same thing as you suggested(verify the code in question and on one of the links you provided). The problem is its working like one time hide.Folder is not getting deleted.
Sejal Rabari
14-May-13 2:34am
View
Thanks maciej.I appreciate your reply.I have already gone through all of this.I am particularly intrested to know what are the disadvantages are there with the way i thought of?Why not to store all that installation related info into database?
Sejal Rabari
14-May-13 2:12am
View
I have database which stores some information,now i want to modify it in such a way so that i can implement the above functionality.
Show More