Click here to Skip to main content
15,889,096 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: hi Pin
meeram39518-Jul-12 1:06
meeram39518-Jul-12 1:06 
Generalerror index out of range exception was unhandled by user code Pin
Member 245846710-Jul-12 20:17
Member 245846710-Jul-12 20:17 
GeneralRe: error index out of range exception was unhandled by user code Pin
AmitGajjar10-Jul-12 22:26
professionalAmitGajjar10-Jul-12 22:26 
GeneralRe: error index out of range exception was unhandled by user code Pin
jkirkerx11-Jul-12 18:24
professionaljkirkerx11-Jul-12 18:24 
GeneralRe: error index out of range exception was unhandled by user code Pin
Member 245846711-Jul-12 21:54
Member 245846711-Jul-12 21:54 
Questioncompare expire date with current date for validation of user Pin
gyanendragope10-Jul-12 18:25
gyanendragope10-Jul-12 18:25 
AnswerRe: compare expire date with current date for validation of user Pin
Rahul Rajat Singh10-Jul-12 19:36
professionalRahul Rajat Singh10-Jul-12 19:36 
QuestionC# web config connect to database Pin
sc steinhayse10-Jul-12 17:35
sc steinhayse10-Jul-12 17:35 
I have the following questions about a linq to sql connection in a C# 2010 web
form application when comparing the *.dbml file to the web.config file:
The questions refer to the code listed below:

1. The top of the *.dbml file and the web.config file, there are refernces to
"TST_DEV" and "TST_DEV2". Can this discrepancy cause problems in the web form
application? If so, can you tell me how? I am asking this question since most
references in the production application refer to "TST_DEV" or "TST_DEV2" in the
same .dbml file and do not mix the references.

2. I do not understand what the
'name="Dmport.Properties.Settings.DBConnectionString" can be referring to. Can
you tell me what it is referring to?

3. Are the refernces to "DBConnectionString" in the .dbml file and web.config
file all related to each other? If so, would you tell me how all these items are
related to each other? If not, can you tell me what each "DBConnectionString" is
referring to?
top of .dbml file 
<?xml version="1.0" encoding="utf-8"?><Database Name="TST_DEV" 
Class="HisDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007"> 
  <Connection Mode="WebSettings" ConnectionString="Data 
Source=SP9\MSSQL2008;Initial Catalog=TST_DEV2;Persist Security Info=True;User 
ID=xx" SettingsObjectName="System.Configuration.ConfigurationManager.ConnectionS
trings" 
SettingsPropertyName="DBConnectionString" Provider="System.Data.SqlClient" /> 
 
applicable web.config file 
 
  <add name="DBConnectionString" connectionString="Data Source=sqldev;Initial 
Catalog=Tst_DV;Persist Security Info=True;User ID=R2;Password=A" 
providerName="System.Data.SqlClient" /> 
  <add name="Dmport.Properties.Settings.DBConnectionString" 
connectionString="Data Source=sqldev;Initial Catalog=Tst_DV;Persist Security 
Info=True;User ID=R2;Password=A" providerName="System.Data.SqlClient" /> 
  <add name="TST_DEVConnectionString" connectionString="Data 
Source=sqldev;Initial Catalog=Tst_DV;Persist Security Info=True;User 
ID=R2;Password=A" providerName="System.Data.SqlClient" /> 
  <add name="TST_DEV2ConnectionString" connectionString="Data 
Source=sqldev;Initial Catalog=Tst_DV;Persist Security Info=True;User 
ID=R2;Password=A" providerName="System.Data.SqlClient" /> 

QuestionDate1904 value for the uploaded excel file in ASP.Net application Pin
indian14310-Jul-12 11:18
indian14310-Jul-12 11:18 
QuestionAdd Button in MVC3 Pin
Allikurt10-Jul-12 6:32
Allikurt10-Jul-12 6:32 
GeneralOn GridView each row update Need to show update Record in other gridview Pin
Asif20129-Jul-12 21:09
Asif20129-Jul-12 21:09 
AnswerRe: On GridView each row update Need to show update Record in other gridview Pin
Dhyanga11-Jul-12 6:11
Dhyanga11-Jul-12 6:11 
Questionoptimized load of asp.net dll Pin
sc steinhayse8-Jul-12 8:30
sc steinhayse8-Jul-12 8:30 
AnswerRe: optimized load of asp.net dll Pin
markovl9-Jul-12 21:18
markovl9-Jul-12 21:18 
GeneralRe: optimized load of asp.net dll Pin
sc steinhayse10-Jul-12 17:34
sc steinhayse10-Jul-12 17:34 
AnswerRe: optimized load of asp.net dll Pin
markovl10-Jul-12 19:45
markovl10-Jul-12 19:45 
GeneralRe: optimized load of asp.net dll Pin
sc steinhayse11-Jul-12 10:33
sc steinhayse11-Jul-12 10:33 
Questionweb app using linq to sql Pin
dcof8-Jul-12 6:16
dcof8-Jul-12 6:16 
AnswerRe: web app using linq to sql Pin
R. Giskard Reventlov9-Jul-12 5:21
R. Giskard Reventlov9-Jul-12 5:21 
GeneralWeb.config with variable or key inside Pin
Marius DUMITRU8-Jul-12 0:39
Marius DUMITRU8-Jul-12 0:39 
GeneralRe: Web.config with variable or key inside Pin
Sandeep Mewara8-Jul-12 4:31
mveSandeep Mewara8-Jul-12 4:31 
GeneralRe: Web.config with variable or key inside Pin
Karthik. A9-Jul-12 9:48
Karthik. A9-Jul-12 9:48 
Questionasp.net error A first chance exception of type Pin
dcof7-Jul-12 19:26
dcof7-Jul-12 19:26 
Questionasp.net debug error message Pin
dcof7-Jul-12 19:25
dcof7-Jul-12 19:25 
AnswerRe: asp.net debug error message Pin
Sandeep Mewara7-Jul-12 21:12
mveSandeep Mewara7-Jul-12 21:12 

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.