Click here to Skip to main content
15,917,005 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How i can update GridView in web page when i edit or delete or insert a record in database? Pin
Christian Graus31-May-08 1:27
protectorChristian Graus31-May-08 1:27 
QuestionHow to develope a webservice which automatically updates its ad(in window project) from a website Pin
K V Sekhar31-May-08 0:40
K V Sekhar31-May-08 0:40 
AnswerRe: How to develope a webservice which automatically updates its ad(in window project) from a website Pin
Christian Graus31-May-08 1:26
protectorChristian Graus31-May-08 1:26 
AnswerCP IGNORE Pin
leckey31-May-08 4:45
leckey31-May-08 4:45 
QuestionDataBinding to DropDownList in GridView Error Pin
Samiullah31-May-08 0:34
Samiullah31-May-08 0:34 
AnswerRe: DataBinding to DropDownList in GridView Error Pin
Parwej Ahamad31-May-08 1:28
professionalParwej Ahamad31-May-08 1:28 
GeneralRe: DataBinding to DropDownList in GridView Error Pin
Samiullah31-May-08 2:08
Samiullah31-May-08 2:08 
GeneralRe: DataBinding to DropDownList in GridView Error Pin
Parwej Ahamad31-May-08 3:53
professionalParwej Ahamad31-May-08 3:53 
I noticed that the Column "ProductID" (DataColumn productIDColumn = new DataColumn("ProductID") did not specify the Data type.

I think your data base returning ProductID as int type.

So you can resolve this prob lem in two way

(1) newRow["ProductID"] = rows["ProductID"].ToString();

OR

(2)Also specify the Data type as int, When you are creating the column

DataColumn productIDColumn = new DataColumn("ProductID")

Parwej Ahamad
R & D with IIS 5.0/6.0

GeneralRe: DataBinding to DropDownList in GridView Error Pin
Samiullah3-Jun-08 0:32
Samiullah3-Jun-08 0:32 
GeneralRe: DataBinding to DropDownList in GridView Error Pin
Samiullah3-Jun-08 1:42
Samiullah3-Jun-08 1:42 
GeneralRe: DataBinding to DropDownList in GridView Error Pin
Parwej Ahamad3-Jun-08 7:16
professionalParwej Ahamad3-Jun-08 7:16 
QuestionRegisterStartupScript is user control Pin
rotsey31-May-08 0:28
rotsey31-May-08 0:28 
AnswerRe: RegisterStartupScript is user control Pin
Parwej Ahamad31-May-08 1:26
professionalParwej Ahamad31-May-08 1:26 
GeneralRe: RegisterStartupScript is user control Pin
rotsey31-May-08 3:20
rotsey31-May-08 3:20 
Questionsetting key value pair in webconfig Pin
Mogaambo30-May-08 23:54
Mogaambo30-May-08 23:54 
AnswerRe: setting key value pair in webconfig Pin
MHASSANF31-May-08 0:21
MHASSANF31-May-08 0:21 
GeneralRe: setting key value pair in webconfig Pin
Mogaambo31-May-08 0:24
Mogaambo31-May-08 0:24 
GeneralRe: setting key value pair in webconfig Pin
MHASSANF31-May-08 1:24
MHASSANF31-May-08 1:24 
QuestionQuestion Pin
nithydurai30-May-08 20:43
nithydurai30-May-08 20:43 
AnswerRe: Question Pin
Parwej Ahamad30-May-08 22:48
professionalParwej Ahamad30-May-08 22:48 
GeneralRe: Question Pin
nithydurai30-May-08 22:53
nithydurai30-May-08 22:53 
GeneralRe: Question Pin
Parwej Ahamad30-May-08 23:06
professionalParwej Ahamad30-May-08 23:06 
GeneralRe: Question Pin
nithydurai30-May-08 23:54
nithydurai30-May-08 23:54 
GeneralRe: Question Pin
Parwej Ahamad31-May-08 1:13
professionalParwej Ahamad31-May-08 1:13 
AnswerCP REPEAT OFFENDER Pin
leckey31-May-08 4:50
leckey31-May-08 4:50 

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.