Click here to Skip to main content
15,441,280 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Memberhip.CreateUser() is given an exception !! Pin
Matt U.24-Mar-15 9:47
MemberMatt U.24-Mar-15 9:47 
Questionget logged in user name Pin
Praveen Kandari20-Mar-15 0:53
MemberPraveen Kandari20-Mar-15 0:53 
AnswerRe: get logged in user name Pin
Afzaal Ahmad Zeeshan20-Mar-15 1:14
mveAfzaal Ahmad Zeeshan20-Mar-15 1:14 
QuestionInterview Question -Why Validation in Update Panel is not working properly? Pin
Rajesh waran19-Mar-15 19:37
professionalRajesh waran19-Mar-15 19:37 
AnswerRe: Interview Question -Why Validation in Update Panel is not working properly? Pin
F-ES Sitecore19-Mar-15 22:36
professionalF-ES Sitecore19-Mar-15 22:36 
AnswerRe: Interview Question -Why Validation in Update Panel is not working properly? Pin
Rajesh waran19-Mar-15 23:59
professionalRajesh waran19-Mar-15 23:59 
Questioncheck data exist or not? Pin
Praveen Kandari19-Mar-15 0:00
MemberPraveen Kandari19-Mar-15 0:00 
AnswerRe: check data exist or not? Pin
Afzaal Ahmad Zeeshan19-Mar-15 1:39
mveAfzaal Ahmad Zeeshan19-Mar-15 1:39 
It is a pretty simple task, just get the data from your TextBox, search the database and if there is a record then show the data. Ok, let me talk to you in C#.

C#
// Fetch the data
var val = textBox1.Text; // your TextBox

// execute the SqlCommand; and get the value of reader (SqlDataReader) as bool for HasRows
if(hasRows) {
   // perform function for data_exists
} else {
   // nothing found in the database..
}


You can then execute the function based on the data that was returned from the database.

SqlDataReader on MSDN[^].
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

AnswerRe: check data exist or not? Pin
F-ES Sitecore19-Mar-15 1:40
professionalF-ES Sitecore19-Mar-15 1:40 
AnswerRe: check data exist or not? Pin
jkirkerx19-Mar-15 8:24
professionaljkirkerx19-Mar-15 8:24 
QuestionInterview Question for ASP.NET Pin
Victor Ebe18-Mar-15 5:53
MemberVictor Ebe18-Mar-15 5:53 
AnswerRe: Interview Question for ASP.NET Pin
ZurdoDev19-Mar-15 3:46
professionalZurdoDev19-Mar-15 3:46 
QuestionInfinite Scroll by jquery and asp.net and page slow & crash issue Pin
Tridip Bhattacharjee17-Mar-15 23:11
professionalTridip Bhattacharjee17-Mar-15 23:11 
AnswerRe: Infinite Scroll by jquery and asp.net and page slow & crash issue Pin
ZurdoDev19-Mar-15 3:47
professionalZurdoDev19-Mar-15 3:47 
GeneralRe: Infinite Scroll by jquery and asp.net and page slow & crash issue Pin
Tridip Bhattacharjee19-Mar-15 21:34
professionalTridip Bhattacharjee19-Mar-15 21:34 
QuestionShowing Polyline Using ASP NET and database Pin
Member 1110549017-Mar-15 22:05
MemberMember 1110549017-Mar-15 22:05 
QuestionReload parent page after closing the popup Pin
indian14317-Mar-15 14:04
Memberindian14317-Mar-15 14:04 
AnswerRe: Reload parent page after closing the popup-Resolved Pin
indian14317-Mar-15 17:59
Memberindian14317-Mar-15 17:59 
Questionexport gridview data to ODS file Pin
Praveen Kandari15-Mar-15 23:56
MemberPraveen Kandari15-Mar-15 23:56 
AnswerRe: export gridview data to ODS file Pin
jkirkerx16-Mar-15 11:01
professionaljkirkerx16-Mar-15 11:01 
GeneralRe: export gridview data to ODS file Pin
Praveen Kandari16-Mar-15 19:08
MemberPraveen Kandari16-Mar-15 19:08 
GeneralRe: export gridview data to ODS file Pin
jkirkerx17-Mar-15 6:14
professionaljkirkerx17-Mar-15 6:14 
GeneralRe: export gridview data to ODS file Pin
Praveen Kandari19-Mar-15 0:02
MemberPraveen Kandari19-Mar-15 0:02 
QuestionGetting Error Message when adding Content pages with Master Pages in ASP.Net Pin
Reddy Ankireddy14-Mar-15 15:08
MemberReddy Ankireddy14-Mar-15 15:08 
AnswerRe: Getting Error Message when adding Content pages with Master Pages in ASP.Net Pin
jkirkerx16-Mar-15 11:07
professionaljkirkerx16-Mar-15 11:07 

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.