16,016,180 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 Ashwini Thakare (Top 25 by date)
Ashwini Thakare
6-Aug-14 13:11pm
View
i have changed the application pool to 4.319
but then also my website is not visible on iis
Ashwini Thakare
6-Jun-14 13:56pm
View
error shown is:
Error 1 Object reference not set to an instance of an object.
Ashwini Thakare
6-Jun-14 2:08am
View
pdf file got created but the page was blank. my data was not shown in it
Ashwini Thakare
4-Jun-14 10:59am
View
i added WtLang but then also it shows syntax error in update statement
Ashwini Thakare
4-Jun-14 7:17am
View
thank you.....
Ashwini Thakare
4-Jun-14 4:47am
View
protected void Submitbtn_Click(object sender, EventArgs e)
{
string connection_string = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\HILProject\project4\App_Data\adminlog.mdb";
using (OleDbConnection cn = new OleDbConnection(connection_string))
{
cn.Open();
String str = "select Nationality, Post from BasicDtl_tbl where UserName=" + usertxt.Text;
OleDbCommand cmd = new OleDbCommand(str,cn);
// cmd.Connection = cn;
OleDbDataAdapter ad = new OleDbDataAdapter(cmd);
System.Data.DataSet ds = new System.Data.DataSet();
try
{
ad.Fill(ds);
Nattxt.Text = ds.Tables[0].Rows[0].ItemArray[3].ToString();
apldposttxt.Text = ds.Tables[0].Rows[0].ItemArray[4].ToString();
cn.Close();
}
catch(Exception)
{
StatusLabel.Text = "error occured";
}
}
data does not get retrieved
Ashwini Thakare
4-Jun-14 4:44am
View
what is this world_rep
Ashwini Thakare
4-Jun-14 2:42am
View
i removed extra tag now i am getting error as "no value given for one or more required parameter"
actually basicdtl_tbl have 4 column as ID, UserName,Nationality, Post
i want to retrieve only values of Nationality and post and display it in respective textbox
Ashwini Thakare
3-Jun-14 12:32pm
View
i used addwith value and also added wtlang but then also it is showing same error
Ashwini Thakare
3-Jun-14 10:27am
View
i tried this code but it is showing same error
Ashwini Thakare
3-Jun-14 10:08am
View
[OleDbException (0x80040e14): Syntax error in UPDATE statement.]
System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1070856
System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +247
System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +194
System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +58
System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +167
System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +113
FillForm.activites() in c:\HILProject\project4\FillForm111.aspx.cs:1170
FillForm.Submitbtn_Click(Object sender, EventArgs e) in c:\HILProject\project4\FillForm111.aspx.cs:848
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
Ashwini Thakare
1-Jun-14 11:27am
View
thank you
Ashwini Thakare
31-May-14 13:22pm
View
i tried this code but my image does not got saved in the database
i have image datatype as oleobject
Ashwini Thakare
31-May-14 12:52pm
View
but i have used oleobject as datatype of image in ms access database
Ashwini Thakare
31-May-14 12:20pm
View
insert two images in a particular row by using where username = textbox value
the table already have username filled in it
Ashwini Thakare
31-May-14 9:59am
View
<asp:FileUpload ID="FileUploadControl1" runat="server" />
i want to save image in ms access database. image is stored as oleobject.
how to write update statement to insert image using where clause
Ashwini Thakare
30-May-14 3:06am
View
thank you
Ashwini Thakare
28-May-14 13:33pm
View
i have already inserted username in the table now i just want to insert values from textbox into nationality and post column by matching username column value with value of usertxt textbox
my table basicdtl_tbl contains 3 columns i.e username, nationality, post
Ashwini Thakare
28-May-14 12:40pm
View
if i enter username value into a textbox displayed in fil form application
write a query to insert data into table by using where clause like the following code
command.CommandText = "insert into BasicDtl_tbl([Nationality],[Post]) values ('" + Nattxt.Text + "','" + apldposttxt.Text + "') WHERE UserName =usertxt.Text ";
is this the right way of writing a query
Ashwini Thakare
28-May-14 11:29am
View
actually i m working on fill application form database where i want to save data in various tables but at the same time the data should get saved in proper row so i am using one common field username in every table. userreg table contains username field as primary key which will be used to access all tables.
Ashwini Thakare
28-May-14 11:21am
View
username is a common field in both userreg and basicdtl_tbl. username field in userreg is primary key and username field in basicdtl_tbl is foriegn key
Ashwini Thakare
28-May-14 11:18am
View
i want to update single username row in basicdtl_tbl by matching username column of both basicdtl_tbl and usereg table so that data will get update in proper username
Ashwini Thakare
26-May-14 1:06am
View
thanks for your suggestion.
It worked.
thanks a lot
Ashwini Thakare
17-May-14 2:31am
View
nbsp;
<asp:DropDownList ID="Post_DDL" runat="server" AutoPostBack="True"
onselectedindexchanged="Post_DDL_SelectedIndexChanged">
<asp:ListItem Selected="True">Select post
<asp:ListItem>IT Person
<asp:ListItem>HR Person
<br />
<asp:RadioButton ID="RadioButtonMale" runat="server" Text="Male"
AutoPostBack="True" GroupName="genderrbt" oncheckedchanged="RadioButtongenderrbt_CheckedChanged"
/>
<asp:RadioButton
ID="RadioButtonFemale" runat="server" Text="Female" AutoPostBack="True"
GroupName="genderrbt" oncheckedchanged="RadioButtongenderrbt_CheckedChanged" />
<br />
this is some section of my code. the page gets reloaded as i select any item
Ashwini Thakare
17-May-14 2:25am
View
after trying this code i am getting following error
"The SMTP server requires a secure connection or the client was not authenticated. "
Show More