15,896,154 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 palraj001 (Top 46 by date)
palraj001
23-Sep-17 0:54am
View
Hi,Thanks for your reply. Checked the connection strings. hope I am using the correct connection string. I am using this for windows application which is developed in VS2008. is there any limitation on VS2008 with SQL Local DB 2012? but In my development system its working fine.
palraj001
22-Sep-17 3:07am
View
I installed LocalDB in the Other machine too. I am connecting the DB located in the Same machine not in the network. is there any support file installed to use this SQLLOCALDB feature.
palraj001
22-Sep-17 2:37am
View
Yes. But while access the SQL Connection I am getting following error in a new computer.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. ... Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error locating server/Instance Specified)
I have checked localDB instance , Its running state,
palraj001
22-Sep-17 1:26am
View
Thanks for your reply. In client machine I have installed Local DB , I need my application has to work with the MDF files which is in my application folder. for this we need to install SQL Express ?
palraj001
2-Dec-13 8:56am
View
in all OS having same issue.
palraj001
2-Dec-13 8:55am
View
Deleted
in OS
palraj001
22-Nov-13 5:00am
View
It is already in True.
palraj001
25-Jul-13 9:51am
View
sorry.letters is an array . assume any letter for E.g letters[0] ="H"
palraj001
25-Jul-13 9:12am
View
no dtinventory is not null. it has rows
palraj001
16-Jun-12 2:20am
View
Yes. when I debug the code it is working.
palraj001
19-Apr-12 12:25pm
View
hi refer the updated answer..
palraj001
15-Mar-12 6:30am
View
yes. I forgot that. thanks . it helped me.
palraj001
15-Mar-12 6:06am
View
ok fine.
when executing your code inserted values in the table "my table" is
2 admin
3 admin.
---
177 admin
above record is not inserted.
palraj001
15-Mar-12 5:48am
View
Hi Thanks for the reply. by executing ur code i dint get 177 values.
palraj001
9-Mar-12 3:38am
View
actually I am using dev express. MDI measn it is not MDI form, its like Parent form. dont want to place Save,Delete some repeated buttons in all forms.
palraj001
29-Feb-12 4:08am
View
what error?
palraj001
16-Feb-12 6:20am
View
thanks for ur reply. i will try this
palraj001
6-Feb-12 4:31am
View
yes . it is in same directory.. thanks for replying
palraj001
6-Feb-12 4:30am
View
Approved.aspx?VisitorID=093&Status=P &AppID=73
palraj001
3-Feb-12 5:07am
View
repace this
Dim del As new sqlcomand("DELETE FROM
members WHERE name='"& textbox1.text
& "'", dbcon)
palraj001
3-Feb-12 3:37am
View
hi
Your delete query is not correct.
palraj001
3-Feb-12 2:32am
View
how did you bind data in Grid?
palraj001
25-Jan-12 4:53am
View
no . it works in local system. problem is in hoster server
palraj001
25-Jan-12 1:53am
View
Deleted
You can use
decimal(30,0)
palraj001
23-Jan-12 7:08am
View
1 BEGIN 1 1
1 BEGIN 10 2
1 END 5 1
1 END 15 2
2 BEGIN 20 3
2 END 25 3
palraj001
23-Jan-12 6:56am
View
if you want to make this out put , you have to add another column for grouping ID
palraj001
23-Jan-12 0:27am
View
then it should increment the value.
check with select Max(IdProject), max(IdProject) + 1 from PROJECT
palraj001
22-Jan-12 23:56pm
View
what data type u have used for IdProject?
palraj001
10-Jan-12 7:34am
View
add AutoPostBack=True in <asp:checkbox id="CheckBox1" runat="server" oncheckedchanged="CheckBox1_CheckedChanged" xmlns:asp="#unknown" />
palraj001
10-Jan-12 1:14am
View
do you want delete all files?
palraj001
28-Dec-11 7:12am
View
use print 'check' or select 'check' in each condition block. thus you can check whether the block of code executed or not
palraj001
14-Dec-11 23:06pm
View
its working . i didnt get any error in ur code
palraj001
14-Dec-11 3:11am
View
just use insert query. what is the problem?
palraj001
14-Dec-11 2:46am
View
actually i used SP for deleting the record. i have written delete query in SP. without using this delete command, Cant we delete it?
palraj001
10-Dec-11 4:52am
View
bcos already in try block connection is opened .
palraj001
10-Dec-11 4:52am
View
sc.Open();// remove this and try
x = da.UpdateCommand.ExecuteNonQuery();
palraj001
7-Dec-11 6:37am
View
select count(*) as days from
yourtablename where datename(dw,yourdatefieldname) not in ('Saturday','Sunday')
palraj001
22-Nov-11 1:56am
View
how u give price range, is it from dropdownlist?
palraj001
17-Nov-11 4:00am
View
now what order is it coming after button click?
palraj001
12-Nov-11 0:35am
View
why you are having two buttons. do the operation in one button by checking Text property of the button
if (btn1.Text=="Save")
{
}
else if (btn1.Text=="Update")
{
}
palraj001
6-Nov-11 23:53pm
View
in windows there is no need to give group name .can u select two radio buttons at a time ???
palraj001
5-Nov-11 7:44am
View
chartDiv is ID of the div tag
palraj001
5-Nov-11 0:52am
View
its woking here, did u try with this code?
palraj001
12-Aug-11 9:02am
View
this how i did.
string myConnStr = ConfigurationManager.ConnectionStrings["testpal"].ConnectionString;
SqlConnection Conn = new SqlConnection(myConnStr);
Conn.Open();
string str;
DataTable dt = new DataTable("tbl");
if (TextBox1.Text.Length==1)
{
str = "SELECT num FROM numbers where num like '%" + TextBox1.Text + "__'";
}
else if (TextBox1.Text.Length == 2)
{
str = "SELECT num FROM numbers where num like '%" + TextBox1.Text.Substring(0,1) + "" + TextBox1.Text.Substring (1, 1) + "_'";
}
else
{
str = "SELECT num FROM numbers where num like '%__" + TextBox1.Text + "'";
}
SqlCommand comm = new SqlCommand(str, Conn);
SqlDataAdapter da = new SqlDataAdapter(comm);
da.Fill(dt);
Conn.Close();
DropDownList1.DataSource =dt;
DropDownList1.DataTextField="num";
DropDownList1.DataValueField="num";
DropDownList1.DataBind();
i type in textbox. result will be showed in dropdownbox.is there any possibility type values in dropdownbox itself?
palraj001
12-Aug-11 8:32am
View
but i need to be do this without a text box. how can i give in dropdownbox itself.
palraj001
12-Aug-11 8:00am
View
Thanks mika. it helped me.
Show More