|
It's because you have installed SQL Server Express Version in your System
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
So please solve this problem?
modified on Thursday, August 20, 2009 11:13 AM
|
|
|
|
|
srikantha_nagaraj wrote: But this connection string i can't use in class as it giving an error for this.
Are we meant to guess what error? Why can't you use it, it's a valid name.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
My Connection string is
"Database=QD ;Server=BHUKRK83981D\SQLEXPRESS; Integrated Security = true;Connect Timeout=2000;"
But it is giving an error as Unrecorganized escape sequence.
|
|
|
|
|
You need to escape it for the slash, like this:
@"Database=QD ;Server=BHUKRK83981D\SQLEXPRESS; Integrated Security = true;Connect Timeout=2000;"
Or just double it up:
"Database=QD ;Server=BHUKRK83981D\\SQLEXPRESS; Integrated Security = true;Connect Timeout=2000;"
|
|
|
|
|
|
Basic C# error - you need to escape the \, its nothing wrong with the connection string.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Hi,
I am creating a website using website in asp.net2.0, Can i use Class here. Please help me in this. Although i am able to create class, but i am not able to use that. Please help me.
|
|
|
|
|
Yes,
just create new "class library" project
Ex. "ClassLibrary1"
implement your classes and build it.
Now go to your web site and add reference of that class by
Add References,browse tab page-browse where you create your class.
Add dll of your class project which created in bin->debug folder
Now you can use class
Ex. ClassLibrary1.classname
|
|
|
|
|
I have an Word Document I need to print it directly on hard paper without opening at the client end.
Is there any solution to directly print the word document without using ActivexObject and any third party tool?
|
|
|
|
|
If MS-Word is installed on your Web Server, then you could instaniate Word on the server and print it to a print queue without opening it at the client.
|
|
|
|
|
Could you please tell me the way with code if possible?
|
|
|
|
|
Hi,
I am creating a web site which is utilizing the .Net Membership provider with SQL server to store each users logon information. I have customized the create user wizard to obtain extra information i need from the user.
My issue is that i am not sure what is the best method of using the automatically generated UserId as a foreign key in my other tables which belong to the relational database system i have designed.
I also need to store the extra information obtained from the customized fields in the create user wizard in my relational database system.
Any advice or pointers will be much appreciated!
Regards,
Johnny
|
|
|
|
|
I have a similar scenario
Just create another table either in the same db or in another db
Once the user is created with the createuserwizard and all the other fields are filled, insert a new row in your table
Alexei Rodriguez
|
|
|
|
|
hi ..
i have small question abt page load\
when i m going to click button first its going to page load .. and only debug into button click event .. so now i want after finish debug is there any posible to again into pageload.
try and try untill reach success..
|
|
|
|
|
Can you clarify your problem in detail?
|
|
|
|
|
thnks brother
when i click to button .. then its going to debug right .. so i m not using ispostback
so first start debug in pageload and its debuging into button event right .. after the debuging going to finished page..
my doubt is there any posible to debuging from button event then again its debug into pageload
try and try untill reach success..
|
|
|
|
|
When you click the button, page load will be called first and then the button_click event will be called, after this the debugging will end.
What you are trying to do?
|
|
|
|
|
When you click the button, page load will be called first and then the button_click event will be called, after this the debugging will end.
yes .but i need from button_event to next called to pageload ..how can i do this one..
i dont want to use refresh.
try and try untill reach success..
|
|
|
|
|
May I know what kindaa success you want to achieve?
Explain the scenario.
|
|
|
|
|
i took one gridview panel ..and thats all coding wrote in ascx page ..
so now i m sending some data in button event .. then its goes to db..
so again i want to bind the gridview which is there inascx page.
try and try untill reach success..
|
|
|
|
|
Why dont you call the grid databind code in button event after data is saved?
|
|
|
|
|
i m binding gridview in ascx page.. not in button page..
try and try untill reach success..
|
|
|
|
|
ascx means you have user control in page,
why dont you recreate that control in button event?
|
|
|
|
|
Expose a method on the user control to allow binding rather than binding when the control loads.
|
|
|
|