Click here to Skip to main content
15,908,013 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Ajax.Ajax.Ajax Pin
coolshad30-Aug-06 5:41
coolshad30-Aug-06 5:41 
QuestionDataGrid in a Datalist for Master Detail Records Pin
deepaks329-Aug-06 23:40
deepaks329-Aug-06 23:40 
QuestionSQLdataAdapter does not update when DB contains empty fields Pin
ThomasLu29-Aug-06 23:25
ThomasLu29-Aug-06 23:25 
AnswerRe: SQLdataAdapter does not update when DB contains empty fields Pin
deepaks329-Aug-06 23:45
deepaks329-Aug-06 23:45 
GeneralRe: SQLdataAdapter does not update when DB contains empty fields Pin
ThomasLu30-Aug-06 1:08
ThomasLu30-Aug-06 1:08 
Questioncalling DB2 stored procedure using asp.net Pin
playout29-Aug-06 22:14
playout29-Aug-06 22:14 
Questionhow to synchronize dropdownlists Pin
Kissy1629-Aug-06 22:00
Kissy1629-Aug-06 22:00 
AnswerRe: how to synchronize dropdownlists Pin
_AK_29-Aug-06 22:49
_AK_29-Aug-06 22:49 
Kissy16 wrote:
Here for the first time when i select a state that will not display.Same happening in DIvision also.If i select second time all are working properly.so wat to do for this??

I don't see any reason why it will not work for the first time. Is the page is getting posted back or simply nothing is happening.



Kissy16 wrote:
Dim cnt As Integer
cmdcnt = New SqlCommand(" Select MAX(Centre_Id) from Division_District where District_Id='" & num & "'", dbConn)
cnt = cmdcnt.ExecuteScalar()
If cnt = 0 Then
cnt = 1


ExecuteScalar executes the query and return one value.
Here you can do like this:
cmdcnt = New SqlCommand(" Select MAX(Centre_Id) from Division_District where District_Id='" & num & "'", dbConn)
Dim r As SqlDataReader = cmdcnt.ExecuteScalar()
if(!sqlDataReader.IsDbNull(columnIndex))
Then do the operations here
endif



Best Regards,
Apurva Kaushal

GeneralRe: how to synchronize dropdownlists [modified] Pin
Kissy1630-Aug-06 0:27
Kissy1630-Aug-06 0:27 
GeneralRe: how to synchronize dropdownlists Pin
Kissy1630-Aug-06 1:12
Kissy1630-Aug-06 1:12 
GeneralRe: how to synchronize dropdownlists Pin
_AK_30-Aug-06 1:25
_AK_30-Aug-06 1:25 
QuestionValidation in asp:DataList Pin
deepaks329-Aug-06 21:10
deepaks329-Aug-06 21:10 
AnswerRe: Validation in asp:DataList Pin
_AK_29-Aug-06 21:34
_AK_29-Aug-06 21:34 
GeneralRe: Validation in asp:DataList Pin
deepaks329-Aug-06 21:47
deepaks329-Aug-06 21:47 
GeneralRe: Validation in asp:DataList Pin
_AK_29-Aug-06 22:50
_AK_29-Aug-06 22:50 
GeneralRe: Validation in asp:DataList Pin
deepaks329-Aug-06 23:51
deepaks329-Aug-06 23:51 
Questionloading temporary asp.net files takes ages [modified] Pin
livez29-Aug-06 21:00
livez29-Aug-06 21:00 
AnswerRe: loading temporary asp.net files takes ages Pin
_AK_29-Aug-06 22:55
_AK_29-Aug-06 22:55 
GeneralRe: loading temporary asp.net files takes ages Pin
livez29-Aug-06 23:15
livez29-Aug-06 23:15 
AnswerRe: loading temporary asp.net files takes ages Pin
Jürgen Müller (jmse)30-Aug-06 6:30
Jürgen Müller (jmse)30-Aug-06 6:30 
GeneralRe: loading temporary asp.net files takes ages Pin
livez31-Aug-06 20:00
livez31-Aug-06 20:00 
Questioncustom server control problem Pin
Jürgen Müller (jmse)29-Aug-06 20:53
Jürgen Müller (jmse)29-Aug-06 20:53 
AnswerRe: custom server control problem Pin
John Petersen30-Aug-06 0:12
John Petersen30-Aug-06 0:12 
GeneralRe: custom server control problem Pin
Jürgen Müller (jmse)30-Aug-06 0:38
Jürgen Müller (jmse)30-Aug-06 0:38 
GeneralRe: custom server control problem Pin
John Petersen30-Aug-06 1:01
John Petersen30-Aug-06 1:01 

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.