blah blah blah is here! blah blah » Close

0
votes
2 answers

Why out of range exception comes?

sanjib
226

Here is my code: When the Update button is clicked, a RowUpdating event is raised. Generate its event handler : [code]// Update row protected void grid_RowUpdating(object sender, GridViewUpdateEventArgs e) { // Retrieve updated d ...

0
votes
1 answers

Forms vs Windows authentication

sanjib
226

I try to understand Forms and Windows authentication. If anyone would kindly point out the difference in brief, I'll be grateful. Actually I want to use aspnet_regsql.exe in a manner so that a user will log in and I'll later use that user ...

1
votes
1 answers

Sorting in Gridview

sanjib
226

I wanted to show datas in a GridView in reverse order. Uasually after inserting a data into database, the gridview shows it from the first one and the last one comes at the last. I want to see the latest/last one first, like something happ ...

0
votes
2 answers

How to create a Class to display Images?

sanjib
226

I want to create a DirectoryItems class like this: [code] class DirectoryItems { private string[] Filearray; //to get the extensions like "jpeg", "gif", ''png" etc public DirectoryItems(string FilePath ...

0
votes
2 answers

Which Model should I follow?

sanjib
226

In an article by Scott Mitchel I read this line: [b]When working with data one option is to embed the data-specific logic directly into the presentation layer (in a web application, the ASP.NET pages make up the presentation layer). This m ...

0
votes
2 answers

Why this happens?

sanjib
226

Whenever I connect GridView control to my local database and make AllowPaging property "True" the error coemes like this: " The GridView 'GridView2' fired event PageIndexChanging which wasn't handled. " But when I ...

0
votes
0 answers

Want to know about Authentication mode

sanjib
226

In my website I uploaded an user Control page with a web.config file in which I've to comment out this part: [code]<!-- The <authentication> section enables configuration of the security authentication ...

0
votes
4 answers

How to clear TextBoxes

sanjib
226

This is my code: [code]protected void Button1_Click(object sender, EventArgs e) { string s1 = TextBox1.Text; string s2 = TextBox2.Text; string s3 = TextBox3.Text; blog b = new blog(); if ...

0
votes
2 answers

Why this happens?

sanjib
226

I have created a web server control ServiceControl1 and added it my Visual Studio Toolbox. Later I drag it to a page of my website [url]http://aspspider.info/sanjibsinha[/url] But whenever I want to open the page [url]http://aspspider.in ...

0
votes
1 answers

How to count page-viewed number

sanjib
226

I have this code in my Global.asax file [code] void Application_Start(object sender, EventArgs e) { // Code that runs on application startup Application.Add("clickCount", 0); }[/code] I have code ...

0
votes
0 answers

Scheduled Task in ASP.NET?

sanjib
226

Scheduled Task in ASP.NET? IS it possible? I got few codes from [url]http://blog.apterainc.com/software/d...net-cron-jobs/ [/url] I want to understand few things: [b]First Code:[/b] [code]Sub Application_Start(ByVal sender As Obje ...

1
votes
8 answers

How to get GridView Column value in LAbel.Text

sanjib
226

I have an objectDataSource that is bound to an XML file in which data is inserted through a DetailsView. Now each time I insert data a GridView shows the update. In the XML datasource I have an Item called First_Name. With each Page_Load I ...

0
votes
0 answers

What is the difference between web site and web project in ASP.NET?

sanjib
226

I asked this question, as I tried to save Profile property of an user in a web project application and failed. But the project failed. The same procedure succeeded in web site application. Any clue, why it happened?

0
votes
1 answers

Tracing in asp.net

sanjib
226

What is the role of tracing in real world of internet? There are lot of theories about using it in asp.net. I want to know, whether it is required in the real world of web develpment and if it is required, what purpose it serves?

0
votes
3 answers

Moving ListBox Items

sanjib
226

Can I move items of one ListBox to another by a single command? Is there any property of ListBox that I may use in a loop?

Feedback