15,901,205 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 Mahendra.p25 (Top 145 by date)
Mahendra.p25
24-May-12 8:52am
View
Yes,XML file contains Property Related Data
Mahendra.p25
1-Oct-11 6:03am
View
i know that (other than writing code from removing special character from Image Name)
what i was asking,is there any way without writing code for it, i mean on server or through encoding.
Mahendra.p25
24-Sep-11 2:33am
View
Anyway got an answer via google (CommandBehavior.CloseConnection)property thanks i was searching for this
Mahendra.p25
24-Sep-11 2:29am
View
Thanks for a reply but iam using 3 tier architecture and connection property is in data layer and iam accessing Data Reader in business layer so requirement is different...
Mahendra.p25
27-Aug-11 6:10am
View
No need to say Thanks.
Mahendra.p25
27-Aug-11 1:27am
View
Post Your Code
Mahendra.p25
25-Aug-11 7:24am
View
Updated My Code check it out
Mahendra.p25
25-Aug-11 5:59am
View
hi, Updated my Code check it Out.
Mahendra.p25
25-Aug-11 2:51am
View
yes you can declare another variable
and select @Result
Mahendra.p25
22-Aug-11 3:33am
View
Thanks
Mahendra.p25
18-Aug-11 6:00am
View
post you code/More information ??
Mahendra.p25
18-Aug-11 3:06am
View
Also Check that Your DataTable has Data Or not
Mahendra.p25
18-Aug-11 3:05am
View
Have you write DataField="col1" as your dataTable Column
Mahendra.p25
4-Aug-11 6:21am
View
insert into TableName values(@id,@Name,@Name+cast(@id as varchar(50)))
Mahendra.p25
2-Aug-11 2:00am
View
Thanks SA
Mahendra.p25
2-Aug-11 1:43am
View
My 5 too
Mahendra.p25
2-Aug-11 1:43am
View
Thanks
Mahendra.p25
29-Jul-11 3:42am
View
Execute Procedure Like
DynamicTable 'YourColumnName1','YourColumnName2'
Mahendra.p25
29-Jul-11 1:36am
View
Thanks
Mahendra.p25
28-Jul-11 8:13am
View
Thanks
Mahendra.p25
5-Jul-11 3:38am
View
Thanks
Mahendra.p25
24-Jun-11 7:30am
View
Thanks
Mahendra.p25
18-Jun-11 6:58am
View
Thanks
Mahendra.p25
23-May-11 1:35am
View
Not clear please elaborate
Mahendra.p25
17-May-11 6:51am
View
Thanks
Mahendra.p25
17-May-11 5:53am
View
You need to generate your grid PageIndexChanging event and your GridId is "GridView1" not "grdOrder"
Mahendra.p25
17-May-11 5:49am
View
post your Code.
Mahendra.p25
17-May-11 0:53am
View
your Links are stored in the Database or somewhere else?
Mahendra.p25
16-May-11 6:29am
View
What is The Problem?if you want to use that in code behind then you can also Create a session and use that....
Mahendra.p25
16-May-11 6:17am
View
WC
Mahendra.p25
16-May-11 5:51am
View
Thanks
Mahendra.p25
14-May-11 5:12am
View
he needs Data in this
Curriculum
-Science
--Physics
---Concave Lense
Non-Curriculum
-Acting
Format
Mahendra.p25
14-May-11 3:21am
View
Not clear post your code..
Mahendra.p25
13-May-11 0:30am
View
Welcome
Mahendra.p25
13-May-11 0:29am
View
Thanks
Mahendra.p25
12-May-11 6:05am
View
post your code
Mahendra.p25
12-May-11 5:07am
View
the function which you have written to bind your Dropdown you need to call that again after performing your edit functionality
Mahendra.p25
12-May-11 3:42am
View
WC
Mahendra.p25
12-May-11 3:32am
View
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
BindDropdown
}
}
Mahendra.p25
12-May-11 3:31am
View
Code behind code
Mahendra.p25
12-May-11 3:27am
View
Post your code
Mahendra.p25
12-May-11 3:24am
View
Deleted
post your code of selected index changed
Mahendra.p25
12-May-11 0:38am
View
Thanks John
Mahendra.p25
11-May-11 8:08am
View
Deleted
Thanks
John
Mahendra.p25
11-May-11 8:08am
View
Deleted
if you want to store Multiple Tables in dataset
Mahendra.p25
11-May-11 8:08am
View
Deleted
DataSet can store multiple tables you can find that out By ds.tables[0],ds.tables[1]... in this way
Mahendra.p25
11-May-11 7:02am
View
not clear plz elaborate
Mahendra.p25
10-May-11 6:51am
View
what do you want???
Mahendra.p25
10-May-11 3:39am
View
i have tried this and its working Properly
int @k = 25;
string Query = "(Select * from MyTable where Id=" +@k+")" ;
Cmd = new SqlCommand(Query, Con);
dt = new SqlDataAdapter(Cmd);
DataSet ds = new DataSet();
dt.Fill(ds);
GridView1.DataSource = ds;
GridView1.DataBind();
Con.Close();
i think I dont need to explain that to you.....
Mahendra.p25
10-May-11 3:29am
View
what is the Problem in this Query ? can You please elaborate ...........Mr Original griff.
Mahendra.p25
10-May-11 2:30am
View
post your code
Mahendra.p25
10-May-11 1:43am
View
No need to say thanks try to understand each and every line of code so that u will not face problem in future good Luck
Mahendra.p25
9-May-11 8:26am
View
try this link also
http://forums.asp.net/t/1291686.aspx/1?GridView+to+PDF+and+formatting
Mahendra.p25
9-May-11 8:15am
View
what is the error
Mahendra.p25
9-May-11 8:05am
View
welcome
Mahendra.p25
9-May-11 6:44am
View
Thanks
Mahendra.p25
9-May-11 6:18am
View
i think this is fine now
Mahendra.p25
9-May-11 5:53am
View
which html control you are using
Mahendra.p25
9-May-11 5:50am
View
Welcome
Mahendra.p25
9-May-11 3:36am
View
Deleted
You need to learn about events
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview_events.aspx
Mahendra.p25
9-May-11 2:41am
View
Can You tell us what is the error.......?
Mahendra.p25
9-May-11 1:54am
View
Thanks
Mahendra.p25
9-May-11 1:12am
View
post you code.
Mahendra.p25
9-May-11 1:11am
View
try this Link
http://stackoverflow.com/questions/2279433/how-to-check-for-special-characters-using-regex
Mahendra.p25
7-May-11 7:17am
View
welcome
Mahendra.p25
7-May-11 4:48am
View
Thanks
Mahendra.p25
6-May-11 6:36am
View
http://sqlserver2000.databases.aspfaq.com/how-do-i-recover-data-from-sql-server-s-log-files.html
Mahendra.p25
6-May-11 6:32am
View
try this link
http://www.dotnetspider.com/forum/267884-how-recover-updated-data-sql-server.aspx hope it will be helful
Mahendra.p25
6-May-11 4:49am
View
try this
ValidationExpression="^[A-Za-z]{5}\w*"
Mahendra.p25
5-May-11 5:22am
View
what do you want not clear?
Mahendra.p25
5-May-11 5:11am
View
its good enough if he wants to execute only one statement but if he wants more than that he needs { } this.
Mahendra.p25
5-May-11 2:19am
View
Thanks Kim
Mahendra.p25
4-May-11 8:44am
View
Welcome
Mahendra.p25
4-May-11 8:16am
View
I have copied that and paste it into sql server but its not working result is
/*Copy and paste code from below*/
---------------------------------------------------------------------------------
Mahendra.p25
4-May-11 7:55am
View
Thanks
Mahendra.p25
3-May-11 8:34am
View
welcome
Mahendra.p25
3-May-11 8:07am
View
if it is label then try this startingdate.Text= dr[4].ToString();
Mahendra.p25
3-May-11 7:58am
View
Post your split function
Mahendra.p25
3-May-11 2:12am
View
which event. Please elaborate or post your code
Mahendra.p25
2-May-11 8:17am
View
Post your Code and error also
Mahendra.p25
2-May-11 7:54am
View
string newString = Regex.Replace(Textbox1.Text, "[^.0-9]", "");
Mahendra.p25
2-May-11 3:59am
View
But its not a good thing to store user and password on local machine, even if it is in encrypted format
Mahendra.p25
2-May-11 2:01am
View
comboBox1.DataSource=ds.Tables[0];
comboBox1.DisplayMember="Media_method_ID";
Mahendra.p25
2-May-11 1:58am
View
write your Query like
you are Using DataSet or DataReader if DataSet check that your Query is returning
Media_method_ID from database or not
Mahendra.p25
28-Apr-11 8:46am
View
check your stored procedure
Mahendra.p25
28-Apr-11 7:48am
View
Thanks
Mahendra.p25
27-Apr-11 5:46am
View
Thanks
Mahendra.p25
21-Apr-11 8:12am
View
suggestion accepted
Mahendra.p25
21-Apr-11 8:00am
View
i just told him the way not exact solution
Mahendra.p25
19-Apr-11 1:32am
View
Thanks JF
Mahendra.p25
19-Apr-11 1:17am
View
Sorry i dont know to how to wrap that in pre Block
Mahendra.p25
18-Apr-11 23:36pm
View
Thanks
Mahendra.p25
18-Apr-11 5:07am
View
Thanks
Mahendra.p25
14-Apr-11 3:45am
View
You need to accept solution if it works fine
Mahendra.p25
14-Apr-11 3:40am
View
Thanks
Mahendra.p25
14-Apr-11 2:54am
View
Thanks
Mahendra.p25
12-Apr-11 5:51am
View
not clear please elaborate
Mahendra.p25
11-Apr-11 7:04am
View
Just want to ask from where your are getting
FIRST_NAME , FATHER_NAME ,FAMILY_NAME
Mahendra.p25
11-Apr-11 6:58am
View
No, In Your SqlQuery when You are returning your values
select FIRST_NAME+FATHER_NAME+FAMILY_NAME as Name,Col2,Col3,Col4 from table
Mahendra.p25
11-Apr-11 6:32am
View
which type of value you have entered in txtRollNumber.Text
Mahendra.p25
11-Apr-11 6:13am
View
you want OrderBy asc on VAL_ID or VAL_NAME
Mahendra.p25
11-Apr-11 5:33am
View
Please elaborate you want to check that from a string
like string str=.net,.edu,.co,.uk or something else
Mahendra.p25
11-Apr-11 2:26am
View
try this link
http://bytes.com/topic/c-sharp/answers/230640-dropdownlist-sqldatareader
Mahendra.p25
11-Apr-11 1:02am
View
Thanks
Mahendra.p25
9-Apr-11 5:25am
View
Great
Mahendra.p25
8-Apr-11 7:59am
View
Check in the DataSet table Column Name is Same as (Subject) or not and It has values in it or not.
i have tried this and its working <asp:LinkButton ID="LinkButton1" runat="server"><%#Eval("IsFresher")%>
Mahendra.p25
8-Apr-11 3:44am
View
Please Elaborate
Mahendra.p25
8-Apr-11 3:07am
View
great...
Mahendra.p25
8-Apr-11 1:01am
View
Thanks
Mahendra.p25
7-Apr-11 8:00am
View
as Prerak has suggest .You can take one simple html input tag type = button
<input type="button" value="Back to Previous Page" önClick="javascript: history.go(-1);"/>
and call javascript: history.go(-1); this function it will help you
Mahendra.p25
7-Apr-11 6:51am
View
First You Can rename your old table then create new one with the same Name and then delete the old table as shown below by Costica U atleast this much you can do it by Own.
Mahendra.p25
7-Apr-11 6:43am
View
please elaborate
Mahendra.p25
7-Apr-11 3:53am
View
Great Work
Mahendra.p25
7-Apr-11 2:55am
View
with Query string You can get the Value on the basis of which you can retrieve your record from the database based on that Value.
Mahendra.p25
7-Apr-11 0:46am
View
you want all your records from the database or recently entered record if you want to display the recent record you have entered try following things
Mahendra.p25
6-Apr-11 8:36am
View
try this link
http://www.15seconds.com/issue/020220.htm
Mahendra.p25
6-Apr-11 7:24am
View
We are not here to send you code first try it out by yourself and if there is some doubt then we will helo you
Mahendra.p25
6-Apr-11 6:04am
View
Deleted
R u inserting Your UserType in session["utype"] On successfull login
Session["utype"]="Admin";
Response.redirect("YourPage.Aspx");
Mahendra.p25
6-Apr-11 5:37am
View
post your code.
Mahendra.p25
6-Apr-11 5:21am
View
Thanks
Mahendra.p25
6-Apr-11 2:36am
View
try this Link
http://support.microsoft.com/kb/317794
Mahendra.p25
6-Apr-11 1:41am
View
iam taking about checkbox list and its id.items
that is chkl.items
Mahendra.p25
5-Apr-11 7:43am
View
try this
select * from CandidateDetails where firstname+middlename+lastname like '%ul%'
Mahendra.p25
5-Apr-11 6:04am
View
I have Updated Hope it will help You
Mahendra.p25
5-Apr-11 4:07am
View
another Option is store that values in session and in the PageLoad of first page
check If session !=null then Bind all your values and
and make Session.clear(),Session[""]=null
Mahendra.p25
5-Apr-11 1:49am
View
You want to retrieve pdf file name from the database or something else
Mahendra.p25
4-Apr-11 2:30am
View
you can take two variable enc for storing and enc1 for retrieving whatever name you want.
Mahendra.p25
4-Apr-11 1:18am
View
please elaborate you want to match that value with your database and then go to the successive page or you want to go to that page which user entered into the textbox
Mahendra.p25
3-Apr-11 23:15pm
View
please elaborate your question
Mahendra.p25
31-Mar-11 6:29am
View
Clear your Question what is the error?
Mahendra.p25
29-Mar-11 2:45am
View
Please elaborate
Mahendra.p25
26-Mar-11 1:20am
View
Not clear please elaborate
Mahendra.p25
25-Mar-11 7:04am
View
starttime & endtime
Mahendra.p25
25-Mar-11 6:58am
View
Not clear please elaborate
Mahendra.p25
25-Mar-11 6:22am
View
try repeater with nested repeater
Mahendra.p25
25-Mar-11 4:59am
View
sorry
Mahendra.p25
25-Mar-11 4:54am
View
use subquery with self join it will help you
Mahendra.p25
24-Mar-11 7:02am
View
Please Elaborate you Question
Mahendra.p25
24-Mar-11 2:50am
View
He just asked How to convert a null value into short datetime and i have answered for that.
Mahendra.p25
24-Mar-11 1:45am
View
Thanks sandeep
Mahendra.p25
24-Mar-11 0:55am
View
Can u tell me whats the error its throwing.
Mahendra.p25
23-Mar-11 8:17am
View
just want to ask have you added that image in your UserImage Folder with the sameImage
Mahendra.p25
23-Mar-11 3:25am
View
Please elaborate your Question like you want months also or days only
and from database or in CodeBehind
Mahendra.p25
23-Mar-11 1:09am
View
Deleted
It Depends on the nature or choice of the organization
but if you prefers re-usability ,flexibility or future
you Should Go for Three-tier architecture
Mahendra.p25
22-Mar-11 2:27am
View
its working fine here . select from declare and run that in your sql server.
Show More