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
0 answers

Difference Between Development Code vs. Production

I'm currently using Visual Studios 2008, designing a C# web site. My company hired consultants which their contract ended. I need to determine what is different between my production environments vs. development. Can Visual Source Safe help ...

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 ...

1
votes
1 answers

using library in ASP.NET

Hi everyone, I have a pretty complex code for Cryptographic operations. It is a collection of around 20 individual C# code working together as a Windows Application. There are many classes, interacting with each other to produce the req ...

0
votes
0 answers

Controling TreeView Control

sanjib
226

I have two questions all regarding TreeView Control. 1> We usually know that TreeView can be bound to XML, tabular or relational data but is it more useful with the XML file? In fact when I try to bind it with data, it directs to ei ...

Feedback