15,904,153 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 Aswathi Narayan (Top 39 by date)
Aswathi Narayan
23-Jul-14 5:32am
View
Its a subquery inside my main query.. I can execute my main query using exec . So I want to display contents of the subquery using exec statement. Could u please help me?
Aswathi Narayan
8-Nov-13 3:28am
View
This code is working in local server .. But not in web... Am I want to set anything specific setting on web????
Aswathi Narayan
19-Oct-13 2:27am
View
ya.. am passing date in oct. but how can i write this code ????
Thread.CurrentThread.CurrentCulture = new CultureInfo(Request.UserLanguages[1]);
datetime dt= DateTime.TryParse(datetime);
Is this correct????
Aswathi Narayan
19-Oct-13 2:21am
View
am using en-US and ar-SA in my project... Then how can i make change to this code for proper working???
Aswathi Narayan
11-Oct-13 5:53am
View
ya.. dropdown list in a datalist
Aswathi Narayan
9-Oct-13 7:20am
View
Thank you for ur reply.. this one is working .. but am getting an error like this
Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.
Aswathi Narayan
21-Sep-13 1:14am
View
Thanks alot :)
Aswathi Narayan
21-Sep-13 1:12am
View
But my textbox is input type.. not server side control :(
Aswathi Narayan
29-Jul-13 3:02am
View
i need to bind checkbox.. not to check and uncheck.. i need to add items in checkbox from database using jquery
Aswathi Narayan
12-Jul-12 5:35am
View
if u added linq in project exclude that one and try
Aswathi Narayan
4-Jul-12 1:58am
View
Thank u very much
Aswathi Narayan
4-Jul-12 1:50am
View
in (select convert(varchar,value) from split(class,','))
i need to assign this in a variable declared as varchar
Aswathi Narayan
4-Jul-12 1:45am
View
Hi..
i hav a string like this
in (select convert(varchar,value) from split(class,','))
In need to print like this while executing the below code .. can u help me???
declare @common varchar(50);
set @common='in (select convert(varchar,value) from split(class,''','''))'
print @common;
Aswathi Narayan
23-Apr-12 0:21am
View
I saw that discussion. but it didnt help me to solve my problem..
Aswathi Narayan
14-Mar-12 4:23am
View
Thnks 4 ur reply.. I need coding for datagridview
Aswathi Narayan
6-Mar-12 2:50am
View
Thank u 4 ur reply.. can find solution using the concept pivot table
Aswathi Narayan
6-Mar-12 2:41am
View
Thank u $ ur reply.. Here Name,Mark1,Mark2,Mark3,Mark4 are 5 seperate columns in the table "Details". then how can i find second highest mark from this using sql server
Aswathi Narayan
25-Aug-11 7:36am
View
thank u 4 ur reply.. the code is working and my page is opening in new tab. but need to open it new window.do u knw hw 2 do this?
Aswathi Narayan
24-Aug-11 2:45am
View
Parwej Ahamad is correct. it cannot work when we use default command names
Aswathi Narayan
22-Aug-11 7:11am
View
Thank u 4 ur reply.. But i have to disable it in every page of my project. How can i do this?
Aswathi Narayan
31-Jul-11 3:22am
View
I need to Print a an Order consist of two fields Item and Quantity. In form1 gridview i entered the item and quantity. i need to print this form like a bill. how can i do this? Can u help me?
Aswathi Narayan
26-Jul-11 4:23am
View
protected void ddllist_SelectedIndexChanged(object sender, EventArgs e)
{
try
{
cn = new SqlConnection(connectionString);
string strQuery = "Select id,Price from tb_addproduct where Price='" + txtprice.Text + "'";
DatatTable dt=GenerateDataTable(strQuery );
if(dt.Rows.Count>0)
{
txtprice.Text=dt.Rows[0]["Price"].ToString();
}
}
catch (Exception ex)
{
throw ex;
}
}
//in clsForConnection Class
public DataTable GenerateDataTable(string SqlStr)
{
try
{
SqlDataAdapter m_SdaDept = new SqlDataAdapter(SqlStr, cn);
cn.Open();
DataTable m_DtDept = new DataTable();
m_SdaDept.Fill(m_DtDept);
return m_DtDept;
}
catch (Exception)
{
return null;
}
finally
{
cn.Close();
}
}
just copt this code to your .cs page. Note that U have to set your dropdownlist property Autopostback as true
Aswathi Narayan
26-Jul-11 3:11am
View
ClsFor Connection is a class where i write codings for connection.. You need not create that class. Better u add the function GenerateDataTable in your code page itself and instead of DatatTable dt=new ClsForConnection().GenerateDataTable(strQuery ); write
DatatTable dt=GenerateDataTable(strQuery );
Aswathi Narayan
26-Jul-11 1:28am
View
It is very easy. Create one form for userProfile. Set link in admin Home page For this.So that ,Admin only can access that link
Aswathi Narayan
26-Jul-11 1:15am
View
i have one doubt. Am I want to set width of the page whether it is printing in a small size of paper?
Aswathi Narayan
26-Jul-11 1:14am
View
Thank u
Aswathi Narayan
26-Jul-11 0:54am
View
Thank u very much
Aswathi Narayan
24-Jul-11 6:58am
View
My problem is if am entering any alphabets in cell named Quantity in datagridview it wont come there.Only the numbers must be displayed. am new to windows application. in web application i used filtered textbox ajax extender.. Can u help me
Aswathi Narayan
19-Jul-11 5:44am
View
Thank u
Aswathi Narayan
19-Jul-11 5:41am
View
that link is not working
Aswathi Narayan
18-Jul-11 8:37am
View
Is MyAction is a controller page(ie .cs page) or function name??? i have a controller page called PropertyMainController.cs and while running my url is http://localhost:50888/Controller/PropertyMainController.cs?country=1. am getting id but error message is showing like this
The resource cannot be found.
Aswathi Narayan
16-Jul-11 1:19am
View
i cant get u.. pls explain
Aswathi Narayan
16-Jul-11 1:03am
View
Thank u 4 ur reply...while executing my project with this coding the error message is showing like this.. The name 'listitems' does not exist in the current context.. Can u help me
Aswathi Narayan
15-Jul-11 6:34am
View
i need datetimepicker inside the textbox...
i referred this url
http://www.programgood.net/2011/03/19/DatePickerAndMVC3.aspx
Aswathi Narayan
15-Jul-11 6:17am
View
@model DateTime
@Html.TextBox("", Model.ToString("dd/MM/yyyy"), new { @class = "date" })
i write this code in partial view class. But when i execute the program the error is showing like this.."No overload for method 'ToString' takes 1 arguments"
Aswathi Narayan
6-Jul-11 5:21am
View
thank u for ur reply . but how can i execute when the query is like this?
"select * from details where id=7 or id=3 or id=17"
Aswathi Narayan
6-Jul-11 5:08am
View
ok ..thank u
Aswathi Narayan
5-Jul-11 5:39am
View
Thank u very much
Aswathi Narayan
28-Jun-11 8:23am
View
Thank u 4 ur reply... may i know how to add paging requirments manually..?
Show More