Click here to Skip to main content
15,918,243 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to display data from the database in three columns? Pin
vinodkrebc31-Mar-09 1:47
vinodkrebc31-Mar-09 1:47 
QuestionUnable To Connect To remote Server problem Pin
Roi198130-Mar-09 23:31
Roi198130-Mar-09 23:31 
AnswerRe: Unable To Connect To remote Server problem Pin
anilpal31-Mar-09 1:00
anilpal31-Mar-09 1:00 
GeneralRe: Unable To Connect To remote Server problem Pin
Roi198131-Mar-09 2:04
Roi198131-Mar-09 2:04 
QuestionCopy forms? Pin
Karthick_gc30-Mar-09 23:17
Karthick_gc30-Mar-09 23:17 
AnswerRe: Copy forms? Pin
mr_muskurahat30-Mar-09 23:58
mr_muskurahat30-Mar-09 23:58 
AnswerRe: Copy forms? Pin
ais0731-Mar-09 0:26
ais0731-Mar-09 0:26 
Questionconversion problem Pin
saravanan0530-Mar-09 23:06
saravanan0530-Mar-09 23:06 
hi to all

Function:
---------
public static int GetScalar(string query)
{
OdbcConnection myconnGS = new OdbcConnection();
OdbcCommand mycmdGS = new OdbcCommand();
myconnGS = DBManager.getConnection();
mycmdGS = new OdbcCommand(query, myconnGS);
return mycmdGS.ExecuteScalar();--error occured this line(patriculy mycmdGS)

myconnGS.Close();
}

error:

Cannot implicitly convert type 'object' to 'int'. An explicit conversion exists (are you missing a cast?) D:\aesweb\WebSite\Controls\MainBannerAdControl.ascx.cs 98 16 D:\aesweb\WebSite\

Known Is Drop.Unknown Is Ocean

AnswerRe: conversion problem Pin
SeMartens30-Mar-09 23:08
SeMartens30-Mar-09 23:08 
AnswerRe: conversion problem Pin
vinodkrebc31-Mar-09 1:50
vinodkrebc31-Mar-09 1:50 
Questionimage not display Pin
saravanan0530-Mar-09 23:04
saravanan0530-Mar-09 23:04 
AnswerRe: image not display Pin
anilpal31-Mar-09 1:08
anilpal31-Mar-09 1:08 
AnswerRe: image not display Pin
Ibrahim Bello31-Mar-09 4:33
Ibrahim Bello31-Mar-09 4:33 
QuestionGridview : Need help about it [modified] Pin
diacoboss30-Mar-09 22:45
diacoboss30-Mar-09 22:45 
AnswerRe: Gridview : Need help about it Pin
Greg Chelstowski30-Mar-09 23:55
Greg Chelstowski30-Mar-09 23:55 
GeneralRe: Gridview : Need help about it Pin
diacoboss31-Mar-09 0:10
diacoboss31-Mar-09 0:10 
AnswerRe: Gridview : Need help about it Pin
anilpal31-Mar-09 1:21
anilpal31-Mar-09 1:21 
AnswerRe: Gridview : Need help about it Pin
vinodkrebc31-Mar-09 1:54
vinodkrebc31-Mar-09 1:54 
GeneralRe: Gridview : Need help about it Pin
diacoboss31-Mar-09 3:39
diacoboss31-Mar-09 3:39 
GeneralRe: Gridview : Need help about it Pin
vinodkrebc31-Mar-09 18:27
vinodkrebc31-Mar-09 18:27 
GeneralRe: Gridview : Need help about it Pin
diacoboss31-Mar-09 22:55
diacoboss31-Mar-09 22:55 
GeneralRe: Gridview : Need help about it Pin
vinodkrebc1-Apr-09 1:09
vinodkrebc1-Apr-09 1:09 
QuestionAjax? Pin
Karthick_gc30-Mar-09 22:45
Karthick_gc30-Mar-09 22:45 
AnswerRe: Ajax? Pin
Greg Chelstowski30-Mar-09 23:52
Greg Chelstowski30-Mar-09 23:52 
QuestionCreating an instance of a VB class in C# class Pin
NetBot30-Mar-09 22:37
NetBot30-Mar-09 22:37 

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.