Click here to Skip to main content
15,895,869 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: where are SQL server database files located? Pin
Christopher Duncan30-Dec-09 17:11
Christopher Duncan30-Dec-09 17:11 
Questionpassing parameters to crystal report in asp.net with c# Pin
developerit30-Dec-09 4:24
developerit30-Dec-09 4:24 
AnswerRe: passing parameters to crystal report in asp.net with c# Pin
Abhishek Sur30-Dec-09 4:45
professionalAbhishek Sur30-Dec-09 4:45 
QuestionInsertion Problem into Database Pin
Zafar A khan 30-Dec-09 3:19
professionalZafar A khan 30-Dec-09 3:19 
AnswerRe: Insertion Problem into Database Pin
Abhishek Sur30-Dec-09 4:42
professionalAbhishek Sur30-Dec-09 4:42 
GeneralRe: Insertion Problem into Database Pin
Zafar A khan 30-Dec-09 5:00
professionalZafar A khan 30-Dec-09 5:00 
GeneralRe: Insertion Problem into Database [modified] Pin
sri_346430-Dec-09 6:37
sri_346430-Dec-09 6:37 
AnswerRe: Insertion Problem into Database Pin
Venkatesh Mookkan30-Dec-09 15:34
Venkatesh Mookkan30-Dec-09 15:34 
Put a breakpoint in the con.Open() line and check the connection string property of connection object. Sometimes the connection string itself referring a wrong location.

As the other user said, ADO.NET will throw error if the execute fails. So, you must me referring a wrong database.


Zafar Ali Khan 1900 wrote:
com.CommandText="insert into <DATABASENAME>.dbo.tbl([Name],FName,Address) values('Angelina','Carlos','sedny')";


replace the <DATABASENAME> with your database name (Full qualifier name). This would help if two or more databases has table in same name and your connection string does not have any Initial Catalog mentioned (default is master database).

Better you post your connection string also


Castle Rider
What if I freeze??? Don't forget to breath...

My: Website | Yahoo Group | Blog Spot

QuestionCITRIX Pin
Sebastian T Xavier30-Dec-09 1:22
Sebastian T Xavier30-Dec-09 1:22 
AnswerRe: CITRIX Pin
Abhijit Jana30-Dec-09 2:26
professionalAbhijit Jana30-Dec-09 2:26 
GeneralRe: CITRIX Pin
Sebastian T Xavier30-Dec-09 2:51
Sebastian T Xavier30-Dec-09 2:51 
GeneralRe: CITRIX Pin
Abhijit Jana30-Dec-09 17:45
professionalAbhijit Jana30-Dec-09 17:45 
QuestionHow to call the WSDL file in ASp.Net 3.5 Pin
somagunasekaran30-Dec-09 1:08
somagunasekaran30-Dec-09 1:08 
AnswerRe: How to call the WSDL file in ASp.Net 3.5 Pin
Abhijit Jana30-Dec-09 2:18
professionalAbhijit Jana30-Dec-09 2:18 
QuestionOpening new window using shortcut key Pin
Karan_TN30-Dec-09 0:54
Karan_TN30-Dec-09 0:54 
AnswerRe: Opening new window using shortcut key Pin
m-khansari30-Dec-09 20:09
m-khansari30-Dec-09 20:09 
GeneralRe: Opening new window using shortcut key Pin
Karan_TN31-Dec-09 0:13
Karan_TN31-Dec-09 0:13 
GeneralRe: Opening new window using shortcut key Pin
m-khansari1-Jan-10 18:21
m-khansari1-Jan-10 18:21 
Questionget left position of the panel Pin
S.Aijaz30-Dec-09 0:44
S.Aijaz30-Dec-09 0:44 
AnswerRe: get left position of the panel Pin
ProtoBytes30-Dec-09 8:09
ProtoBytes30-Dec-09 8:09 
AnswerRe: get left position of the panel Pin
Venkatesh Mookkan30-Dec-09 15:41
Venkatesh Mookkan30-Dec-09 15:41 
GeneralRe: get left position of the panel Pin
S.Aijaz31-Dec-09 20:42
S.Aijaz31-Dec-09 20:42 
QuestionC# code behind the login page if u drag the login from toolbox Pin
Tanzeel Altaf29-Dec-09 22:45
Tanzeel Altaf29-Dec-09 22:45 
AnswerRe: C# code behind the login page if u drag the login from toolbox Pin
nagendrathecoder29-Dec-09 22:50
nagendrathecoder29-Dec-09 22:50 
Questionaspnet_regsql.exe Pin
mylogics29-Dec-09 22:11
professionalmylogics29-Dec-09 22:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.