Click here to Skip to main content
15,887,596 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: updated grid from sql server Pin
PunkIsNotDead29-Apr-10 16:37
PunkIsNotDead29-Apr-10 16:37 
GeneralRe: updated grid from sql server Pin
stassaf4-May-10 1:40
stassaf4-May-10 1:40 
GeneralRe: updated grid from sql server [modified] Pin
PunkIsNotDead4-May-10 18:31
PunkIsNotDead4-May-10 18:31 
Questionhtml controle Pin
tek 200928-Apr-10 7:27
tek 200928-Apr-10 7:27 
AnswerRe: html controle Pin
Not Active28-Apr-10 7:46
mentorNot Active28-Apr-10 7:46 
AnswerRe: html controle Pin
Sandeep Mewara28-Apr-10 19:17
mveSandeep Mewara28-Apr-10 19:17 
GeneralRe: html controle Pin
PunkIsNotDead28-Apr-10 19:51
PunkIsNotDead28-Apr-10 19:51 
GeneralRe: html controle Pin
tek 200928-Apr-10 23:52
tek 200928-Apr-10 23:52 
ok, thank you, so I'll link id for each control so my c code, for example if I want to fill a select controle by a "select client from id_clt" I'll do it:

in DAL:public SqlDataReader selection (string agrecvt)
{
SqlCommand cmd = new SqlCommand();
cmd.CommandText = "selectioncvt";
cmd.CommandType = CommandType.StoredProcedure;

using (SqlDataReader dr=cmd.ExecuteReader())
{
while (dr.Read())
{
agrecvt = Convert.ToString(dr["@agremcvt"]);

}
return dr ;
}
}

in BLL: public SqlDataReader selection(string agrecvt)
{
try
{
return cvtdal.selection (agrecvt );
}
catch
{
throw;
}
finally
{
cvtdal = null;
}
}
and in code interface:
protected void Page_Load(object sender, EventArgs e)
{
busniss_object.Classe_cvt cvt = new busniss_object.Classe_cvt();
Select4.DataSource = cvt.selection();

}
but it does'nt work if you can correct my code, thank you
GeneralRe: html controle Pin
PunkIsNotDead29-Apr-10 16:54
PunkIsNotDead29-Apr-10 16:54 
QuestionWebservice to import data Pin
Priya Prk28-Apr-10 5:05
Priya Prk28-Apr-10 5:05 
AnswerRe: Webservice to import data Pin
T M Gray28-Apr-10 6:37
T M Gray28-Apr-10 6:37 
GeneralRe: Webservice to import data Pin
Priya Prk28-Apr-10 21:05
Priya Prk28-Apr-10 21:05 
QuestionHow to Exprot Vertical Orientated Text Header to Excel Pin
Andraw11128-Apr-10 4:56
Andraw11128-Apr-10 4:56 
QuestionHow to remove the sort link after export gridview to excel Pin
Andraw11128-Apr-10 3:44
Andraw11128-Apr-10 3:44 
AnswerRe: How to remove the sort link after export gridview to excel Pin
Andraw11128-Apr-10 4:14
Andraw11128-Apr-10 4:14 
QuestionDropdownlist control problem Pin
cheguri28-Apr-10 1:56
cheguri28-Apr-10 1:56 
AnswerRe: Dropdownlist control problem Pin
daveyerwin28-Apr-10 2:04
daveyerwin28-Apr-10 2:04 
AnswerRe: Dropdownlist control problem Pin
Ankur\m/28-Apr-10 2:05
professionalAnkur\m/28-Apr-10 2:05 
AnswerRe: Dropdownlist control problem Pin
Sandesh M Patil28-Apr-10 3:16
Sandesh M Patil28-Apr-10 3:16 
GeneralRe: Dropdownlist control problem Pin
PunkIsNotDead28-Apr-10 20:05
PunkIsNotDead28-Apr-10 20:05 
QuestionEmpting a datagrid before adding new items Pin
Morgs Morgan28-Apr-10 1:35
Morgs Morgan28-Apr-10 1:35 
AnswerRe: Empting a datagrid before adding new items Pin
Arun Jacob28-Apr-10 1:58
Arun Jacob28-Apr-10 1:58 
AnswerRe: Empting a datagrid before adding new items Pin
daveyerwin28-Apr-10 2:07
daveyerwin28-Apr-10 2:07 
AnswerRe: Empting a datagrid before adding new items Pin
GauravKP28-Apr-10 9:59
professionalGauravKP28-Apr-10 9:59 
QuestionUpdate Panel is not working in Google Chrome and Safari Pin
RajeshKalisetti28-Apr-10 0:37
RajeshKalisetti28-Apr-10 0: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.