Click here to Skip to main content
15,897,891 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Rows deletion directly from the gridview.....without database interaction. Pin
Christian Graus16-Mar-09 19:19
protectorChristian Graus16-Mar-09 19:19 
GeneralRe: Rows deletion directly from the gridview.....without database interaction. Pin
RajpootRohan16-Mar-09 19:40
professionalRajpootRohan16-Mar-09 19:40 
AnswerRe: Rows deletion directly from the gridview.....without database interaction. Pin
Member 282342117-Mar-09 23:57
Member 282342117-Mar-09 23:57 
QuestionInserting a blank date value in database Pin
Praneeth Babu K16-Mar-09 19:00
Praneeth Babu K16-Mar-09 19:00 
AnswerRe: Inserting a blank date value in database Pin
Christian Graus16-Mar-09 19:02
protectorChristian Graus16-Mar-09 19:02 
GeneralRe: Inserting a blank date value in database Pin
Praneeth Babu K16-Mar-09 19:13
Praneeth Babu K16-Mar-09 19:13 
GeneralRe: Inserting a blank date value in database Pin
Christian Graus16-Mar-09 19:18
protectorChristian Graus16-Mar-09 19:18 
GeneralRe: Inserting a blank date value in database Pin
Praneeth Babu K16-Mar-09 19:26
Praneeth Babu K16-Mar-09 19:26 
hi my code

OdbcCommand cmd = new OdbcCommand("{call InsertRetailer(" + Convert.ToInt32(txtRetailerId.Text) + ",'" + txtRetailerName.Text + "','" + txtAppointedDate.Text + "'," + ddlStatus.SelectedValue + ",'" + txtCancellationDate.Text + "'," + ddlRegion.SelectedValue + "," + txtCreditLimit.Text + ",'" + txtContactPerson.Text + "','" + txtAddress1.Text + "','" + txtAddress2.Text + "'," + ddlState.SelectedValue + ",'" + txtPostcode.Text + "','" + txtTelephone.Text + "','" + txtMobile.Text + "','" + txtFax.Text + "','" + txtEmail.Text + "'," + ddlDistributor.SelectedValue + ",'" + txtTaxId.Text + "'," + sell + "," + cancel + "," + pay + "," + ddlSchemeId.SelectedValue + ",'" + txtBankNumber.Text + "','" + txtBranchNumber.Text + "','" + txtBankAccountNo.Text + "')}", Conn);


create procedure InsertRetailer
@retailer_id numeric=null,
@name varchar(1000)=null,
@appoint_date NVARCHAR(20),
@status_id numeric=null,
@cancellation_date NVARCHAR(20),
@region_id numeric=null,
@credit_limit numeric(22,2)=null,
@contact_name varchar(1000)=null,
@addr1 varchar(1000)=null,
@addr2 varchar(1000)=null,
@state_id numeric=null,
@pincode varchar(1000)=null,
@telephone varchar(1000)=null,
@mobile varchar(1000)=null,
@fax varchar(1000)=null,
@email varchar(1000)=null,
@distributor_id numeric=null,
@tax_id varchar(1000)=null,
@sell_enable numeric=null,
@cancel_enable numeric=null,
@pay_enable numeric=null,
@scheme_id numeric=null,
@bank_number varchar(1000)=null,
@branch_number varchar(1000)=null,
@bank_acct_number varchar(1000)=null
as
begin
insert into retailer(retailer_id,name,appoint_date,status_id,cancellation_date,region_id,credit_limit,contact_name,addr1,addr2,state_id,pincode,telephone,mobile,fax,email,distributor_id,tax_id,sell_enable,cancel_enable,pay_enable,scheme_id,bank_number,branch_number,bank_acct_number)
values(@retailer_id,@name,@appoint_date,@status_id,@cancellation_date,@region_id,isnull(@credit_limit,0),@contact_name,@addr1,@addr2,@state_id,@pincode,@telephone,@mobile,@fax,@email,@distributor_id,@tax_id,@sell_enable,@cancel_enable,@pay_enable,@scheme_id,@bank_number,@branch_number,@bank_acct_number)
end
GeneralRe: Inserting a blank date value in database Pin
Christian Graus16-Mar-09 19:36
protectorChristian Graus16-Mar-09 19:36 
QuestionChat Pin
monika_vasvani16-Mar-09 18:36
monika_vasvani16-Mar-09 18:36 
AnswerRe: Chat Pin
Christian Graus16-Mar-09 18:45
protectorChristian Graus16-Mar-09 18:45 
AnswerRe: Chat Pin
_Maxxx_17-Mar-09 19:18
professional_Maxxx_17-Mar-09 19:18 
QuestionProblem With enternet exporer 6.0 Pin
ais0716-Mar-09 18:05
ais0716-Mar-09 18:05 
AnswerRe: Problem With enternet exporer 6.0 Pin
Christian Graus16-Mar-09 18:18
protectorChristian Graus16-Mar-09 18:18 
GeneralRe: Problem With enternet exporer 6.0 Pin
ais0716-Mar-09 18:23
ais0716-Mar-09 18:23 
GeneralRe: Problem With enternet exporer 6.0 Pin
Christian Graus16-Mar-09 18:35
protectorChristian Graus16-Mar-09 18:35 
GeneralRe: Problem With enternet exporer 6.0 Pin
ais0716-Mar-09 18:37
ais0716-Mar-09 18:37 
GeneralRe: Problem With enternet exporer 6.0 Pin
Christian Graus16-Mar-09 19:03
protectorChristian Graus16-Mar-09 19:03 
QuestionDeleting is not supported by ObjectDataSource 'allUsersDataSource' unless the DeleteMethod is specified Pin
JimBob SquarePants16-Mar-09 16:20
JimBob SquarePants16-Mar-09 16:20 
QuestionFreeTextBox control Pin
dptalt16-Mar-09 10:15
dptalt16-Mar-09 10:15 
AnswerRe: FreeTextBox control Pin
Christian Graus16-Mar-09 10:27
protectorChristian Graus16-Mar-09 10:27 
AnswerRe: FreeTextBox control Pin
Yusuf16-Mar-09 10:29
Yusuf16-Mar-09 10:29 
QuestionConversion of html page to aspx page Pin
immu516-Mar-09 9:58
immu516-Mar-09 9:58 
AnswerRe: Conversion of html page to aspx page Pin
Christian Graus16-Mar-09 10:26
protectorChristian Graus16-Mar-09 10:26 
GeneralRe: Conversion of html page to aspx page Pin
immu516-Mar-09 10:45
immu516-Mar-09 10:45 

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.