Click here to Skip to main content
15,921,179 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Hi All, Pin
peacefulmember17-Aug-07 3:09
peacefulmember17-Aug-07 3:09 
AnswerRe: Hi All, Pin
S A R I T H16-Aug-07 20:35
S A R I T H16-Aug-07 20:35 
QuestionI need help with sequel query with INNER/OUTER JOIN Pin
hurrem16-Aug-07 9:37
hurrem16-Aug-07 9:37 
AnswerRe: I need help with sequel query with INNER/OUTER JOIN Pin
Christian Graus16-Aug-07 11:32
protectorChristian Graus16-Aug-07 11:32 
GeneralRe: I need help with sequel query with INNER/OUTER JOIN Pin
hurrem16-Aug-07 12:35
hurrem16-Aug-07 12:35 
QuestionCompiler Error Message: CS0117 Pin
BigtimeOneEleven16-Aug-07 8:31
BigtimeOneEleven16-Aug-07 8:31 
AnswerRe: Compiler Error Message: CS0117 Pin
Christian Graus16-Aug-07 11:38
protectorChristian Graus16-Aug-07 11:38 
QuestionConnecting to SQL !!! Pin
mrkeivan16-Aug-07 7:11
mrkeivan16-Aug-07 7:11 
Hey guys, whats up ?
I want to connect to SQL in ASP.NET

<add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\MyDB.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />

In my main form I have this code:
I have added a SQLDatasource for my connection string !
MyConn.ConnectionString = SqlDataSource1.ConnectionString;<br />
MyConn.Open();<br />
MyCmd.CommandText = "SELECT UserName from UserT where UserName = " + UserName_tb.Text;


string CheckName = (string)MyCmd.ExecuteScalar();
in this line I get this error !
ExecuteScalar: Connection property has not been initialized.
AnswerRe: Connecting to SQL !!! Pin
mani_iips16-Aug-07 7:16
mani_iips16-Aug-07 7:16 
GeneralRe: Connecting to SQL !!! Pin
mrkeivan16-Aug-07 7:26
mrkeivan16-Aug-07 7:26 
GeneralRe: Connecting to SQL !!! Pin
mani_iips16-Aug-07 7:29
mani_iips16-Aug-07 7:29 
QuestionCan Someone Explain this (ref Page Life Cycle) Pin
mani_iips16-Aug-07 7:08
mani_iips16-Aug-07 7:08 
QuestionGod dam dates Pin
Sam Heller16-Aug-07 6:18
Sam Heller16-Aug-07 6:18 
AnswerRe: God dam dates Pin
ToddHileHoffer16-Aug-07 8:11
ToddHileHoffer16-Aug-07 8:11 
AnswerRe: God dam dates Pin
Not Active16-Aug-07 9:25
mentorNot Active16-Aug-07 9:25 
Questionwww.xtravels.com is not working inside the Host Server Pin
pubududilena16-Aug-07 5:41
pubududilena16-Aug-07 5:41 
AnswerRe: www.xtravels.com is not working inside the Host Server Pin
Michael Sync16-Aug-07 5:47
Michael Sync16-Aug-07 5:47 
GeneralRe: www.xtravels.com is not working inside the Host Server Pin
Sam Heller16-Aug-07 6:20
Sam Heller16-Aug-07 6:20 
GeneralRe: www.xtravels.com is not working inside the Host Server Pin
pubududilena16-Aug-07 21:00
pubududilena16-Aug-07 21:00 
QuestionHow to stop server side event firing based on client side event [modified] Pin
here2learn16-Aug-07 5:00
here2learn16-Aug-07 5:00 
AnswerRe: How to stop server side event firing based on client side event Pin
ToddHileHoffer16-Aug-07 7:48
ToddHileHoffer16-Aug-07 7:48 
GeneralRe: How to stop server side event firing based on client side event Pin
here2learn16-Aug-07 18:34
here2learn16-Aug-07 18:34 
QuestionEmail in ASP.NET : Plz it's very urgent Pin
.NET- India 16-Aug-07 3:04
.NET- India 16-Aug-07 3:04 
AnswerRe: Email in ASP.NET : Plz it's very urgent Pin
Sathesh Sakthivel16-Aug-07 3:10
Sathesh Sakthivel16-Aug-07 3:10 
GeneralRe: Email in ASP.NET : Plz it's very urgent Pin
.NET- India 16-Aug-07 3:20
.NET- India 16-Aug-07 3:20 

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.